mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
Bug 1853551 - Remove dom.workers.requestAnimationFrame pref r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D188416
This commit is contained in:
parent
9b9fd455e0
commit
728c05cf9a
@ -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],
|
||||
|
@ -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);
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -1,4 +1,3 @@
|
||||
[WorkerGlobalScope_requestAnimationFrame.tentative.worker.html]
|
||||
prefs: [dom.workers.requestAnimationFrame:true]
|
||||
expected:
|
||||
if (os == "android") and fission: [OK, TIMEOUT]
|
||||
|
Loading…
x
Reference in New Issue
Block a user