Bug 1594981 - improve BUG_COMPONENT in various moz.build files r=mccr8
authorAnne van Kesteren <annevk@annevk.nl>
Thu, 14 Nov 2019 15:44:32 +0000
changeset 501972 ec6979a95056337dc316159ce353b39d98b86bd9
parent 501971 09cc380c54d905ad3834995698077c333f3e89a6
child 501973 5c9324524d5148b1ae6963768dad2f0d3779f8c1
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmccr8
bugs1594981
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1594981 - improve BUG_COMPONENT in various moz.build files r=mccr8 Differential Revision: https://phabricator.services.mozilla.com/D53024
dom/bindings/moz.build
dom/broadcastchannel/moz.build
dom/events/moz.build
dom/filehandle/moz.build
dom/messagechannel/moz.build
dom/webidl/moz.build
dom/websocket/moz.build
--- a/dom/bindings/moz.build
+++ b/dom/bindings/moz.build
@@ -1,16 +1,16 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # 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: Core & HTML")
+    BUG_COMPONENT = ("Core", "DOM: Bindings (WebIDL)")
 
 TEST_DIRS += ['test']
 
 XPIDL_SOURCES += [
     'nsIScriptError.idl'
 ]
 
 XPIDL_MODULE = 'dom_bindings'
--- a/dom/broadcastchannel/moz.build
+++ b/dom/broadcastchannel/moz.build
@@ -1,16 +1,16 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # 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: Core & HTML")
+    BUG_COMPONENT = ("Core", "DOM: postMessage")
 
 EXPORTS.mozilla.dom += [
     'BroadcastChannel.h',
 ]
 
 UNIFIED_SOURCES += [
     'BroadcastChannel.cpp',
     'BroadcastChannelChild.cpp',
--- a/dom/events/moz.build
+++ b/dom/events/moz.build
@@ -1,15 +1,18 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # 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: UI Events & Focus Handling")
+
+with Files("Event*"):
     BUG_COMPONENT = ("Core", "DOM: Events")
 
 if CONFIG['OS_ARCH'] == 'WINNT':
     DIRS += ['win']
 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
     DIRS += ['mac']
 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
     DIRS += ['android']
--- a/dom/filehandle/moz.build
+++ b/dom/filehandle/moz.build
@@ -1,16 +1,16 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # 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: Core & HTML")
+    BUG_COMPONENT = ("Core", "DOM: File")
 
 EXPORTS.mozilla.dom.filehandle += [
     'ActorsParent.h',
     'SerializationHelpers.h',
 ]
 
 EXPORTS.mozilla.dom += [
     'FileHandleStorage.h',
--- a/dom/messagechannel/moz.build
+++ b/dom/messagechannel/moz.build
@@ -1,16 +1,16 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # 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: Core & HTML")
+    BUG_COMPONENT = ("Core", "DOM: postMessage")
 
 TEST_DIRS += ['tests']
 
 EXPORTS.mozilla.dom += [
     'MessageChannel.h',
     'MessagePort.h',
     'MessagePortChild.h',
     'MessagePortParent.h',
--- a/dom/webidl/moz.build
+++ b/dom/webidl/moz.build
@@ -32,16 +32,22 @@ 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("Blob*"):
+    BUG_COMPONENT = ("Core", "DOM: File")
+
+with Files("BroadcastChannel.webidl"):
+    BUG_COMPONENT = ("Core", "DOM: postMessage")
+
 with Files("BrowserElement*"):
     BUG_COMPONENT = ("Core", "DOM: Core & HTML")
 
 with Files("CSP*"):
     BUG_COMPONENT = ("Core", "DOM: Security")
 
 with Files("CSS*"):
     BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
@@ -54,20 +60,20 @@ with Files("Caret*"):
 
 with Files("Channel*"):
     BUG_COMPONENT = ("Core", "Web Audio")
 
 with Files("Client*"):
     BUG_COMPONENT = ("Core", "DOM: Service Workers")
 
 with Files("Clipboard.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
+    BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
 
 with Files("ClipboardEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
+    BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
 
 with Files("ConstantSourceNode.webidl"):
     BUG_COMPONENT = ("Core", "Web Audio")
 
 with Files("ConvolverNode.webidl"):
     BUG_COMPONENT = ("Core", "Web Audio")
 
 with Files("GeolocationCoordinates.webidl"):
@@ -98,24 +104,27 @@ with Files("DynamicsCompressorNode.webid
     BUG_COMPONENT = ("Core", "Web Audio")
 
 with Files("FakePluginTagInit.webidl"):
     BUG_COMPONENT = ("Core", "Plug-ins")
 
 with Files("FeaturePolicy.webidl"):
     BUG_COMPONENT = ("Core", "DOM: Security")
 
+with Files("File*"):
+    BUG_COMPONENT = ("Core", "DOM: File")
+
 with Files("FocusEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
+    BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
 
 with Files("Font*"):
     BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
 
 with Files("FormData.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Core & HTML")
+    BUG_COMPONENT = ("Core", "DOM: Forms")
 
 with Files("Geolocation.webidl"):
     BUG_COMPONENT = ("Core", "DOM: Geolocation")
 
 with Files("GainNode.webidl"):
     BUG_COMPONENT = ("Core", "Web Audio")
 
 with Files("Gamepad*"):
@@ -129,44 +138,47 @@ with Files("GetUserMediaRequest.webidl")
 
 with Files("Grid.webidl"):
     BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
 
 with Files("HTML*"):
     BUG_COMPONENT = ("Core", "DOM: Core & HTML")
 
 with Files("HashChangeEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
+    BUG_COMPONENT = ("Core", "DOM: Navigation")
 
 with Files("HiddenPluginEvent.webidl"):
     BUG_COMPONENT = ("Core", "Plug-ins")
 
 with Files("IDB*"):
     BUG_COMPONENT = ("Core", "Storage: IndexedDB")
 
 with Files("IIRFilterNode.webidl"):
     BUG_COMPONENT = ("Core", "Web Audio")
 
 with Files("Image*"):
     BUG_COMPONENT = ("Core", "DOM: Core & HTML")
 
+with Files("ImageBitmap*"):
+    BUG_COMPONENT = ("Core", "Canvas: 2D")
+
 with Files("ImageCapture*"):
     BUG_COMPONENT = ("Core", "Audio/Video")
 
 with Files("InputEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
+    BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
 
 with Files("InstallTrigger.webidl"):
     BUG_COMPONENT = ("Toolkit", "Add-ons Manager")
 
 with Files("KeyAlgorithm.webidl"):
     BUG_COMPONENT = ("Core", "DOM: Security")
 
 with Files("Key*Event*"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
+    BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
 
 with Files("KeyIdsInitData.webidl"):
     BUG_COMPONENT = ("Core", "Audio/Video: Playback")
 
 with Files("Keyframe*"):
     BUG_COMPONENT = ("Core", "DOM: Animation")
 
 with Files("MathML*"):
@@ -191,27 +203,30 @@ 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("Message*"):
+    BUG_COMPONENT = ("Core", "DOM: postMessage")
+
 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")
+    BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
 
 with Files("MutationEvent.webidl"):
     BUG_COMPONENT = ("Core", "DOM: Events")
 
 with Files("NativeOSFileInternals.webidl"):
     BUG_COMPONENT = ("Toolkit", "OS.File")
 
 with Files("Net*"):
@@ -231,20 +246,20 @@ with Files("PannerNode.webidl"):
 
 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")
+    BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
 
 with Files("PopStateEvent.webidl*"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
+    BUG_COMPONENT = ("Core", "DOM: Navigation")
 
 with Files("GeolocationPosition*"):
     BUG_COMPONENT = ("Core", "DOM: Geolocation")
 
 with Files("ProfileTimelineMarker.webidl"):
     BUG_COMPONENT = ("DevTools", "Performance Tools (Profiler/Timeline)")
 
 with Files("ProgressEvent.webidl"):
@@ -264,17 +279,17 @@ with Files("ScriptProcessorNode.webidl")
 
 with Files("Selection.webidl"):
     BUG_COMPONENT = ("Core", "DOM: Selection")
 
 with Files("ServiceWorker*"):
     BUG_COMPONENT = ("Core", "DOM: Service Workers")
 
 with Files("SimpleGestureEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
+    BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
 
 with Files("SocketCommon.webidl"):
     BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
 
 with Files("SourceBuffer*"):
     BUG_COMPONENT = ("Core", "Audio/Video")
 
 with Files("StereoPannerNode.webidl"):
@@ -300,23 +315,23 @@ with Files("TrackEvent.webidl"):
 
 with Files("U2F.webidl"):
     BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
 
 with Files("UDP*"):
     BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
 
 with Files("UIEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
+    BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
 
 with Files("URL.webidl"):
     BUG_COMPONENT = ("Core", "Audio/Video")
 
 with Files("UserProximityEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
+    BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
 
 with Files("VTT*"):
     BUG_COMPONENT = ("Core", "Audio/Video")
 
 with Files("VRDisplay.webidl"):
     BUG_COMPONENT = ("Core", "Graphics")
 
 with Files("Video*"):
@@ -333,17 +348,17 @@ with Files("WebGL*"):
 
 with Files("WebGPU*"):
     BUG_COMPONENT = ("Core", "Canvas: WebGL")
 
 with Files("Webrtc*"):
     BUG_COMPONENT = ("Core", "WebRTC")
 
 with Files("WheelEvent.webidl"):
-    BUG_COMPONENT = ("Core", "DOM: Events")
+    BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
 
 with Files("WidevineCDMManifest.webidl"):
     BUG_COMPONENT = ("Core", "Audio/Video: Playback")
 
 with Files("WindowOrWorkerGlobalScope.webidl"):
     BUG_COMPONENT = ("Core", "DOM: Workers")
 
 with Files("Worker*"):
--- a/dom/websocket/moz.build
+++ b/dom/websocket/moz.build
@@ -1,16 +1,16 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # 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: Core & HTML")
+    BUG_COMPONENT = ("Core", "DOM: Networking")
 
 EXPORTS.mozilla.dom += [
     'WebSocket.h',
 ]
 
 UNIFIED_SOURCES += [
     'WebSocket.cpp',
 ]