зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1160190. Remove most of the pref annotations in test_interfaces and test_worker_interfaces. r=jst
This commit is contained in:
Родитель
e3bea477c0
Коммит
eb10b36db2
|
@ -33,8 +33,11 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=766694
|
|||
// [
|
||||
// "AGlobalInterface",
|
||||
// {name: "ExperimentalThing", release: false},
|
||||
// {name: "OptionalThing", pref: "some.thing.enabled"},
|
||||
// {name: "ReallyExperimentalThing", nightly: true},
|
||||
// {name: "DesktopOnlyThing", desktop: true},
|
||||
// {name: "NonB2gOnlyThing", b2g: false},
|
||||
// {name: "FancyControl", xbl: true},
|
||||
// {name: "DisabledEverywhere", disabled: true},
|
||||
// ];
|
||||
//
|
||||
// See createInterfaceMap() below for a complete list of properties.
|
||||
|
@ -124,9 +127,9 @@ var legacyMozPrefixedInterfaces =
|
|||
var interfaceNamesInGlobalScope =
|
||||
[
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozAbortablePromise", pref: "dom.abortablepromise.enabled"},
|
||||
{name: "MozAbortablePromise", disabled: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "AlarmsManager", pref: "dom.mozAlarms.enabled"},
|
||||
{name: "AlarmsManager", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"AnalyserNode",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -161,15 +164,14 @@ var interfaceNamesInGlobalScope =
|
|||
"AudioProcessingEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"AudioStreamTrack",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "AVInputPort", b2g: true, pref: "dom.inputport.enabled", permission: ["inputport"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "AVInputPort", b2g: true, permission: ["inputport"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"BarProp",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"BatteryManager",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "BeforeAfterKeyboardEvent", b2g: true,
|
||||
pref: "dom.beforeAfterKeyboardEvent.enabled",
|
||||
permission: ["embed-apps", "before-after-keyboard-event"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"BeforeUnloadEvent",
|
||||
|
@ -195,15 +197,15 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "BoxObject", xbl: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "BroadcastChannel", pref: "dom.broadcastChannel.enabled"},
|
||||
"BroadcastChannel",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "Cache", pref: "dom.caches.enabled"},
|
||||
{name: "Cache", release: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "CacheStorage", pref: "dom.caches.enabled"},
|
||||
{name: "CacheStorage", release: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "CallEvent", b2g: true, pref: "dom.telephony.enabled"},
|
||||
{name: "CallEvent", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "CallGroupErrorEvent", b2g: true, pref: "dom.telephony.enabled"},
|
||||
{name: "CallGroupErrorEvent", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "CameraCapabilities", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -213,9 +215,9 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "CameraControl", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "CameraDetectedFace", b2g: true, pref: "camera.control.face_detection.enabled"},
|
||||
{name: "CameraDetectedFace", b2g: true, permission: ["camera"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "CameraFacesDetectedEvent", b2g: true, pref: "camera.control.face_detection.enabled"},
|
||||
{name: "CameraFacesDetectedEvent", b2g: true, permission: ["camera"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "CameraManager", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -239,7 +241,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"CDATASection",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "CFStateChangeEvent", b2g: true, pref: "dom.mobileconnection.enabled"},
|
||||
{name: "CFStateChangeEvent", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"ChannelMergerNode",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -275,7 +277,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"CSSCounterStyleRule",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "CSSFontFaceLoadEvent", pref: "layout.css.font-loading-api.enabled"},
|
||||
{name: "CSSFontFaceLoadEvent", release: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"CSSFontFaceRule",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -315,7 +317,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"DataChannel",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "DataErrorEvent", b2g: true, pref: "dom.mobileconnection.enabled"},
|
||||
{name: "DataErrorEvent", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "DataStore", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -339,13 +341,13 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"DeviceProximityEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "DeviceStorageAreaChangedEvent", pref: "device.storage.enabled" },
|
||||
{ name: "DeviceStorageAreaChangedEvent", desktop: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "DeviceStorage", pref: "device.storage.enabled" },
|
||||
{ name: "DeviceStorage", desktop: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "DeviceStorageChangeEvent", pref: "device.storage.enabled" },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "DisplayPortInputPort", b2g: true, pref: "dom.inputport.enabled", permission: ["inputport"]},
|
||||
{ name: "DeviceStorageChangeEvent", desktop: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "DisplayPortInputPort", b2g: true, permission: ["inputport"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Document",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -423,9 +425,9 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"FormData",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "FontFace", pref: "layout.css.font-loading-api.enabled"},
|
||||
{name: "FontFace", release: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "FontFaceSet", pref: "layout.css.font-loading-api.enabled"},
|
||||
{name: "FontFaceSet", release: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"GainNode",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -444,10 +446,10 @@ var interfaceNamesInGlobalScope =
|
|||
"Headers",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"History",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "HDMIInputPort", b2g: true, pref: "dom.inputport.enabled", permission: ["inputport"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "HMDVRDevice", pref: "dom.vr.enabled"},
|
||||
{name: "HDMIInputPort", b2g: true, permission: ["inputport"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "HMDVRDevice", disabled: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"HTMLAllCollection",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -555,7 +557,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"HTMLPreElement",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "HTMLPictureElement", pref: "dom.image.picture.enabled"},
|
||||
"HTMLPictureElement",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"HTMLProgressElement",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -633,17 +635,17 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Image",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "ImageCapture", pref: "dom.imagecapture.enabled"},
|
||||
{name: "ImageCapture", disabled: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "ImageCaptureErrorEvent", pref: "dom.imagecapture.enabled"},
|
||||
{name: "ImageCaptureErrorEvent", disabled: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"ImageData",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"InputEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "InputPort", b2g: true, pref: "dom.inputport.enabled", permission: ["inputport"]},
|
||||
{name: "InputPort", b2g: true, permission: ["inputport"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "InputPortManager", b2g: true, pref: "dom.inputport.enabled", permission: ["inputport"]},
|
||||
{name: "InputPortManager", b2g: true, permission: ["inputport"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "InstallTrigger", b2g: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -693,9 +695,9 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"MediaStreamAudioSourceNode",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MediaStreamEvent", pref: "media.peerconnection.enabled"},
|
||||
"MediaStreamEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MediaStreamTrackEvent", pref: "media.peerconnection.enabled"},
|
||||
"MediaStreamTrackEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"MediaStreamTrack",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -715,7 +717,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozActivity", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozClirModeEvent", b2g: true, pref: "dom.mobileconnection.enabled"},
|
||||
{name: "MozClirModeEvent", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"mozContact",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -725,7 +727,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"MozCSSKeyframesRule",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozEmergencyCbModeEvent", b2g: true, pref: "dom.mobileconnection.enabled"},
|
||||
{name: "MozEmergencyCbModeEvent", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozInputContext", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -733,29 +735,29 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"MozMmsMessage",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozMobileCellInfo", b2g: true, pref: "dom.mobileconnection.enabled"},
|
||||
{name: "MozMobileCellInfo", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozMobileConnection", b2g: true, pref: "dom.mobileconnection.enabled"},
|
||||
{name: "MozMobileConnection", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozMobileConnectionArray", b2g: true, pref: "dom.mobileconnection.enabled"},
|
||||
{name: "MozMobileConnectionArray", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozMobileConnectionInfo", b2g: true, pref: "dom.mobileconnection.enabled"},
|
||||
{name: "MozMobileConnectionInfo", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozMobileNetworkInfo", b2g: true, pref: "dom.mobileconnection.enabled"},
|
||||
{name: "MozMobileNetworkInfo", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"MozMobileMessageThread",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozNDEFRecord", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozOtaStatusEvent", b2g: true, pref: "dom.mobileconnection.enabled"},
|
||||
{name: "MozOtaStatusEvent", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"MozPowerManager",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "mozRTCIceCandidate", pref: "media.peerconnection.enabled"},
|
||||
"mozRTCIceCandidate",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "mozRTCPeerConnection", pref: "media.peerconnection.enabled"},
|
||||
"mozRTCPeerConnection",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "mozRTCSessionDescription", pref: "media.peerconnection.enabled"},
|
||||
"mozRTCSessionDescription",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"MozSettingsEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -767,7 +769,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozTimeManager", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozWakeLock", b2g: true, pref: "dom.wakelock.enabled"},
|
||||
{name: "MozWakeLock", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozWifiCapabilities", b2g: true, permission: ["wifi-manage"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -797,7 +799,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Navigator",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "NetworkInformation", pref: "dom.netinfo.enabled"},
|
||||
{name: "NetworkInformation", desktop: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Node",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -829,7 +831,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"PannerNode",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "Path2D", pref: "canvas.path.enabled" },
|
||||
"Path2D",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Performance",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -855,7 +857,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"PluginArray",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "PointerEvent", pref: "dom.w3c_pointer_events.enabled"},
|
||||
{name: "PointerEvent", disabled: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"PopStateEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -863,10 +865,10 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "PopupBoxObject", xbl: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "PositionSensorVRDevice", pref: "dom.vr.enabled"},
|
||||
{name: "PositionSensorVRDevice", disabled: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "PresentationDeviceInfoManager",
|
||||
pref: "dom.presentation.enabled",
|
||||
disabled: true,
|
||||
permission: ["presentation-device-manage"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"ProcessingInstruction",
|
||||
|
@ -877,7 +879,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"PropertyNodeList",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "PushManager", pref: "dom.push.enabled"},
|
||||
{name: "PushManager", b2g: false, android: false, release: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"RadioNodeList",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -893,15 +895,15 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"RGBColor",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "RTCDataChannelEvent", pref: "media.peerconnection.enabled"},
|
||||
"RTCDataChannelEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "RTCPeerConnectionIceEvent", pref: "media.peerconnection.enabled"},
|
||||
"RTCPeerConnectionIceEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "RTCRtpReceiver", pref: "media.peerconnection.enabled"},
|
||||
"RTCRtpReceiver",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "RTCRtpSender", pref: "media.peerconnection.enabled"},
|
||||
"RTCRtpSender",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "RTCStatsReport", pref: "media.peerconnection.enabled"},
|
||||
"RTCStatsReport",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Screen",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -911,11 +913,11 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Selection",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "ServiceWorker", pref: "dom.serviceWorkers.enabled"},
|
||||
{name: "ServiceWorker", nightly: true, b2g: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "ServiceWorkerContainer", pref: "dom.serviceWorkers.enabled"},
|
||||
{name: "ServiceWorkerContainer", nightly: true, b2g: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "ServiceWorkerRegistration", pref: "dom.serviceWorkers.enabled"},
|
||||
{name: "ServiceWorkerRegistration", nightly: true, b2g: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"SettingsLock",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -923,7 +925,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "ShadowRoot", pref: "dom.webcomponents.enabled"},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "SharedWorker", pref: "dom.workers.sharedWorkers.enabled"},
|
||||
"SharedWorker",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"SimpleGestureEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -1197,19 +1199,19 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"SVGZoomEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "RequestSyncManager", b2g: true, pref: "dom.requestSync.enabled", permission: ["requestsync-manager"] },
|
||||
{name: "RequestSyncManager", b2g: true, permission: ["requestsync-manager"] },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "RequestSyncApp", b2g: true, pref: "dom.requestSync.enabled", permission: ["requestsync-manager"] },
|
||||
{name: "RequestSyncApp", b2g: true, permission: ["requestsync-manager"] },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "RequestSyncTask", b2g: true, pref: "dom.requestSync.enabled", permission: ["requestsync-manager"] },
|
||||
{name: "RequestSyncTask", b2g: true, permission: ["requestsync-manager"] },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "Telephony", b2g: true, pref: "dom.telephony.enabled"},
|
||||
{name: "Telephony", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "TelephonyCall", b2g: true, pref: "dom.telephony.enabled"},
|
||||
{name: "TelephonyCall", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "TelephonyCallGroup", b2g: true, pref: "dom.telephony.enabled"},
|
||||
{name: "TelephonyCallGroup", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "TelephonyCallId", b2g: true, pref: "dom.telephony.enabled"},
|
||||
{name: "TelephonyCallId", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Text",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -1249,33 +1251,27 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"TreeWalker",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "TVChannel", b2g: true, pref: "dom.tv.enabled", permission: "tv"},
|
||||
{name: "TVChannel", b2g: true, permission: "tv"},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "TVCurrentChannelChangedEvent", b2g: true, pref: "dom.tv.enabled",
|
||||
permission: "tv"},
|
||||
{name: "TVCurrentChannelChangedEvent", b2g: true, permission: "tv"},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "TVCurrentSourceChangedEvent", b2g: true, pref: "dom.tv.enabled",
|
||||
permission: "tv"},
|
||||
{name: "TVCurrentSourceChangedEvent", b2g: true, permission: "tv"},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "TVEITBroadcastedEvent", b2g: true, pref: "dom.tv.enabled",
|
||||
permission: ["tv"]},
|
||||
{name: "TVEITBroadcastedEvent", b2g: true, permission: ["tv"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "TVManager", b2g: true, pref: "dom.tv.enabled", permission: ["tv"]},
|
||||
{name: "TVManager", b2g: true, permission: ["tv"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "TVProgram", b2g: true, pref: "dom.tv.enabled", permission: ["tv"]},
|
||||
{name: "TVProgram", b2g: true, permission: ["tv"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "TVScanningStateChangedEvent", b2g: true, pref: "dom.tv.enabled",
|
||||
permission: ["tv"]},
|
||||
{name: "TVScanningStateChangedEvent", b2g: true, permission: ["tv"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "TVSource", b2g: true, pref: "dom.tv.enabled", permission: ["tv"]},
|
||||
{name: "TVSource", b2g: true, permission: ["tv"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "TVTuner", b2g: true, pref: "dom.tv.enabled", permission: ["tv"]},
|
||||
{name: "TVTuner", b2g: true, permission: ["tv"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "UDPMessageEvent", pref: "dom.udpsocket.enabled",
|
||||
permission: ["udp-socket"]},
|
||||
{name: "UDPMessageEvent", b2g: true, permission: ["udp-socket"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "UDPSocket", pref: "dom.udpsocket.enabled",
|
||||
permission: ["udp-socket"]},
|
||||
{name: "UDPSocket", b2g: true, permission: ["udp-socket"]},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"UIEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -1293,17 +1289,17 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"VideoStreamTrack",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "VRDevice", pref: "dom.vr.enabled"},
|
||||
{name: "VRDevice", disabled: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "VRPositionState", pref: "dom.vr.enabled"},
|
||||
{name: "VRPositionState", disabled: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "VRFieldOfView", pref: "dom.vr.enabled"},
|
||||
{name: "VRFieldOfView", disabled: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "VRFieldOfViewReadOnly", pref: "dom.vr.enabled"},
|
||||
{name: "VRFieldOfViewReadOnly", disabled: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"VTTCue",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "VTTRegion", pref: "media.webvtt.regions.enabled"},
|
||||
{name: "VTTRegion", disabled: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"WaveShaperNode",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -1420,7 +1416,8 @@ function createInterfaceMap(isXBLScope) {
|
|||
(entry.android === !isAndroid) ||
|
||||
(entry.release === !isRelease) ||
|
||||
(entry.pref && !prefs.getBoolPref(entry.pref)) ||
|
||||
(entry.permission && !hasPermission(entry.permission))) {
|
||||
(entry.permission && !hasPermission(entry.permission)) ||
|
||||
entry.disabled) {
|
||||
interfaceMap[entry.name] = false;
|
||||
} else {
|
||||
interfaceMap[entry.name] = true;
|
||||
|
|
|
@ -10,8 +10,12 @@
|
|||
//
|
||||
// [
|
||||
// "AGlobalInterface",
|
||||
// {name: "ExperimentalThing", release: false},
|
||||
// {name: "OptionalThing", pref: "some.thing.enabled"},
|
||||
// { name: "ExperimentalThing", release: false },
|
||||
// { name: "ReallyExperimentalThing", nightly: true },
|
||||
// { name: "DesktopOnlyThing", desktop: true },
|
||||
// { name: "NonB2gOnlyThing", b2g: false },
|
||||
// { name: "FancyControl", xbl: true },
|
||||
// { name: "DisabledEverywhere", disabled: true },
|
||||
// ];
|
||||
//
|
||||
// See createInterfaceMap() below for a complete list of properties.
|
||||
|
@ -85,11 +89,11 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Blob",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "BroadcastChannel", pref: "dom.broadcastChannel.enabled" },
|
||||
"BroadcastChannel",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "Cache", pref: "dom.caches.enabled" },
|
||||
{ name: "Cache", release: false },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "CacheStorage", pref: "dom.caches.enabled" },
|
||||
{ name: "CacheStorage", release: false },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Client",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -175,7 +179,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"URLSearchParams",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "WebSocket", pref: "dom.workers.websocket.enabled" },
|
||||
"WebSocket",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"WindowClient",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
|
|
@ -10,8 +10,12 @@
|
|||
//
|
||||
// [
|
||||
// "AGlobalInterface",
|
||||
// {name: "ExperimentalThing", release: false},
|
||||
// {name: "OptionalThing", pref: "some.thing.enabled"},
|
||||
// { name: "ExperimentalThing", release: false },
|
||||
// { name: "ReallyExperimentalThing", nightly: true },
|
||||
// { name: "DesktopOnlyThing", desktop: true },
|
||||
// { name: "NonB2gOnlyThing", b2g: false },
|
||||
// { name: "FancyControl", xbl: true },
|
||||
// { name: "DisabledEverywhere", disabled: true },
|
||||
// ];
|
||||
//
|
||||
// See createInterfaceMap() below for a complete list of properties.
|
||||
|
@ -83,11 +87,11 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Blob",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "BroadcastChannel", pref: "dom.broadcastChannel.enabled" },
|
||||
"BroadcastChannel",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "Cache", pref: "dom.caches.enabled" },
|
||||
{ name: "Cache", release: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "CacheStorage", pref: "dom.caches.enabled" },
|
||||
{ name: "CacheStorage", release: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"DedicatedWorkerGlobalScope",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -147,7 +151,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Response",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "ServiceWorkerRegistration", pref: "dom.serviceWorkers.enabled" },
|
||||
{ name: "ServiceWorkerRegistration", nightly: true, b2g: false },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"TextDecoder",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -163,7 +167,7 @@ var interfaceNamesInGlobalScope =
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"URLSearchParams",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "WebSocket", pref: "dom.workers.websocket.enabled" },
|
||||
"WebSocket",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Worker",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -195,7 +199,8 @@ function createInterfaceMap(prefMap, permissionMap, version, userAgent, isB2G) {
|
|||
(entry.b2g === !isB2G) ||
|
||||
(entry.release === !isRelease) ||
|
||||
(entry.pref && !prefMap[entry.pref]) ||
|
||||
(entry.permission && !permissionMap[entry.permission])) {
|
||||
(entry.permission && !permissionMap[entry.permission]) ||
|
||||
entry.disabled) {
|
||||
interfaceMap[entry.name] = false;
|
||||
} else {
|
||||
interfaceMap[entry.name] = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче