Bug 1145336: Test updates. r=jwwang
authorStephen Pohl <spohl.mozilla.bugs@gmail.com>
Sun, 22 Mar 2015 23:12:07 -0400
changeset 251183 181e52c05fe0e8b1f057a999a367d9db36803036
parent 251182 a23240479b9b1fb428def556bcedf7045b31da68
child 251184 017d9b8dc6330863b42e15a1f2fe588d56493593
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-esr52@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwwang
bugs1145336
milestone39.0a1
Bug 1145336: Test updates. r=jwwang
toolkit/mozapps/extensions/test/xpcshell/test_gmpProvider.js
--- a/toolkit/mozapps/extensions/test/xpcshell/test_gmpProvider.js
+++ b/toolkit/mozapps/extensions/test/xpcshell/test_gmpProvider.js
@@ -226,16 +226,17 @@ add_task(function* test_pluginRegistrati
 
     let addedPaths = [];
     let removedPaths = [];
     let clearPaths = () => { addedPaths = []; removedPaths = []; }
 
     let MockGMPService = {
       addPluginDirectory: path => addedPaths.push(path),
       removePluginDirectory: path => removedPaths.push(path),
+      removeAndDeletePluginDirectory: path => removedPaths.push(path),
     };
 
     GMPScope.gmpService = MockGMPService;
     gPrefs.setBoolPref(gGetKey(GMPScope.GMPPrefs.KEY_PLUGIN_ENABLED, addon.id), true);
 
     // Check that the plugin gets registered after startup.
     gPrefs.setCharPref(gGetKey(GMPScope.GMPPrefs.KEY_PLUGIN_VERSION, addon.id),
                       TEST_VERSION);