mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
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
This commit is contained in:
parent
41ad5496ae
commit
82205cf721
7 changed files with 179 additions and 156 deletions
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue