зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1602757: disable process caching/preallocation while testing browser_resource_uri r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D76534
This commit is contained in:
Родитель
202278680d
Коммит
793c7e1cdd
|
@ -24,9 +24,17 @@ L10nRegistry.registerSource(mockSource);
|
|||
registerCleanupFunction(() => {
|
||||
protocol.setSubstitution("l10n-test", null);
|
||||
L10nRegistry.removeSource("test");
|
||||
SpecialPowers.pushPrefEnv({
|
||||
set: [["dom.ipc.processPrelaunch.enabled", true]],
|
||||
});
|
||||
});
|
||||
|
||||
add_task(async () => {
|
||||
// Bug 1640333 - windows fails (sometimes) to ever get document.l10n.ready
|
||||
// if e10s process caching is enabled
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["dom.ipc.processPrelaunch.enabled", false]],
|
||||
});
|
||||
await BrowserTestUtils.withNewTab(
|
||||
"resource://l10n-test/test.html",
|
||||
async browser => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче