зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset ef1550969466 (bug 1357487) caused perf regressions & author didn't justified them CLOSED TREE
This commit is contained in:
Родитель
09b1f30422
Коммит
2805a16972
|
@ -70,7 +70,10 @@ pref("extensions.geckoProfiler.getSymbolRules", "localBreakpad,dump_syms.exe");
|
|||
pref("extensions.webextensions.base-content-security-policy", "script-src 'self' https://* moz-extension: blob: filesystem: 'unsafe-eval' 'unsafe-inline'; object-src 'self' https://* moz-extension: blob: filesystem:;");
|
||||
pref("extensions.webextensions.default-content-security-policy", "script-src 'self'; object-src 'self';");
|
||||
|
||||
#if defined(XP_WIN) || defined(XP_MACOSX)
|
||||
pref("extensions.webextensions.remote", true);
|
||||
#endif
|
||||
|
||||
pref("extensions.webextensions.background-delayed-startup", true);
|
||||
|
||||
// Extensions that should not be flagged as legacy in about:addons
|
||||
|
|
|
@ -202,12 +202,10 @@ add_task(async function testBrowserActionTabPopulation() {
|
|||
let widget = getBrowserActionWidget(extension).forWindow(win);
|
||||
EventUtils.synthesizeMouseAtCenter(widget.node, {type: "mousedown", button: 0}, win);
|
||||
|
||||
await new Promise(resolve => setTimeout(resolve, 100));
|
||||
await extension.awaitMessage("tabTitle");
|
||||
|
||||
EventUtils.synthesizeMouseAtCenter(widget.node, {type: "mouseup", button: 0}, win);
|
||||
|
||||
await extension.awaitMessage("tabTitle");
|
||||
|
||||
await extension.unload();
|
||||
await BrowserTestUtils.closeWindow(win);
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче