зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1751721 - Add Zoom to the OffscreenCanvas domain allowlist and turn it on for users. r=gfx-reviewers,lsalzman,jgilbert
This will allow users to use gallery view with the web client for Zoom in Firefox. Differential Revision: https://phabricator.services.mozilla.com/D136836
This commit is contained in:
Родитель
6f1148ff06
Коммит
7b655cecb8
|
@ -936,7 +936,7 @@ void gfxPlatform::Init() {
|
|||
|
||||
if (XRE_IsParentProcess()) {
|
||||
nsAutoCString allowlist;
|
||||
Preferences::GetCString("gfx.offscreencavas.domain-allowlist", allowlist);
|
||||
Preferences::GetCString("gfx.offscreencanvas.domain-allowlist", allowlist);
|
||||
gfxVars::SetOffscreenCanvasDomainAllowlist(allowlist);
|
||||
}
|
||||
|
||||
|
|
|
@ -3465,7 +3465,7 @@
|
|||
|
||||
- name: dom.workers.requestAnimationFrame
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
value: true
|
||||
mirror: always
|
||||
|
||||
- name: dom.workers.serialized-sab-access
|
||||
|
@ -5495,13 +5495,13 @@
|
|||
# Enable OffscreenCanvas based on the domain allowlist.
|
||||
- name: gfx.offscreencanvas.domain-enabled
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
value: true
|
||||
mirror: always
|
||||
|
||||
# Domains included in the allowlist.
|
||||
- name: gfx.offscreencanvas.domain-allowlist
|
||||
type: String
|
||||
value: ""
|
||||
value: "*.zoom.us"
|
||||
mirror: never
|
||||
|
||||
- name: gfx.omta.background-color
|
||||
|
|
Загрузка…
Ссылка в новой задаче