Bug 1853552 - Remove dom.visualviewport.enabled pref r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D188426
This commit is contained in:
Gregory Pappas 2023-09-18 13:54:15 +00:00
parent 5ad282e03c
commit 2da15c7444
3 changed files with 2 additions and 9 deletions

View File

@ -7,8 +7,7 @@
* https://wicg.github.io/visual-viewport/#the-visualviewport-interface
*/
[Pref="dom.visualviewport.enabled",
Exposed=Window]
[Exposed=Window]
interface VisualViewport : EventTarget {
readonly attribute double offsetLeft;
readonly attribute double offsetTop;

View File

@ -794,7 +794,7 @@ partial interface Window {
};
partial interface Window {
[SameObject, Pref="dom.visualviewport.enabled", Replaceable]
[SameObject, Replaceable]
readonly attribute VisualViewport visualViewport;
};

View File

@ -4251,12 +4251,6 @@
value: 128
mirror: always
# Is support for Window.visualViewport enabled?
- name: dom.visualviewport.enabled
type: bool
value: true
mirror: always
# Is support for WebVR APIs enabled?
# Disabled everywhere, but not removed.
- name: dom.vr.enabled