mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
6939c74a85
This patch adds several new prefs to control what happens with OffscreenCanvas. gfx.offscreencanvas.enabled works as it did before. - gfx.offscreencanvas.domain-enabled: Enables OffscreenCanvas for domains on the allowlist. - gfx.offscreencanvas.domain-allowlist: Comma separated allowlist which controls which domains can access the OffscreenCanvas constructor and HTMLCanvasElement.transferControlToOffscreen. - dom.workers.requestAnimation: Controls whether or not request/cancelAnimationFrame are accessible from dedicated workers. Ideally this would have used the same decision process as OffscreenCanvas but there were unrelated build/runtime issues around using a Func directive with DedicatedWorkerGlobalScope. Differential Revision: https://phabricator.services.mozilla.com/D135928 |
||
---|---|---|
.. | ||
gfxConfig.cpp | ||
gfxConfig.h | ||
gfxConfigManager.cpp | ||
gfxConfigManager.h | ||
gfxFallback.h | ||
gfxFeature.cpp | ||
gfxFeature.h | ||
gfxVarReceiver.h | ||
gfxVars.cpp | ||
gfxVars.h | ||
moz.build |