diff --git a/dom/canvas/test/webgl-conf/mochi-single.html b/dom/canvas/test/webgl-conf/mochi-single.html index 894bdd7147e4..c909c144f942 100644 --- a/dom/canvas/test/webgl-conf/mochi-single.html +++ b/dom/canvas/test/webgl-conf/mochi-single.html @@ -68,7 +68,6 @@ function runTest() { } SpecialPowers.pushPrefEnv({"set": [ - ['dom.workers.requestAnimationFrame', true], ['gfx.offscreencanvas.enabled', true], ['webgl.force-enabled', true], ['webgl.enable-draft-extensions', true], diff --git a/dom/webidl/DedicatedWorkerGlobalScope.webidl b/dom/webidl/DedicatedWorkerGlobalScope.webidl index 68c2c0fc640d..4b6b99a87e30 100644 --- a/dom/webidl/DedicatedWorkerGlobalScope.webidl +++ b/dom/webidl/DedicatedWorkerGlobalScope.webidl @@ -31,10 +31,10 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope { // https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#animation-frames // Ideally we would just include AnimationFrameProvider to add the interface, // but we cannot make an include conditional. - [Pref="dom.workers.requestAnimationFrame", Throws] + [Throws] long requestAnimationFrame(FrameRequestCallback callback); - [Pref="dom.workers.requestAnimationFrame", Throws] + [Throws] undefined cancelAnimationFrame(long handle); }; diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml index a10f6aa1e3ee..85a754e03d69 100644 --- a/modules/libpref/init/StaticPrefList.yaml +++ b/modules/libpref/init/StaticPrefList.yaml @@ -3910,11 +3910,6 @@ value: true mirror: always -- name: dom.workers.requestAnimationFrame - type: RelaxedAtomicBool - value: true - mirror: always - - name: dom.workers.serialized-sab-access type: RelaxedAtomicBool value: false diff --git a/testing/profiles/reftest/user.js b/testing/profiles/reftest/user.js index 665fef8607b9..a5071fdf4549 100644 --- a/testing/profiles/reftest/user.js +++ b/testing/profiles/reftest/user.js @@ -104,4 +104,3 @@ user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); user_pref("layout.css.prefers-color-scheme.content-override", 1); // Force OffscreenCanvas support user_pref("gfx.offscreencanvas.enabled", true); -user_pref("dom.workers.requestAnimationFrame", true); diff --git a/testing/profiles/web-platform/user.js b/testing/profiles/web-platform/user.js index ca91b38393c7..f97cf99e9a9b 100644 --- a/testing/profiles/web-platform/user.js +++ b/testing/profiles/web-platform/user.js @@ -72,7 +72,6 @@ user_pref("media.block-autoplay-until-in-foreground", false); user_pref("layout.css.prefers-color-scheme.content-override", 1); // Force OffscreenCanvas support user_pref("gfx.offscreencanvas.enabled", true); -user_pref("dom.workers.requestAnimationFrame", true); // A lot of tests use the Reporting API for observing things user_pref("dom.reporting.enabled", true); user_pref("layout.css.font-loading-api.workers.enabled", true); diff --git a/testing/web-platform/meta/workers/WorkerGlobalScope_requestAnimationFrame.tentative.worker.js.ini b/testing/web-platform/meta/workers/WorkerGlobalScope_requestAnimationFrame.tentative.worker.js.ini index 8e509f4fca1f..e70547876cee 100644 --- a/testing/web-platform/meta/workers/WorkerGlobalScope_requestAnimationFrame.tentative.worker.js.ini +++ b/testing/web-platform/meta/workers/WorkerGlobalScope_requestAnimationFrame.tentative.worker.js.ini @@ -1,4 +1,3 @@ [WorkerGlobalScope_requestAnimationFrame.tentative.worker.html] - prefs: [dom.workers.requestAnimationFrame:true] expected: if (os == "android") and fission: [OK, TIMEOUT]