mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 06:38:36 +00:00
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:
parent
202278680d
commit
793c7e1cdd
@ -24,9 +24,17 @@ L10nRegistry.registerSource(mockSource);
|
|||||||
registerCleanupFunction(() => {
|
registerCleanupFunction(() => {
|
||||||
protocol.setSubstitution("l10n-test", null);
|
protocol.setSubstitution("l10n-test", null);
|
||||||
L10nRegistry.removeSource("test");
|
L10nRegistry.removeSource("test");
|
||||||
|
SpecialPowers.pushPrefEnv({
|
||||||
|
set: [["dom.ipc.processPrelaunch.enabled", true]],
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
add_task(async () => {
|
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(
|
await BrowserTestUtils.withNewTab(
|
||||||
"resource://l10n-test/test.html",
|
"resource://l10n-test/test.html",
|
||||||
async browser => {
|
async browser => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user