Bug 1442931: Part 2 - Move internal WebIDL interfaces to separate directory. draft
authorKris Maglione <maglione.k@gmail.com>
Sun, 04 Mar 2018 16:37:10 -0800
changeset 763023 56cf7b0aa798ad86644b20cdd03a2626cb1fc11e
parent 763012 8c3277141bdc4c6645c27ec195d6177ab5813bc5
push id101310
push usermaglione.k@gmail.com
push dateMon, 05 Mar 2018 01:04:50 +0000
bugs1442931
milestone60.0a1
Bug 1442931: Part 2 - Move internal WebIDL interfaces to separate directory. This change moves several chrome-only WebIDL files to a separate chrome-only directory. There are several other chrome-only interfaces which are heavily tied to DOM code. Since those should probably still require DOM peer review for changes, I left them where they were. MozReview-Commit-ID: K3NsNtfntV6
dom/chrome-webidl/ChannelWrapper.webidl
dom/chrome-webidl/ChromeUtils.webidl
dom/chrome-webidl/DominatorTree.webidl
dom/chrome-webidl/HeapSnapshot.webidl
dom/chrome-webidl/InspectorUtils.webidl
dom/chrome-webidl/MatchGlob.webidl
dom/chrome-webidl/MatchPattern.webidl
dom/chrome-webidl/MozStorageAsyncStatementParams.webidl
dom/chrome-webidl/MozStorageStatementParams.webidl
dom/chrome-webidl/MozStorageStatementRow.webidl
dom/chrome-webidl/PrecompiledScript.webidl
dom/chrome-webidl/PromiseDebugging.webidl
dom/chrome-webidl/StructuredCloneHolder.webidl
dom/chrome-webidl/WebExtensionContentScript.webidl
dom/chrome-webidl/WebExtensionPolicy.webidl
dom/chrome-webidl/moz.build
dom/moz.build
dom/webidl/ChannelWrapper.webidl
dom/webidl/ChromeUtils.webidl
dom/webidl/DominatorTree.webidl
dom/webidl/HeapSnapshot.webidl
dom/webidl/InspectorUtils.webidl
dom/webidl/MatchGlob.webidl
dom/webidl/MatchPattern.webidl
dom/webidl/MozStorageAsyncStatementParams.webidl
dom/webidl/MozStorageStatementParams.webidl
dom/webidl/MozStorageStatementRow.webidl
dom/webidl/PrecompiledScript.webidl
dom/webidl/PromiseDebugging.webidl
dom/webidl/StructuredCloneHolder.webidl
dom/webidl/WebExtensionContentScript.webidl
dom/webidl/WebExtensionPolicy.webidl
dom/webidl/moz.build
rename from dom/webidl/ChannelWrapper.webidl
rename to dom/chrome-webidl/ChannelWrapper.webidl
rename from dom/webidl/ChromeUtils.webidl
rename to dom/chrome-webidl/ChromeUtils.webidl
rename from dom/webidl/DominatorTree.webidl
rename to dom/chrome-webidl/DominatorTree.webidl
rename from dom/webidl/HeapSnapshot.webidl
rename to dom/chrome-webidl/HeapSnapshot.webidl
rename from dom/webidl/InspectorUtils.webidl
rename to dom/chrome-webidl/InspectorUtils.webidl
rename from dom/webidl/MatchGlob.webidl
rename to dom/chrome-webidl/MatchGlob.webidl
rename from dom/webidl/MatchPattern.webidl
rename to dom/chrome-webidl/MatchPattern.webidl
rename from dom/webidl/MozStorageAsyncStatementParams.webidl
rename to dom/chrome-webidl/MozStorageAsyncStatementParams.webidl
rename from dom/webidl/MozStorageStatementParams.webidl
rename to dom/chrome-webidl/MozStorageStatementParams.webidl
rename from dom/webidl/MozStorageStatementRow.webidl
rename to dom/chrome-webidl/MozStorageStatementRow.webidl
rename from dom/webidl/PrecompiledScript.webidl
rename to dom/chrome-webidl/PrecompiledScript.webidl
rename from dom/webidl/PromiseDebugging.webidl
rename to dom/chrome-webidl/PromiseDebugging.webidl
rename from dom/webidl/StructuredCloneHolder.webidl
rename to dom/chrome-webidl/StructuredCloneHolder.webidl
rename from dom/webidl/WebExtensionContentScript.webidl
rename to dom/chrome-webidl/WebExtensionContentScript.webidl
rename from dom/webidl/WebExtensionPolicy.webidl
rename to dom/chrome-webidl/WebExtensionPolicy.webidl
copy from dom/webidl/moz.build
copy to dom/chrome-webidl/moz.build
--- a/dom/webidl/moz.build
+++ b/dom/chrome-webidl/moz.build
@@ -2,1126 +2,46 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 with Files("**"):
     BUG_COMPONENT = ("Core", "DOM")
 
-with Files("APZTestData.webidl"):
-    BUG_COMPONENT = ("Core", "Panning and Zooming")
-
-with Files("AccessibleNode.webidl"):
-    BUG_COMPONENT = ("Core", "Disability Access APIs")
-
-with Files("Addon*"):
-    BUG_COMPONENT = ("Toolkit", "Add-ons Manager")
-
-with Files("AnalyserNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("Animat*"):
-    BUG_COMPONENT = ("Core", "DOM: Animation")
-
-with Files("*Audio*"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("Autocomplete*"):
-    BUG_COMPONENT = ("Toolkit", "Autocomplete")
-
-with Files("BaseKeyframeTypes.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Animation")
-
-with Files("BatteryManager.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
-
-with Files("BiquadFilterNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("BrowserElement*"):
-    BUG_COMPONENT = ("Core", "DOM")
-
-with Files("CSP*"):
-    BUG_COMPONENT = ("Core", "DOM: Security")
-
-with Files("CSS*"):
-    BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
-
-with Files("Canvas*"):
-    BUG_COMPONENT = ("Core", "Canvas: 2D")
-
-with Files("Caret*"):
-    BUG_COMPONENT = ("Core", "Editor")
-
-with Files("Channel*"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("Client*"):
-    BUG_COMPONENT = ("Core", "DOM: Service Workers")
-
-with Files("ClipboardEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("ConstantSourceNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("ContainerBoxObject.webidl"):
-    BUG_COMPONENT = ("Core", "DOM")
-
-with Files("ConvolverNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("Coordinates.webidl"):
-    BUG_COMPONENT = ("Core", "Geolocation")
-
-with Files("Crypto.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Security")
-
-with Files("Device*"):
-    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
-
-with Files("Directory.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
-
-with Files("DataTransfer*"):
-    BUG_COMPONENT = ("Core", "Drag and Drop")
-
-with Files("DragEvent.webidl"):
-    BUG_COMPONENT = ("Core", "Drag and Drop")
-
-with Files("DecoderDoctorNotification.webidl"):
-    BUG_COMPONENT = ("Core", "Audio/Video: Playback")
-
-with Files("DelayNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("DynamicsCompressorNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("FakePluginTagInit.webidl"):
-    BUG_COMPONENT = ("Core", "Plug-ins")
-
-with Files("Flex.webidl"):
-    BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
-
-with Files("FocusEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("Font*"):
-    BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
-
-with Files("FormData.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Core & HTML")
-
-with Files("Geolocation.webidl"):
-    BUG_COMPONENT = ("Core", "Geolocation")
-
-with Files("GainNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("Gamepad*"):
-    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
-
-with Files("GeometryUtils.webidl"):
-    BUG_COMPONENT = ("Core", "Layout")
-
-with Files("GetUserMediaRequest.webidl"):
-    BUG_COMPONENT = ("Core", "WebRTC")
-
-with Files("Grid.webidl"):
-    BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
-
-with Files("GroupedHistoryEvent.webidl"):
-    BUG_COMPONENT = ("Core", "Document Navigation")
-
-with Files("HTML*"):
-    BUG_COMPONENT = ("Core", "DOM: Core & HTML")
-
-with Files("HashChangeEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
+with Files("ChannelWrapper.webidl"):
+    BUG_COMPONENT = ("Toolkit", "WebExtensions: Request Handling")
 
 with Files("HeapSnapshot.webidl"):
     BUG_COMPONENT = ("Firefox", "Developer Tools: Memory")
 
-with Files("HiddenPluginEvent.webidl"):
-    BUG_COMPONENT = ("Core", "Plug-ins")
-
-with Files("IDB*"):
-    BUG_COMPONENT = ("Core", "DOM: IndexedDB")
-
-with Files("IIRFilterNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("Image*"):
-    BUG_COMPONENT = ("Core", "DOM")
-
-with Files("ImageCapture*"):
-    BUG_COMPONENT = ("Core", "Audio/Video")
-
-with Files("InputEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("InstallTrigger.webidl"):
-    BUG_COMPONENT = ("Toolkit", "Add-ons Manager")
-
 with Files("InspectorUtils.webidl"):
     BUG_COMPONENT = ("Firefox", "Developer Tools: Inspector")
 
-with Files("KeyAlgorithm.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Security")
-
-with Files("Key*Event*"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("KeyIdsInitData.webidl"):
-    BUG_COMPONENT = ("Core", "Audio/Video: Playback")
-
-with Files("Keyframe*"):
-    BUG_COMPONENT = ("Core", "DOM: Animation")
-
-with Files("LocalMediaStream.webidl"):
-    BUG_COMPONENT = ("Core", "Audio/Video")
-
-with Files("MediaDevice*"):
-    BUG_COMPONENT = ("Core", "WebRTC")
-
-with Files("Media*Source*"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("MediaStream*"):
-    BUG_COMPONENT = ("Core", "WebRTC")
-
-with Files("MediaStreamAudio*"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("MediaEncryptedEvent.webidl"):
-    BUG_COMPONENT = ("Core", "Audio/Video")
-
-with Files("MediaKey*"):
-    BUG_COMPONENT = ("Core", "Audio/Video: Playback")
-
-with Files("Media*List*"):
-    BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
-
-with Files("*Record*"):
-    BUG_COMPONENT = ("Core", "Audio/Video: Recording")
-
-with Files("Media*Track*"):
-    BUG_COMPONENT = ("Core", "WebRTC: Audio/Video")
-
-with Files("MIDI*"):
-    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
-
-with Files("Mouse*"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("MutationEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("NativeOSFileInternals.webidl"):
-    BUG_COMPONENT = ("Toolkit", "OS.File")
-
-with Files("Net*"):
-    BUG_COMPONENT = ("Core", "Networking")
-
-with Files("OfflineAudio*"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("OffscreenCanvas.webidl"):
-    BUG_COMPONENT = ("Core", "Canvas 2D")
-
-with Files("OscillatorNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("PannerNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("Peer*"):
-    BUG_COMPONENT = ("Core", "WebRTC")
-
-with Files("PeriodicWave.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("PointerEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("PopStateEvent.webidl*"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("Position*"):
-    BUG_COMPONENT = ("Core", "Geolocation")
-
-with Files("ProfileTimelineMarker.webidl"):
-    BUG_COMPONENT = ("Firefox", "Developer Tools: Performance Tools (profiler/timeline)")
-
-with Files("ProgressEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("Push*"):
-    BUG_COMPONENT = ("Core", "DOM: Push Notifications")
-
-with Files("RTC*"):
-    BUG_COMPONENT = ("Core", "WebRTC")
+with Files("MatchGlob.webidl"):
+    BUG_COMPONENT = ("Toolkit", "WebExtensions: General")
 
-with Files("SVG*"):
-    BUG_COMPONENT = ("Core", "SVG")
-
-with Files("ScriptProcessorNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("Selection.webidl"):
-    BUG_COMPONENT = ("Core", "Selection")
-
-with Files("ServiceWorker*"):
-    BUG_COMPONENT = ("Core", "DOM: Service Workers")
-
-with Files("SimpleGestureEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("SocketCommon.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
-
-with Files("SourceBuffer*"):
-    BUG_COMPONENT = ("Core", "Audio/Video")
-
-with Files("StereoPannerNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("StreamFilter*"):
-    BUG_COMPONENT = ("Toolkit", "WebExtensions: Request Handling")
-
-with Files("Style*"):
-    BUG_COMPONENT = ("Core", "DOM: CSS Object Model")
-
-with Files("SubtleCrypto.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Security")
-
-with Files("TCP*"):
-    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
-
-with Files("TextTrack*"):
-    BUG_COMPONENT = ("Core", "Audio/Video")
-
-with Files("TrackEvent.webidl"):
-    BUG_COMPONENT = ("Core", "Audio/Video")
-
-with Files("U2F.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
-
-with Files("UDP*"):
-    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
+with Files("MatchPattern.webidl"):
+    BUG_COMPONENT = ("Toolkit", "WebExtensions: General")
 
-with Files("UIEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("URL.webidl"):
-    BUG_COMPONENT = ("Core", "Audio/Video")
-
-with Files("UserProximityEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("VTT*"):
-    BUG_COMPONENT = ("Core", "Audio/Video")
-
-with Files("VRDisplay.webidl"):
-    BUG_COMPONENT = ("Core", "Graphics")
-
-with Files("Video*"):
-    BUG_COMPONENT = ("Core", "Audio/Video")
-
-with Files("WaveShaperNode.webidl"):
-    BUG_COMPONENT = ("Core", "Web Audio")
-
-with Files("WebAuthentication.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
-
-with Files("WebGL*"):
-    BUG_COMPONENT = ("Core", "Canvas: WebGL")
-
-with Files("WebKitCSSMatrix.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: CSS Object Model")
-
-with Files("Webrtc*"):
-    BUG_COMPONENT = ("Core", "WebRTC")
-
-with Files("WheelEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
-
-with Files("WidevineCDMManifest.webidl"):
-    BUG_COMPONENT = ("Core", "Audio/Video: Playback")
-
-with Files("WindowOrWorkerGlobalScope.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Workers")
-
-with Files("Worker*"):
-    BUG_COMPONENT = ("Core", "DOM: Workers")
-
-GENERATED_WEBIDL_FILES = [
-    'CSS2Properties.webidl',
-]
+with Files("WebExtension*.webidl"):
+    BUG_COMPONENT = ("Toolkit", "WebExtensions: General")
 
 PREPROCESSED_WEBIDL_FILES = [
     'ChromeUtils.webidl',
-    'Node.webidl',
-    'Window.webidl',
 ]
 
 WEBIDL_FILES = [
-    'AbortController.webidl',
-    'AbortSignal.webidl',
-    'AbstractWorker.webidl',
-    'AddonManager.webidl',
-    'AnalyserNode.webidl',
-    'Animatable.webidl',
-    'Animation.webidl',
-    'AnimationEffectReadOnly.webidl',
-    'AnimationEffectTiming.webidl',
-    'AnimationEffectTimingReadOnly.webidl',
-    'AnimationEvent.webidl',
-    'AnimationTimeline.webidl',
-    'AnonymousContent.webidl',
-    'AppInfo.webidl',
-    'AppNotificationServiceOptions.webidl',
-    'APZTestData.webidl',
-    'Attr.webidl',
-    'AudioBuffer.webidl',
-    'AudioBufferSourceNode.webidl',
-    'AudioContext.webidl',
-    'AudioDestinationNode.webidl',
-    'AudioListener.webidl',
-    'AudioNode.webidl',
-    'AudioParam.webidl',
-    'AudioProcessingEvent.webidl',
-    'AudioScheduledSourceNode.webidl',
-    'AudioStreamTrack.webidl',
-    'AudioTrack.webidl',
-    'AudioTrackList.webidl',
-    'AudioWorkletGlobalScope.webidl',
-    'AutocompleteInfo.webidl',
-    'BarProp.webidl',
-    'BaseAudioContext.webidl',
-    'BaseKeyframeTypes.webidl',
-    'BasicCardPayment.webidl',
-    'BatteryManager.webidl',
-    'BeforeUnloadEvent.webidl',
-    'BiquadFilterNode.webidl',
-    'Blob.webidl',
-    'BoxObject.webidl',
-    'BroadcastChannel.webidl',
-    'BrowserElement.webidl',
-    'BrowserElementDictionaries.webidl',
-    'Cache.webidl',
-    'CacheStorage.webidl',
-    'CanvasCaptureMediaStream.webidl',
-    'CanvasRenderingContext2D.webidl',
-    'CaretPosition.webidl',
-    'CDATASection.webidl',
-    'ChannelMergerNode.webidl',
-    'ChannelSplitterNode.webidl',
     'ChannelWrapper.webidl',
-    'CharacterData.webidl',
-    'CheckerboardReportService.webidl',
-    'ChildNode.webidl',
-    'ChromeNodeList.webidl',
-    'Client.webidl',
-    'Clients.webidl',
-    'ClipboardEvent.webidl',
-    'CommandEvent.webidl',
-    'Comment.webidl',
-    'CompositionEvent.webidl',
-    'Console.webidl',
-    'ConstantSourceNode.webidl',
-    'ContainerBoxObject.webidl',
-    'ConvolverNode.webidl',
-    'Coordinates.webidl',
-    'CreateOfferRequest.webidl',
-    'CredentialManagement.webidl',
-    'Crypto.webidl',
-    'CSPDictionaries.webidl',
-    'CSPReport.webidl',
-    'CSS.webidl',
-    'CSSAnimation.webidl',
-    'CSSConditionRule.webidl',
-    'CSSCounterStyleRule.webidl',
-    'CSSFontFaceRule.webidl',
-    'CSSFontFeatureValuesRule.webidl',
-    'CSSGroupingRule.webidl',
-    'CSSImportRule.webidl',
-    'CSSKeyframeRule.webidl',
-    'CSSKeyframesRule.webidl',
-    'CSSLexer.webidl',
-    'CSSMediaRule.webidl',
-    'CSSMozDocumentRule.webidl',
-    'CSSNamespaceRule.webidl',
-    'CSSPageRule.webidl',
-    'CSSPrimitiveValue.webidl',
-    'CSSPseudoElement.webidl',
-    'CSSRule.webidl',
-    'CSSRuleList.webidl',
-    'CSSStyleDeclaration.webidl',
-    'CSSStyleRule.webidl',
-    'CSSStyleSheet.webidl',
-    'CSSSupportsRule.webidl',
-    'CSSTransition.webidl',
-    'CSSValue.webidl',
-    'CSSValueList.webidl',
-    'CustomElementRegistry.webidl',
-    'DataTransfer.webidl',
-    'DataTransferItem.webidl',
-    'DataTransferItemList.webidl',
-    'DecoderDoctorNotification.webidl',
-    'DedicatedWorkerGlobalScope.webidl',
-    'DelayNode.webidl',
-    'DeviceMotionEvent.webidl',
-    'Directory.webidl',
-    'Document.webidl',
-    'DocumentFragment.webidl',
-    'DocumentOrShadowRoot.webidl',
-    'DocumentTimeline.webidl',
-    'DocumentType.webidl',
-    'DOMCursor.webidl',
-    'DOMError.webidl',
-    'DOMException.webidl',
-    'DOMImplementation.webidl',
     'DominatorTree.webidl',
-    'DOMMatrix.webidl',
-    'DOMParser.webidl',
-    'DOMPoint.webidl',
-    'DOMQuad.webidl',
-    'DOMRect.webidl',
-    'DOMRectList.webidl',
-    'DOMRequest.webidl',
-    'DOMStringList.webidl',
-    'DOMStringMap.webidl',
-    'DOMTokenList.webidl',
-    'DragEvent.webidl',
-    'DynamicsCompressorNode.webidl',
-    'Element.webidl',
-    'Event.webidl',
-    'EventHandler.webidl',
-    'EventListener.webidl',
-    'EventSource.webidl',
-    'EventTarget.webidl',
-    'ExtendableEvent.webidl',
-    'ExtendableMessageEvent.webidl',
-    'FakePluginTagInit.webidl',
-    'Fetch.webidl',
-    'FetchEvent.webidl',
-    'FetchObserver.webidl',
-    'File.webidl',
-    'FileList.webidl',
-    'FileMode.webidl',
-    'FileReader.webidl',
-    'FileReaderSync.webidl',
-    'FileSystem.webidl',
-    'FileSystemDirectoryEntry.webidl',
-    'FileSystemDirectoryReader.webidl',
-    'FileSystemEntry.webidl',
-    'FileSystemFileEntry.webidl',
-    'Flex.webidl',
-    'FocusEvent.webidl',
-    'FontFace.webidl',
-    'FontFaceSet.webidl',
-    'FontFaceSource.webidl',
-    'FormData.webidl',
-    'FrameLoader.webidl',
-    'Function.webidl',
-    'GainNode.webidl',
-    'Gamepad.webidl',
-    'GamepadHapticActuator.webidl',
-    'GamepadPose.webidl',
-    'GamepadServiceTest.webidl',
-    'Geolocation.webidl',
-    'GeometryUtils.webidl',
-    'GetUserMediaRequest.webidl',
-    'Grid.webidl',
-    'Headers.webidl',
     'HeapSnapshot.webidl',
-    'History.webidl',
-    'HTMLAllCollection.webidl',
-    'HTMLAnchorElement.webidl',
-    'HTMLAreaElement.webidl',
-    'HTMLAudioElement.webidl',
-    'HTMLBaseElement.webidl',
-    'HTMLBodyElement.webidl',
-    'HTMLBRElement.webidl',
-    'HTMLButtonElement.webidl',
-    'HTMLCanvasElement.webidl',
-    'HTMLCollection.webidl',
-    'HTMLDataElement.webidl',
-    'HTMLDataListElement.webidl',
-    'HTMLDetailsElement.webidl',
-    'HTMLDialogElement.webidl',
-    'HTMLDirectoryElement.webidl',
-    'HTMLDivElement.webidl',
-    'HTMLDListElement.webidl',
-    'HTMLDocument.webidl',
-    'HTMLElement.webidl',
-    'HTMLEmbedElement.webidl',
-    'HTMLFieldSetElement.webidl',
-    'HTMLFontElement.webidl',
-    'HTMLFormControlsCollection.webidl',
-    'HTMLFormElement.webidl',
-    'HTMLFrameElement.webidl',
-    'HTMLFrameSetElement.webidl',
-    'HTMLHeadElement.webidl',
-    'HTMLHeadingElement.webidl',
-    'HTMLHRElement.webidl',
-    'HTMLHtmlElement.webidl',
-    'HTMLHyperlinkElementUtils.webidl',
-    'HTMLIFrameElement.webidl',
-    'HTMLImageElement.webidl',
-    'HTMLInputElement.webidl',
-    'HTMLLabelElement.webidl',
-    'HTMLLegendElement.webidl',
-    'HTMLLIElement.webidl',
-    'HTMLLinkElement.webidl',
-    'HTMLMapElement.webidl',
-    'HTMLMediaElement.webidl',
-    'HTMLMenuElement.webidl',
-    'HTMLMenuItemElement.webidl',
-    'HTMLMetaElement.webidl',
-    'HTMLMeterElement.webidl',
-    'HTMLModElement.webidl',
-    'HTMLObjectElement.webidl',
-    'HTMLOListElement.webidl',
-    'HTMLOptGroupElement.webidl',
-    'HTMLOptionElement.webidl',
-    'HTMLOptionsCollection.webidl',
-    'HTMLOutputElement.webidl',
-    'HTMLParagraphElement.webidl',
-    'HTMLParamElement.webidl',
-    'HTMLPictureElement.webidl',
-    'HTMLPreElement.webidl',
-    'HTMLProgressElement.webidl',
-    'HTMLQuoteElement.webidl',
-    'HTMLScriptElement.webidl',
-    'HTMLSelectElement.webidl',
-    'HTMLSlotElement.webidl',
-    'HTMLSourceElement.webidl',
-    'HTMLSpanElement.webidl',
-    'HTMLStyleElement.webidl',
-    'HTMLTableCaptionElement.webidl',
-    'HTMLTableCellElement.webidl',
-    'HTMLTableColElement.webidl',
-    'HTMLTableElement.webidl',
-    'HTMLTableRowElement.webidl',
-    'HTMLTableSectionElement.webidl',
-    'HTMLTemplateElement.webidl',
-    'HTMLTextAreaElement.webidl',
-    'HTMLTimeElement.webidl',
-    'HTMLTitleElement.webidl',
-    'HTMLTrackElement.webidl',
-    'HTMLUListElement.webidl',
-    'HTMLVideoElement.webidl',
-    'IDBCursor.webidl',
-    'IDBDatabase.webidl',
-    'IDBFactory.webidl',
-    'IDBFileHandle.webidl',
-    'IDBFileRequest.webidl',
-    'IDBIndex.webidl',
-    'IDBKeyRange.webidl',
-    'IDBMutableFile.webidl',
-    'IDBObjectStore.webidl',
-    'IDBOpenDBRequest.webidl',
-    'IDBRequest.webidl',
-    'IDBTransaction.webidl',
-    'IDBVersionChangeEvent.webidl',
-    'IdleDeadline.webidl',
-    'IIRFilterNode.webidl',
-    'ImageBitmap.webidl',
-    'ImageBitmapRenderingContext.webidl',
-    'ImageCapture.webidl',
-    'ImageData.webidl',
-    'ImageDocument.webidl',
-    'InputEvent.webidl',
     'InspectorUtils.webidl',
-    'IntersectionObserver.webidl',
-    'IntlUtils.webidl',
-    'IterableIterator.webidl',
-    'KeyAlgorithm.webidl',
-    'KeyboardEvent.webidl',
-    'KeyEvent.webidl',
-    'KeyframeAnimationOptions.webidl',
-    'KeyframeEffect.webidl',
-    'KeyIdsInitData.webidl',
-    'LegacyQueryInterface.webidl',
-    'LinkStyle.webidl',
-    'ListBoxObject.webidl',
-    'LocalMediaStream.webidl',
-    'Location.webidl',
     'MatchGlob.webidl',
     'MatchPattern.webidl',
-    'MediaDeviceInfo.webidl',
-    'MediaDevices.webidl',
-    'MediaElementAudioSourceNode.webidl',
-    'MediaEncryptedEvent.webidl',
-    'MediaError.webidl',
-    'MediaKeyError.webidl',
-    'MediaKeyMessageEvent.webidl',
-    'MediaKeys.webidl',
-    'MediaKeySession.webidl',
-    'MediaKeysRequestStatus.webidl',
-    'MediaKeyStatusMap.webidl',
-    'MediaKeySystemAccess.webidl',
-    'MediaList.webidl',
-    'MediaQueryList.webidl',
-    'MediaRecorder.webidl',
-    'MediaSource.webidl',
-    'MediaStream.webidl',
-    'MediaStreamAudioDestinationNode.webidl',
-    'MediaStreamAudioSourceNode.webidl',
-    'MediaStreamError.webidl',
-    'MediaStreamTrack.webidl',
-    'MediaTrackConstraintSet.webidl',
-    'MediaTrackSettings.webidl',
-    'MediaTrackSupportedConstraints.webidl',
-    'MenuBoxObject.webidl',
-    'MessageChannel.webidl',
-    'MessageEvent.webidl',
-    'MessagePort.webidl',
-    'MIDIAccess.webidl',
-    'MIDIInput.webidl',
-    'MIDIInputMap.webidl',
-    'MIDIMessageEvent.webidl',
-    'MIDIOptions.webidl',
-    'MIDIOutput.webidl',
-    'MIDIOutputMap.webidl',
-    'MIDIPort.webidl',
-    'MimeType.webidl',
-    'MimeTypeArray.webidl',
-    'MouseEvent.webidl',
-    'MouseScrollEvent.webidl',
     'MozStorageAsyncStatementParams.webidl',
     'MozStorageStatementParams.webidl',
     'MozStorageStatementRow.webidl',
-    'MutationEvent.webidl',
-    'MutationObserver.webidl',
-    'NamedNodeMap.webidl',
-    'NativeOSFileInternals.webidl',
-    'Navigator.webidl',
-    'NetDashboard.webidl',
-    'NetworkInformation.webidl',
-    'NetworkOptions.webidl',
-    'NodeFilter.webidl',
-    'NodeIterator.webidl',
-    'NodeList.webidl',
-    'Notification.webidl',
-    'NotificationEvent.webidl',
-    'NotifyPaintEvent.webidl',
-    'OfflineAudioContext.webidl',
-    'OfflineResourceList.webidl',
-    'OffscreenCanvas.webidl',
-    'OscillatorNode.webidl',
-    'PaintRequest.webidl',
-    'PaintRequestList.webidl',
-    'PaintWorkletGlobalScope.webidl',
-    'PannerNode.webidl',
-    'ParentNode.webidl',
-    'PaymentAddress.webidl',
-    'PaymentRequest.webidl',
-    'PaymentRequestUpdateEvent.webidl',
-    'PaymentResponse.webidl',
-    'Performance.webidl',
-    'PerformanceEntry.webidl',
-    'PerformanceMark.webidl',
-    'PerformanceMeasure.webidl',
-    'PerformanceNavigation.webidl',
-    'PerformanceNavigationTiming.webidl',
-    'PerformanceObserver.webidl',
-    'PerformanceObserverEntryList.webidl',
-    'PerformanceResourceTiming.webidl',
-    'PerformanceTiming.webidl',
-    'PeriodicWave.webidl',
-    'Permissions.webidl',
-    'PermissionStatus.webidl',
-    'Plugin.webidl',
-    'PluginArray.webidl',
-    'PointerEvent.webidl',
-    'PopupBoxObject.webidl',
-    'Position.webidl',
-    'PositionError.webidl',
     'PrecompiledScript.webidl',
-    'Presentation.webidl',
-    'PresentationAvailability.webidl',
-    'PresentationConnection.webidl',
-    'PresentationConnectionList.webidl',
-    'PresentationReceiver.webidl',
-    'PresentationRequest.webidl',
-    'ProcessingInstruction.webidl',
-    'ProfileTimelineMarker.webidl',
-    'Promise.webidl',
     'PromiseDebugging.webidl',
-    'PushEvent.webidl',
-    'PushManager.webidl',
-    'PushManager.webidl',
-    'PushMessageData.webidl',
-    'PushSubscription.webidl',
-    'PushSubscriptionOptions.webidl',
-    'RadioNodeList.webidl',
-    'Range.webidl',
-    'Rect.webidl',
-    'Request.webidl',
-    'Response.webidl',
-    'RGBColor.webidl',
-    'RTCStatsReport.webidl',
-    'Screen.webidl',
-    'ScreenOrientation.webidl',
-    'ScriptProcessorNode.webidl',
-    'ScrollAreaEvent.webidl',
-    'ScrollBoxObject.webidl',
-    'Selection.webidl',
-    'ServiceWorker.webidl',
-    'ServiceWorkerContainer.webidl',
-    'ServiceWorkerGlobalScope.webidl',
-    'ServiceWorkerRegistration.webidl',
-    'ShadowRoot.webidl',
-    'SharedWorker.webidl',
-    'SharedWorkerGlobalScope.webidl',
-    'SimpleGestureEvent.webidl',
-    'SocketCommon.webidl',
-    'SourceBuffer.webidl',
-    'SourceBufferList.webidl',
-    'StereoPannerNode.webidl',
-    'Storage.webidl',
-    'StorageEvent.webidl',
-    'StorageManager.webidl',
-    'StorageType.webidl',
-    'StreamFilter.webidl',
-    'StreamFilterDataEvent.webidl',
     'StructuredCloneHolder.webidl',
-    'StyleSheet.webidl',
-    'StyleSheetList.webidl',
-    'SubtleCrypto.webidl',
-    'SVGAElement.webidl',
-    'SVGAngle.webidl',
-    'SVGAnimatedAngle.webidl',
-    'SVGAnimatedBoolean.webidl',
-    'SVGAnimatedEnumeration.webidl',
-    'SVGAnimatedInteger.webidl',
-    'SVGAnimatedLength.webidl',
-    'SVGAnimatedLengthList.webidl',
-    'SVGAnimatedNumber.webidl',
-    'SVGAnimatedNumberList.webidl',
-    'SVGAnimatedPathData.webidl',
-    'SVGAnimatedPoints.webidl',
-    'SVGAnimatedPreserveAspectRatio.webidl',
-    'SVGAnimatedRect.webidl',
-    'SVGAnimatedString.webidl',
-    'SVGAnimatedTransformList.webidl',
-    'SVGAnimateElement.webidl',
-    'SVGAnimateMotionElement.webidl',
-    'SVGAnimateTransformElement.webidl',
-    'SVGAnimationElement.webidl',
-    'SVGCircleElement.webidl',
-    'SVGClipPathElement.webidl',
-    'SVGComponentTransferFunctionElement.webidl',
-    'SVGDefsElement.webidl',
-    'SVGDescElement.webidl',
-    'SVGElement.webidl',
-    'SVGEllipseElement.webidl',
-    'SVGFEBlendElement.webidl',
-    'SVGFEColorMatrixElement.webidl',
-    'SVGFEComponentTransferElement.webidl',
-    'SVGFECompositeElement.webidl',
-    'SVGFEConvolveMatrixElement.webidl',
-    'SVGFEDiffuseLightingElement.webidl',
-    'SVGFEDisplacementMapElement.webidl',
-    'SVGFEDistantLightElement.webidl',
-    'SVGFEDropShadowElement.webidl',
-    'SVGFEFloodElement.webidl',
-    'SVGFEFuncAElement.webidl',
-    'SVGFEFuncBElement.webidl',
-    'SVGFEFuncGElement.webidl',
-    'SVGFEFuncRElement.webidl',
-    'SVGFEGaussianBlurElement.webidl',
-    'SVGFEImageElement.webidl',
-    'SVGFEMergeElement.webidl',
-    'SVGFEMergeNodeElement.webidl',
-    'SVGFEMorphologyElement.webidl',
-    'SVGFEOffsetElement.webidl',
-    'SVGFEPointLightElement.webidl',
-    'SVGFESpecularLightingElement.webidl',
-    'SVGFESpotLightElement.webidl',
-    'SVGFETileElement.webidl',
-    'SVGFETurbulenceElement.webidl',
-    'SVGFilterElement.webidl',
-    'SVGFilterPrimitiveStandardAttributes.webidl',
-    'SVGFitToViewBox.webidl',
-    'SVGForeignObjectElement.webidl',
-    'SVGGElement.webidl',
-    'SVGGeometryElement.webidl',
-    'SVGGradientElement.webidl',
-    'SVGGraphicsElement.webidl',
-    'SVGImageElement.webidl',
-    'SVGLength.webidl',
-    'SVGLengthList.webidl',
-    'SVGLinearGradientElement.webidl',
-    'SVGLineElement.webidl',
-    'SVGMarkerElement.webidl',
-    'SVGMaskElement.webidl',
-    'SVGMatrix.webidl',
-    'SVGMetadataElement.webidl',
-    'SVGMPathElement.webidl',
-    'SVGNumber.webidl',
-    'SVGNumberList.webidl',
-    'SVGPathElement.webidl',
-    'SVGPathSeg.webidl',
-    'SVGPathSegList.webidl',
-    'SVGPatternElement.webidl',
-    'SVGPoint.webidl',
-    'SVGPointList.webidl',
-    'SVGPolygonElement.webidl',
-    'SVGPolylineElement.webidl',
-    'SVGPreserveAspectRatio.webidl',
-    'SVGRadialGradientElement.webidl',
-    'SVGRect.webidl',
-    'SVGRectElement.webidl',
-    'SVGScriptElement.webidl',
-    'SVGSetElement.webidl',
-    'SVGStopElement.webidl',
-    'SVGStringList.webidl',
-    'SVGStyleElement.webidl',
-    'SVGSVGElement.webidl',
-    'SVGSwitchElement.webidl',
-    'SVGSymbolElement.webidl',
-    'SVGTests.webidl',
-    'SVGTextContentElement.webidl',
-    'SVGTextElement.webidl',
-    'SVGTextPathElement.webidl',
-    'SVGTextPositioningElement.webidl',
-    'SVGTitleElement.webidl',
-    'SVGTransform.webidl',
-    'SVGTransformList.webidl',
-    'SVGTSpanElement.webidl',
-    'SVGUnitTypes.webidl',
-    'SVGURIReference.webidl',
-    'SVGUseElement.webidl',
-    'SVGViewElement.webidl',
-    'SVGZoomAndPan.webidl',
-    'SVGZoomAndPanValues.webidl',
-    'TCPServerSocket.webidl',
-    'TCPServerSocketEvent.webidl',
-    'TCPSocket.webidl',
-    'TCPSocketErrorEvent.webidl',
-    'TCPSocketEvent.webidl',
-    'Text.webidl',
-    'TextClause.webidl',
-    'TextDecoder.webidl',
-    'TextEncoder.webidl',
-    'TextTrack.webidl',
-    'TextTrackCue.webidl',
-    'TextTrackCueList.webidl',
-    'TextTrackList.webidl',
-    'TimeEvent.webidl',
-    'TimeRanges.webidl',
-    'Touch.webidl',
-    'TouchEvent.webidl',
-    'TouchList.webidl',
-    'TransitionEvent.webidl',
-    'TreeBoxObject.webidl',
-    'TreeColumn.webidl',
-    'TreeColumns.webidl',
-    'TreeContentView.webidl',
-    'TreeView.webidl',
-    'TreeWalker.webidl',
-    'U2F.webidl',
-    'UDPMessageEvent.webidl',
-    'UDPSocket.webidl',
-    'UIEvent.webidl',
-    'URL.webidl',
-    'URLSearchParams.webidl',
-    'ValidityState.webidl',
-    'VideoPlaybackQuality.webidl',
-    'VideoStreamTrack.webidl',
-    'VideoTrack.webidl',
-    'VideoTrackList.webidl',
-    'VRDisplay.webidl',
-    'VRDisplayEvent.webidl',
-    'VRServiceTest.webidl',
-    'VTTCue.webidl',
-    'VTTRegion.webidl',
-    'WaveShaperNode.webidl',
-    'WebAuthentication.webidl',
-    'WebComponents.webidl',
     'WebExtensionContentScript.webidl',
     'WebExtensionPolicy.webidl',
-    'WebGL2RenderingContext.webidl',
-    'WebGLRenderingContext.webidl',
-    'WebKitCSSMatrix.webidl',
-    'WebSocket.webidl',
-    'WheelEvent.webidl',
-    'WidevineCDMManifest.webidl',
-    'WindowOrWorkerGlobalScope.webidl',
-    'WindowRoot.webidl',
-    'Worker.webidl',
-    'WorkerDebuggerGlobalScope.webidl',
-    'WorkerGlobalScope.webidl',
-    'WorkerLocation.webidl',
-    'WorkerNavigator.webidl',
-    'Worklet.webidl',
-    'WorkletGlobalScope.webidl',
-    'XMLDocument.webidl',
-    'XMLHttpRequest.webidl',
-    'XMLHttpRequestEventTarget.webidl',
-    'XMLHttpRequestUpload.webidl',
-    'XMLSerializer.webidl',
-    'XMLStylesheetProcessingInstruction.webidl',
-    'XPathEvaluator.webidl',
-    'XPathExpression.webidl',
-    'XPathNSResolver.webidl',
-    'XPathResult.webidl',
-    'XSLTProcessor.webidl',
-    'XULCommandEvent.webidl',
-    'XULDocument.webidl',
-    'XULElement.webidl',
 ]
-
-if CONFIG['MOZ_WEBRTC']:
-    WEBIDL_FILES += [
-        'PeerConnectionImpl.webidl',
-        'PeerConnectionImplEnums.webidl',
-        'PeerConnectionObserver.webidl',
-        'PeerConnectionObserverEnums.webidl',
-        'RTCCertificate.webidl',
-        'RTCConfiguration.webidl',
-        'RTCDataChannel.webidl',
-        'RTCDTMFSender.webidl',
-        'RTCIceCandidate.webidl',
-        'RTCIdentityAssertion.webidl',
-        'RTCIdentityProvider.webidl',
-        'RTCPeerConnection.webidl',
-        'RTCPeerConnectionStatic.webidl',
-        'RTCRtpReceiver.webidl',
-        'RTCRtpSender.webidl',
-        'RTCRtpSources.webidl',
-        'RTCRtpTransceiver.webidl',
-        'RTCSessionDescription.webidl',
-        'TransceiverImpl.webidl',
-        'WebrtcDeprecated.webidl',
-        'WebrtcGlobalInformation.webidl',
-    ]
-
-if CONFIG['MOZ_WEBSPEECH']:
-    WEBIDL_FILES += [
-        'SpeechGrammar.webidl',
-        'SpeechGrammarList.webidl',
-        'SpeechRecognition.webidl',
-        'SpeechRecognitionAlternative.webidl',
-        'SpeechRecognitionError.webidl',
-        'SpeechRecognitionEvent.webidl',
-        'SpeechRecognitionResult.webidl',
-        'SpeechRecognitionResultList.webidl',
-        'SpeechSynthesis.webidl',
-        'SpeechSynthesisErrorEvent.webidl',
-        'SpeechSynthesisEvent.webidl',
-        'SpeechSynthesisUtterance.webidl',
-        'SpeechSynthesisVoice.webidl',
-    ]
-
-WEBIDL_FILES += [
-    'CloseEvent.webidl',
-    'CustomEvent.webidl',
-    'DeviceOrientationEvent.webidl',
-    'HashChangeEvent.webidl',
-    'PageTransitionEvent.webidl',
-    'PopStateEvent.webidl',
-    'PopupBlockedEvent.webidl',
-    'ProgressEvent.webidl',
-    'StyleRuleChangeEvent.webidl',
-    'StyleSheetApplicableStateChangeEvent.webidl',
-    'StyleSheetChangeEvent.webidl',
-]
-
-# We only expose our prefable test interfaces in debug builds, just to be on
-# the safe side.
-if CONFIG['MOZ_DEBUG'] and CONFIG['ENABLE_TESTS']:
-    WEBIDL_FILES += ['TestFunctions.webidl',
-                     'TestInterfaceJS.webidl',
-                     'TestInterfaceJSDictionaries.webidl',
-                     'TestInterfaceJSMaplikeSetlikeIterable.webidl']
-
-WEBIDL_FILES += [
-    'InstallTrigger.webidl',
-]
-
-if CONFIG['FUZZING']:
-    WEBIDL_FILES += [
-        'FuzzingFunctions.webidl',
-    ]
-
-GENERATED_EVENTS_WEBIDL_FILES = [
-    'AddonEvent.webidl',
-    'AnimationPlaybackEvent.webidl',
-    'BlobEvent.webidl',
-    'CaretStateChangedEvent.webidl',
-    'CloseEvent.webidl',
-    'DeviceLightEvent.webidl',
-    'DeviceOrientationEvent.webidl',
-    'DeviceProximityEvent.webidl',
-    'ErrorEvent.webidl',
-    'FontFaceSetLoadEvent.webidl',
-    'GamepadAxisMoveEvent.webidl',
-    'GamepadButtonEvent.webidl',
-    'GamepadEvent.webidl',
-    'GroupedHistoryEvent.webidl',
-    'HashChangeEvent.webidl',
-    'HiddenPluginEvent.webidl',
-    'ImageCaptureErrorEvent.webidl',
-    'MediaQueryListEvent.webidl',
-    'MediaRecorderErrorEvent.webidl',
-    'MediaStreamEvent.webidl',
-    'MediaStreamTrackEvent.webidl',
-    'MIDIConnectionEvent.webidl',
-    'OfflineAudioCompletionEvent.webidl',
-    'PageTransitionEvent.webidl',
-    'PerformanceEntryEvent.webidl',
-    'PluginCrashedEvent.webidl',
-    'PopStateEvent.webidl',
-    'PopupBlockedEvent.webidl',
-    'PresentationConnectionAvailableEvent.webidl',
-    'PresentationConnectionCloseEvent.webidl',
-    'ProgressEvent.webidl',
-    'PromiseRejectionEvent.webidl',
-    'ScrollViewChangeEvent.webidl',
-    'SecurityPolicyViolationEvent.webidl',
-    'StyleRuleChangeEvent.webidl',
-    'StyleSheetApplicableStateChangeEvent.webidl',
-    'StyleSheetChangeEvent.webidl',
-    'TCPServerSocketEvent.webidl',
-    'TCPSocketErrorEvent.webidl',
-    'TCPSocketEvent.webidl',
-    'TrackEvent.webidl',
-    'UDPMessageEvent.webidl',
-    'UserProximityEvent.webidl',
-    'WebGLContextEvent.webidl',
-]
-
-if CONFIG['MOZ_WEBRTC']:
-    GENERATED_EVENTS_WEBIDL_FILES += [
-        'RTCDataChannelEvent.webidl',
-        'RTCDTMFToneChangeEvent.webidl',
-        'RTCPeerConnectionIceEvent.webidl',
-        'RTCTrackEvent.webidl',
-    ]
-
-if CONFIG['MOZ_WEBSPEECH']:
-    GENERATED_EVENTS_WEBIDL_FILES += [
-        'SpeechRecognitionEvent.webidl',
-        'SpeechSynthesisErrorEvent.webidl',
-        'SpeechSynthesisEvent.webidl',
-    ]
-
-if CONFIG['MOZ_BUILD_APP'] in ['browser', 'xulrunner'] or CONFIG['MOZ_SUITE']:
-    WEBIDL_FILES += [
-        'BrowserFeedWriter.webidl',
-    ]
-
-if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']:
-    WEBIDL_FILES += [
-        'External.webidl',
-    ]
-
-if CONFIG['ACCESSIBILITY']:
-    WEBIDL_FILES += [
-        'AccessibleNode.webidl',
-    ]
--- a/dom/moz.build
+++ b/dom/moz.build
@@ -36,16 +36,17 @@ DIRS += [
     'abort',
     'animation',
     'base',
     'bindings',
     'battery',
     'browser-element',
     'cache',
     'canvas',
+    'chrome-webidl',
     'clients',
     'commandhandler',
     'credentialmanagement',
     'crypto',
     'encoding',
     'events',
     'fetch',
     'file',
--- a/dom/webidl/moz.build
+++ b/dom/webidl/moz.build
@@ -134,19 +134,16 @@ with Files("GroupedHistoryEvent.webidl")
     BUG_COMPONENT = ("Core", "Document Navigation")
 
 with Files("HTML*"):
     BUG_COMPONENT = ("Core", "DOM: Core & HTML")
 
 with Files("HashChangeEvent.webidl"):
     BUG_COMPONENT = ("Core", "DOM: Events")
 
-with Files("HeapSnapshot.webidl"):
-    BUG_COMPONENT = ("Firefox", "Developer Tools: Memory")
-
 with Files("HiddenPluginEvent.webidl"):
     BUG_COMPONENT = ("Core", "Plug-ins")
 
 with Files("IDB*"):
     BUG_COMPONENT = ("Core", "DOM: IndexedDB")
 
 with Files("IIRFilterNode.webidl"):
     BUG_COMPONENT = ("Core", "Web Audio")
@@ -158,19 +155,16 @@ with Files("ImageCapture*"):
     BUG_COMPONENT = ("Core", "Audio/Video")
 
 with Files("InputEvent.webidl"):
     BUG_COMPONENT = ("Core", "DOM: Events")
 
 with Files("InstallTrigger.webidl"):
     BUG_COMPONENT = ("Toolkit", "Add-ons Manager")
 
-with Files("InspectorUtils.webidl"):
-    BUG_COMPONENT = ("Firefox", "Developer Tools: Inspector")
-
 with Files("KeyAlgorithm.webidl"):
     BUG_COMPONENT = ("Core", "DOM: Security")
 
 with Files("Key*Event*"):
     BUG_COMPONENT = ("Core", "DOM: Events")
 
 with Files("KeyIdsInitData.webidl"):
     BUG_COMPONENT = ("Core", "Audio/Video: Playback")
@@ -355,17 +349,16 @@ with Files("WindowOrWorkerGlobalScope.we
 with Files("Worker*"):
     BUG_COMPONENT = ("Core", "DOM: Workers")
 
 GENERATED_WEBIDL_FILES = [
     'CSS2Properties.webidl',
 ]
 
 PREPROCESSED_WEBIDL_FILES = [
-    'ChromeUtils.webidl',
     'Node.webidl',
     'Window.webidl',
 ]
 
 WEBIDL_FILES = [
     'AbortController.webidl',
     'AbortSignal.webidl',
     'AbstractWorker.webidl',
@@ -412,17 +405,16 @@ WEBIDL_FILES = [
     'Cache.webidl',
     'CacheStorage.webidl',
     'CanvasCaptureMediaStream.webidl',
     'CanvasRenderingContext2D.webidl',
     'CaretPosition.webidl',
     'CDATASection.webidl',
     'ChannelMergerNode.webidl',
     'ChannelSplitterNode.webidl',
-    'ChannelWrapper.webidl',
     'CharacterData.webidl',
     'CheckerboardReportService.webidl',
     'ChildNode.webidl',
     'ChromeNodeList.webidl',
     'Client.webidl',
     'Clients.webidl',
     'ClipboardEvent.webidl',
     'CommandEvent.webidl',
@@ -477,17 +469,16 @@ WEBIDL_FILES = [
     'DocumentFragment.webidl',
     'DocumentOrShadowRoot.webidl',
     'DocumentTimeline.webidl',
     'DocumentType.webidl',
     'DOMCursor.webidl',
     'DOMError.webidl',
     'DOMException.webidl',
     'DOMImplementation.webidl',
-    'DominatorTree.webidl',
     'DOMMatrix.webidl',
     'DOMParser.webidl',
     'DOMPoint.webidl',
     'DOMQuad.webidl',
     'DOMRect.webidl',
     'DOMRectList.webidl',
     'DOMRequest.webidl',
     'DOMStringList.webidl',
@@ -530,17 +521,16 @@ WEBIDL_FILES = [
     'GamepadHapticActuator.webidl',
     'GamepadPose.webidl',
     'GamepadServiceTest.webidl',
     'Geolocation.webidl',
     'GeometryUtils.webidl',
     'GetUserMediaRequest.webidl',
     'Grid.webidl',
     'Headers.webidl',
-    'HeapSnapshot.webidl',
     'History.webidl',
     'HTMLAllCollection.webidl',
     'HTMLAnchorElement.webidl',
     'HTMLAreaElement.webidl',
     'HTMLAudioElement.webidl',
     'HTMLBaseElement.webidl',
     'HTMLBodyElement.webidl',
     'HTMLBRElement.webidl',
@@ -629,33 +619,30 @@ WEBIDL_FILES = [
     'IdleDeadline.webidl',
     'IIRFilterNode.webidl',
     'ImageBitmap.webidl',
     'ImageBitmapRenderingContext.webidl',
     'ImageCapture.webidl',
     'ImageData.webidl',
     'ImageDocument.webidl',
     'InputEvent.webidl',
-    'InspectorUtils.webidl',
     'IntersectionObserver.webidl',
     'IntlUtils.webidl',
     'IterableIterator.webidl',
     'KeyAlgorithm.webidl',
     'KeyboardEvent.webidl',
     'KeyEvent.webidl',
     'KeyframeAnimationOptions.webidl',
     'KeyframeEffect.webidl',
     'KeyIdsInitData.webidl',
     'LegacyQueryInterface.webidl',
     'LinkStyle.webidl',
     'ListBoxObject.webidl',
     'LocalMediaStream.webidl',
     'Location.webidl',
-    'MatchGlob.webidl',
-    'MatchPattern.webidl',
     'MediaDeviceInfo.webidl',
     'MediaDevices.webidl',
     'MediaElementAudioSourceNode.webidl',
     'MediaEncryptedEvent.webidl',
     'MediaError.webidl',
     'MediaKeyError.webidl',
     'MediaKeyMessageEvent.webidl',
     'MediaKeys.webidl',
@@ -686,19 +673,16 @@ WEBIDL_FILES = [
     'MIDIOptions.webidl',
     'MIDIOutput.webidl',
     'MIDIOutputMap.webidl',
     'MIDIPort.webidl',
     'MimeType.webidl',
     'MimeTypeArray.webidl',
     'MouseEvent.webidl',
     'MouseScrollEvent.webidl',
-    'MozStorageAsyncStatementParams.webidl',
-    'MozStorageStatementParams.webidl',
-    'MozStorageStatementRow.webidl',
     'MutationEvent.webidl',
     'MutationObserver.webidl',
     'NamedNodeMap.webidl',
     'NativeOSFileInternals.webidl',
     'Navigator.webidl',
     'NetDashboard.webidl',
     'NetworkInformation.webidl',
     'NetworkOptions.webidl',
@@ -735,27 +719,25 @@ WEBIDL_FILES = [
     'Permissions.webidl',
     'PermissionStatus.webidl',
     'Plugin.webidl',
     'PluginArray.webidl',
     'PointerEvent.webidl',
     'PopupBoxObject.webidl',
     'Position.webidl',
     'PositionError.webidl',
-    'PrecompiledScript.webidl',
     'Presentation.webidl',
     'PresentationAvailability.webidl',
     'PresentationConnection.webidl',
     'PresentationConnectionList.webidl',
     'PresentationReceiver.webidl',
     'PresentationRequest.webidl',
     'ProcessingInstruction.webidl',
     'ProfileTimelineMarker.webidl',
     'Promise.webidl',
-    'PromiseDebugging.webidl',
     'PushEvent.webidl',
     'PushManager.webidl',
     'PushManager.webidl',
     'PushMessageData.webidl',
     'PushSubscription.webidl',
     'PushSubscriptionOptions.webidl',
     'RadioNodeList.webidl',
     'Range.webidl',
@@ -783,17 +765,16 @@ WEBIDL_FILES = [
     'SourceBufferList.webidl',
     'StereoPannerNode.webidl',
     'Storage.webidl',
     'StorageEvent.webidl',
     'StorageManager.webidl',
     'StorageType.webidl',
     'StreamFilter.webidl',
     'StreamFilterDataEvent.webidl',
-    'StructuredCloneHolder.webidl',
     'StyleSheet.webidl',
     'StyleSheetList.webidl',
     'SubtleCrypto.webidl',
     'SVGAElement.webidl',
     'SVGAngle.webidl',
     'SVGAnimatedAngle.webidl',
     'SVGAnimatedBoolean.webidl',
     'SVGAnimatedEnumeration.webidl',
@@ -938,18 +919,16 @@ WEBIDL_FILES = [
     'VRDisplay.webidl',
     'VRDisplayEvent.webidl',
     'VRServiceTest.webidl',
     'VTTCue.webidl',
     'VTTRegion.webidl',
     'WaveShaperNode.webidl',
     'WebAuthentication.webidl',
     'WebComponents.webidl',
-    'WebExtensionContentScript.webidl',
-    'WebExtensionPolicy.webidl',
     'WebGL2RenderingContext.webidl',
     'WebGLRenderingContext.webidl',
     'WebKitCSSMatrix.webidl',
     'WebSocket.webidl',
     'WheelEvent.webidl',
     'WidevineCDMManifest.webidl',
     'WindowOrWorkerGlobalScope.webidl',
     'WindowRoot.webidl',