gecko-dev/dom/workers
Tom Tung 64a20094ea Bug 1562667 - P4a - Enable SAB by default on nightly; r=bzbarsky,luke
This patch mainly enables the pref for SharedArrayBuffer on Nightly.

This change causes some tests to fail. This patch handles the failures for
mochitests and web-platform-tests. The jsreftest will be handled in the next
patch.

For mochitests:
- dom/serviceworkers/test/test_serviceworker_interfaces.js
- dom/tests/mochitest/general/test_interfaces.js
- dom/workers/test/test_worker_interfaces.js

These tests check which interfaces are exposed on the web. Since we are now
exposing SharedArrayBuffer in some configurations, the tests need to be adjusted
accordingly.

For the rest of tests in this patch:
- testing/web-platform/meta/encoding/encodeInto.any.js.ini
This test partially fails because the integration of encoding and SAB is not
completely supported yet.

- testing/web-platform/meta/encoding/streams/decode-utf8.any.js.ini
This test partially fails because the integration of decoding and SAB is not
completely supported yet.

- testing/web-platform/meta/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-failure.https.any.js.ini
- testing/web-platform/meta/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-success.any.js.ini
- testing/web-platform/meta/wasm/jsapi/memory/constructor.any.js.ini
- testing/web-platform/meta/wasm/jsapi/memory/grow.any.js.ini
The subtests related to SAB in these tests now pass when SAB is enabled, so we
need to annotate them as failing only in configurations where SAB is disabled.

- testing/web-platform/meta/webaudio/the-audio-api/the-audiobuffer-interface/audiobuffer-copy-channel.html.ini
This test partially fails because there are some issues between SAB and Audio.

Differential Revision: https://phabricator.services.mozilla.com/D48838

--HG--
extra : moz-landing-system : lando
2019-11-25 16:28:06 +00:00
..
remoteworkers Bug 1575092 - don't spawn Shared/Service Workers in "web COOP+COEP" processes r=asuth 2019-11-20 20:02:23 +00:00
sharedworkers Bug 1562663 - P3 - Have agent cluster Ids for workers; r=perry,nika 2019-09-23 09:57:23 +00:00
test Bug 1562667 - P4a - Enable SAB by default on nightly; r=bzbarsky,luke 2019-11-25 16:28:06 +00:00
ChromeWorker.cpp
ChromeWorker.h
ChromeWorkerScope.cpp Bug 1588810 - Fix ctypes UnicodeToNative callback to not assume null-terminated strings. r=bzbarsky 2019-10-16 06:13:07 +00:00
ChromeWorkerScope.h
JSSettings.h Bug 1569564 - Remove the original malloc counter infrastructure r=sfink 2019-07-31 09:13:36 +00:00
MessageEventRunnable.cpp Bug 1562667 - P1 - Refine isCrossOriginIsolated check and agentcluster check for postmessage; r=nika 2019-10-30 11:01:42 +00:00
MessageEventRunnable.h
Principal.cpp Bug 1576254 - Cut WorkerPrincipal over to a real object and implement isSystemOrAddonPrincipal r=baku 2019-10-04 17:37:09 +00:00
Principal.h Bug 1576254 - Cut WorkerPrincipal over to a real object and implement isSystemOrAddonPrincipal r=baku 2019-10-04 17:37:09 +00:00
Queue.h
RegisterBindings.cpp
RuntimeService.cpp Bug 1565956 adjust IsCurrentThreadRunningChromeWorker() for worklet threads r=baku 2019-11-17 21:17:40 +00:00
RuntimeService.h
ScriptLoader.cpp Bug 1591491. Add more use of FakeString::ShareOrDependUpon. r=froydnj 2019-10-28 20:41:59 +00:00
ScriptLoader.h
Worker.cpp Bug 1591892 - Expose {window, self}.crossOriginIsolated r=bzbarsky 2019-11-15 12:25:57 +00:00
Worker.h
WorkerCSPEventListener.cpp
WorkerCSPEventListener.h
WorkerCommon.h
WorkerDebugger.cpp Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika 2019-07-26 16:48:31 +00:00
WorkerDebugger.h
WorkerDebuggerManager.cpp
WorkerDebuggerManager.h
WorkerError.cpp Bug 1231213 - Implement cross-process ServiceWorkerGlobalScope.skipWaiting(). r=asuth 2019-08-15 17:27:28 +00:00
WorkerError.h
WorkerEventTarget.cpp
WorkerEventTarget.h
WorkerLoadInfo.cpp Bug 1576254 - Cut WorkerPrincipal over to a real object and implement isSystemOrAddonPrincipal r=baku 2019-10-04 17:37:09 +00:00
WorkerLoadInfo.h Bug 1576254 - Cut WorkerPrincipal over to a real object and implement isSystemOrAddonPrincipal r=baku 2019-10-04 17:37:09 +00:00
WorkerLocation.cpp
WorkerLocation.h
WorkerNavigator.cpp Bug 1581710 - Update WebGPU IDL bindings r=jgilbert,bzbarsky 2019-10-02 16:46:03 +00:00
WorkerNavigator.h Bug 1581710 - Update WebGPU IDL bindings r=jgilbert,bzbarsky 2019-10-02 16:46:03 +00:00
WorkerPrivate.cpp Bug 1591892 - Expose {window, self}.crossOriginIsolated r=bzbarsky 2019-11-15 12:25:57 +00:00
WorkerPrivate.h Bug 1591892 - Expose {window, self}.crossOriginIsolated r=bzbarsky 2019-11-15 12:25:57 +00:00
WorkerRef.cpp
WorkerRef.h
WorkerRunnable.cpp Bug 1575204. Fix crash when trying to run worker runnables on a not-ready-for-it worker thread. r=baku 2019-08-29 07:40:58 +00:00
WorkerRunnable.h
WorkerScope.cpp Bug 1468789 - Part 1: Add window id inside realm creation options. r=jandem,bzbarsky 2019-11-14 12:26:25 +00:00
WorkerScope.h Bug 1468789 - Part 1: Add window id inside realm creation options. r=jandem,bzbarsky 2019-11-14 12:26:25 +00:00
WorkerStatus.h
WorkerThread.cpp
WorkerThread.h
moz.build Bug 1231213 - Implement cross-process ServiceWorkerGlobalScope.skipWaiting(). r=asuth 2019-08-15 17:27:28 +00:00
nsIWorkerDebugger.idl
nsIWorkerDebuggerManager.idl