diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-24 19:23:04 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-24 19:23:04 +0200 |
commit | 846bbb9930e6588516a28f58b2f80c2b04e1b372 (patch) | |
tree | ac06dde167b320f52677d5f1416981e9f88d21f0 /toolkit/forgetaboutsite/test/browser | |
parent | bccb9c1708f007ada1ea8c4879db88a587f0a450 (diff) | |
download | UXP-846bbb9930e6588516a28f58b2f80c2b04e1b372.tar UXP-846bbb9930e6588516a28f58b2f80c2b04e1b372.tar.gz UXP-846bbb9930e6588516a28f58b2f80c2b04e1b372.tar.lz UXP-846bbb9930e6588516a28f58b2f80c2b04e1b372.tar.xz UXP-846bbb9930e6588516a28f58b2f80c2b04e1b372.zip |
moebius#30 and #37: ForgetAboutSite.jsm - promise - serialize vs. parallel + a comment
https://github.com/MoonchildProductions/moebius/pull/30
https://github.com/MoonchildProductions/moebius/pull/37
Diffstat (limited to 'toolkit/forgetaboutsite/test/browser')
-rw-r--r-- | toolkit/forgetaboutsite/test/browser/browser_clearplugindata.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/toolkit/forgetaboutsite/test/browser/browser_clearplugindata.js b/toolkit/forgetaboutsite/test/browser/browser_clearplugindata.js index ec0a70228..ca0d394c3 100644 --- a/toolkit/forgetaboutsite/test/browser/browser_clearplugindata.js +++ b/toolkit/forgetaboutsite/test/browser/browser_clearplugindata.js @@ -37,7 +37,7 @@ function setTestPluginEnabledState(newEnabledState, plugin) { }); } -add_task(function* setup() { +add_task(function* () { var tags = pluginHost.getPluginTags(); // Find the test plugin @@ -50,12 +50,9 @@ add_task(function* setup() { } if (!pluginTag) { ok(false, "Test Plug-in not available, can't run test"); - finish(); + return; } setTestPluginEnabledState(Ci.nsIPluginTag.STATE_ENABLED, pluginTag); -}); - -add_task(function* () { yield BrowserTestUtils.openNewForegroundTab(gBrowser, testURL); // Set data for the plugin after the page load. @@ -87,5 +84,3 @@ add_task(function* () { gBrowser.removeCurrentTab(); }); - - |