зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1613909 - Enable SharedArrayBuffer and wasm for broadcastChannel tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62612 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
635f568eec
Коммит
86fbe8d9d8
|
@ -1,4 +1,10 @@
|
|||
[DEFAULT]
|
||||
prefs =
|
||||
dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled=true
|
||||
browser.tabs.remote.useCrossOriginOpenerPolicy=true
|
||||
browser.tabs.remote.useCrossOriginEmbedderPolicy=true
|
||||
dom.postMessage.sharedArrayBuffer.withCOOP_COEP=true
|
||||
javascript.options.shared_memory=true
|
||||
support-files =
|
||||
iframe_broadcastchannel.html
|
||||
broadcastchannel_sharedWorker.js
|
||||
|
|
|
@ -47,17 +47,6 @@ function create_wasmModule() {
|
|||
});
|
||||
}
|
||||
|
||||
function enable_sab() {
|
||||
SpecialPowers.pushPrefEnv(
|
||||
{"set": [
|
||||
["dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled", true],
|
||||
["browser.tabs.remote.useCrossOriginOpenerPolicy", true],
|
||||
["browser.tabs.remote.useCrossOriginEmbedderPolicy", true],
|
||||
["dom.postMessage.sharedArrayBuffer.withCOOP_COEP", true],
|
||||
["javascript.options.shared_memory", true],
|
||||
]}, next);
|
||||
}
|
||||
|
||||
function test_wasm() {
|
||||
info("BroadcastChannel + WASM");
|
||||
|
||||
|
@ -139,7 +128,6 @@ function test_sab_worker() {
|
|||
}
|
||||
|
||||
const tests = [
|
||||
enable_sab,
|
||||
create_wasmModule,
|
||||
|
||||
test_wasm,
|
||||
|
|
Загрузка…
Ссылка в новой задаче