gecko-dev/dom
Kris Maglione 444be7c1c2 Bug 1442931: Part 1 - Forbid web-visible interfaces outside of WebIDL root. r=mystor
Web-visible WebIDL interfaces require DOM peer review with every change, which
is enforced by a commit hook. ChromeOnly interfaces are not exposed to the
web, and therefore don't require the same strictures.

The current commit hook enforces the review requirement for changes to any
(non-Servo) WebIDL file, and is not smart enough to determine if the change is
web-visible. In order to loosen that restriction, we need the build system to
enforce the requirement that only WebIDL files in certain locations may
contain web-visible interfaces, so that the commit hook can restrict itself to
checking only those directories.

This change restricts the location of web-visible WebIDL interfaces to the
dom/webidl/ and dom/bindings/ roots (along with the corresponding objdir root
for generated interfaces). A follow-up will change the commit hook to only
enforce review requirements on these directories.

MozReview-Commit-ID: CiDxXxN4oO4

--HG--
extra : rebase_source : d836004da9f2def74e7c8cd5d580db2290a938d4
extra : intermediate-source : 608e21fcd1674dae3f8b685cedab85c43ffdb485
extra : source : 6cb20ada1a0aa1f6d621ba3c85ce9946a6f9841f
2018-03-05 14:21:38 -08:00
..
abort
animation Bug 1442150 - Re-enable test_running_on_compositor.html on Android. r=birtles 2018-03-06 11:01:49 +09:00
asmjscache Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
audiochannel
base Merge mozilla-central to mozilla-inbound 2018-03-06 20:46:45 +02:00
battery
bindings Bug 1442931: Part 1 - Forbid web-visible interfaces outside of WebIDL root. r=mystor 2018-03-05 14:21:38 -08:00
broadcastchannel Bug 1438163 - BroadcastChannel must release the IPC actor using a WorkerControlRunnable when the worker thread goes away, r=smaug 2018-02-15 08:50:49 +01:00
browser-element Bug 1438243 - Improve the UI for pages blocked by policy r=Felipe 2018-02-22 15:41:12 -08:00
cache Bug 1440771 - Part 2: Use nsCOMPtr<nsIInputStream> directly in PCacheStreamControl, r=baku 2018-03-05 16:00:05 -05:00
canvas Bug 1440402 - Handle several unsafe accesses in dom/ipc gracefully for fuzzing. r=baku 2018-02-23 14:51:26 +01:00
clients Bug 1441133 P1 Don't assert storage permission on windows that inherit the service worker. r=asuth 2018-03-01 08:13:56 -08:00
commandhandler
console Bug 1439657 Remove Time Precision Reduction from Console Timestamps r=baku 2018-02-28 15:20:16 -06:00
credentialmanagement Bug 1439805 - Implement CredentialsContainer.preventSilentAccess() r=jcj,smaug 2018-02-22 14:36:08 +01:00
crypto Bug 1440627 - Use fallible setLength in StructuredCloneHolder. r=baku 2018-02-23 14:57:00 +01:00
encoding Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
events Bug 1442627 - Stop exporting APZCTreeManager.h in mozilla/layers/. r=botond 2018-03-06 10:25:39 -05:00
fetch Bug 1440941 - FetchDriver should check if the operation has been already aborted when OnStartRequest is called, r=bkelly 2018-02-26 22:32:15 +01:00
file Bug 1441688 - Remove nsIIPCSerializableURI.Deserialize r=mayhemer 2018-03-05 04:14:44 +01:00
filehandle
filesystem Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
flex
gamepad Bug 1440407 P2 Remove some unnecessary nsPIDOMWindowInner QI to nsIGlobalObject. r=mystor 2018-02-22 14:28:39 -08:00
geolocation Bug 1437140 - Replace some uses of NS_DispatchToMainThread/NS_DispatchToCurrentThread with more specific event targets. r=mystor 2018-02-20 09:52:32 -05:00
grid
html Bug 1066965, make contentEditable and spellchecking to work in ShadowDOM, r=mrbkap 2018-03-06 09:34:40 +09:00
imptests
indexedDB Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis 2017-11-17 11:01:27 +08:00
interfaces Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout 2018-03-01 11:51:09 +02:00
ipc Bug 1443612 - Pre-start cubeb before content sandboxing if not remoting audio. r=kinetik 2018-03-06 13:01:35 -07:00
jsurl Bug 1441688 - Remove nsIIPCSerializableURI.Deserialize r=mayhemer 2018-03-05 04:14:44 +01:00
locales Bug 1438243 - Improve the UI for pages blocked by policy r=Felipe 2018-02-22 15:41:12 -08:00
manifest Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
mathml Bug 1417354 - Introduce nsIDocument::GetPresContext(). r=smaug 2018-02-21 07:00:10 +09:00
media Merge mozilla-inbound to mozilla-central. a=merge 2018-03-06 23:54:12 +02:00
messagechannel
midi Backed out 6 changesets (bug 1425462) for XPCShell failure on multiple files 2018-03-02 03:33:17 +02:00
network Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
notification Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout 2018-03-01 11:51:09 +02:00
offline
payments Bug 1432079 - Implement PaymentItemType. r=baku 2018-02-28 15:00:05 +02:00
performance Bug 1436744 - Get rid of WorkerCheckAPIExposureOnMainThreadRunnable, r=catalinb 2018-02-12 21:02:22 +01:00
permission Bug 1440407 P2 Remove some unnecessary nsPIDOMWindowInner QI to nsIGlobalObject. r=mystor 2018-02-22 14:28:39 -08:00
plugins Bug 1438955 - Remove ImmReleaseContext hook. r=masayuki 2018-03-07 11:01:30 +09:00
power Bug 1439063 - Part 1: Move several public headers from js/src to js/public. r=jandem. 2018-02-21 10:30:19 -06:00
presentation Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout 2018-03-01 11:51:09 +02:00
promise Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis 2017-11-17 11:01:27 +08:00
push Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout 2018-03-01 11:51:09 +02:00
quota Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout 2018-03-01 11:51:09 +02:00
res
script Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis 2017-11-17 11:01:27 +08:00
security Bug 1391823 - Disable dom/security/test/mixedcontentblocker/test_frameNavigation.html for frequent failures. r=jmaher 2018-03-03 05:16:00 +02:00
serviceworkers Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis 2017-11-17 11:01:27 +08:00
smil Bug 1432490: Make nsComputedDOMStyle::GetStyleContext / GetStyleContextNoFlush not take a presShell. r=bz 2018-02-25 02:23:59 +01:00
storage Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE. 2018-03-06 00:09:46 +02:00
svg Bug 1442207: Remove unneeded arguments to nsIMutationObserver. r=smaug 2018-03-01 22:45:17 +01:00
system Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
tests Bug 1442417 - Fix exposure policy for device sensors. r=bz 2018-03-01 22:10:41 +00:00
u2f Bug 1437616 - Fix Windows bustage on a CLOSED TREE r=me 2018-02-12 21:46:11 +01:00
url Bug 1440627 - Use fallible setLength in StructuredCloneHolder. r=baku 2018-02-23 14:57:00 +01:00
vr Bug 1438647 - dom/vr/test/reftest/change_size.html fails on windows 10 new hardware, adjust fuzzy-if. r=gbrown 2018-02-23 11:20:21 -05:00
webauthn Bug 1443248 - Update u2fhid to core-foundation-sys 0.5. r=ttaubert 2018-03-05 11:13:13 -08:00
webbrowserpersist Bug 1433958 - Change code that sets nsIURI.userPass to use nsIURIMutator r=mayhemer 2018-02-26 20:43:46 +01:00
webidl Backed out 2 changesets (bug 1442931) for build bustages at ..\dom\bindings\mozwebidlcodegen\test\test_mozwebidlcodegen.py::TestWebIDLCodegenManager::test_copy_input on a CLOSED TREE 2018-03-07 08:53:06 +02:00
websocket
workers Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE. 2018-03-06 00:09:46 +02:00
worklet Bug 1439686 - Console API should print logs on stdout when used by chrome code and if browser.dom.window.dump.enabled is true, r=bgrins 2018-02-22 08:49:51 +01:00
xbl Bug 1024082: Remove PresShell::FrameManager(), use PresShell::FrameConstructor instead. r=dholbert 2018-03-07 10:17:52 +01:00
xhr Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
xml Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
xslt Bug 1411415 - r=bz r=fitzgen 2018-03-05 19:27:02 -05:00
xul Bug 374021 - Loading an overlay using loadOverlay into an uninitialized XULDocument r=mystor 2018-03-03 20:39:13 +01:00
jar.mn
moz.build Backed out 2 changesets (bug 1442931) for build bustages at ..\dom\bindings\mozwebidlcodegen\test\test_mozwebidlcodegen.py::TestWebIDLCodegenManager::test_copy_input on a CLOSED TREE 2018-03-07 08:53:06 +02:00