gecko-dev/dom/bindings
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
..
crashtests
docs
mozwebidlcodegen Bug 1442931: Part 1 - Forbid web-visible interfaces outside of WebIDL root. r=mystor 2018-03-05 14:21:38 -08:00
parser Bug 1414674 - Do not enter the compartment of the target window when calling KeyframeEffect and KeyframeEffectReadOnly constructor via Xray. r=bz,birtles 2018-02-17 17:21:13 +09:00
test 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
AtomList.h
BindingDeclarations.h Bug 1428229 - Partial backout a4094a8fa08d (bug 1406820) due to optimization removals; r=bz 2018-01-05 13:44:25 -08:00
Bindings.conf Bug 1363862 - Add Node.localize API as a fast-path for Fluent DOM localization. r=baku 2018-02-21 14:07:53 -08:00
BindingUtils.cpp Bug 1411415 - r=bz r=fitzgen 2018-03-05 19:27:02 -05:00
BindingUtils.h 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
CallbackFunction.h
CallbackInterface.cpp
CallbackInterface.h
CallbackObject.cpp Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis 2017-11-17 11:01:27 +08:00
CallbackObject.h Bug 1439063 - Part 1: Move several public headers from js/src to js/public. r=jandem. 2018-02-21 10:30:19 -06:00
Codegen.py 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
Configuration.py Bug 1442931: Part 1 - Forbid web-visible interfaces outside of WebIDL root. r=mystor 2018-03-05 14:21:38 -08:00
Date.cpp
Date.h
DOMJSClass.h
DOMJSProxyHandler.cpp Bug 638054 - Remove watch class-hook and proxy trap r=jorendorff,bz 2017-10-24 20:48:14 +02:00
DOMJSProxyHandler.h Bug 638054 - Remove watch class-hook and proxy trap r=jorendorff,bz 2017-10-24 20:48:14 +02:00
DOMString.h Bug 1407858 part 3. Add a literal string state to DOMString. r=smaug 2017-12-22 13:02:51 -05:00
ErrorIPCUtils.h
ErrorResult.h Bug 1411415 - r=bz r=fitzgen 2018-03-05 19:27:02 -05:00
Errors.msg
Exceptions.cpp Bug 1439063 - Part 1: Move several public headers from js/src to js/public. r=jandem. 2018-02-21 10:30:19 -06:00
Exceptions.h Bug 1435483 part 16. Switch to using dom::Exception, not nsIException, in C++ code. r=qdot 2018-02-05 16:34:05 -05:00
FakeString.h Bug 1428229 - Partial backout a4094a8fa08d (bug 1406820) due to optimization removals; r=bz 2018-01-05 13:44:25 -08:00
GenerateCSS2PropertiesWebIDL.py Bug 1297480 - Add BindingAlias= for WebIDL attrbutes, use it to slim CSS2Properties down. r=bz 2018-01-23 20:47:05 +01:00
IterableIterator.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
IterableIterator.h Bug 1439063 - Part 1: Move several public headers from js/src to js/public. r=jandem. 2018-02-21 10:30:19 -06:00
JSSlots.h
mach_commands.py
Makefile.in
moz.build Bug 1438961. Make DOM binding bits build in a debug --disable-tests build. r=qdot 2018-02-26 17:27:23 -05:00
NonRefcountedDOMObject.h
nsIScriptError.idl Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium 2017-12-06 16:52:51 -08:00
nsScriptError.cpp Bug 1439063 - Part 1: Move several public headers from js/src to js/public. r=jandem. 2018-02-21 10:30:19 -06:00
nsScriptError.h Bug 1413216 - Fix some missing includes in dom code. r=baku 2017-10-12 13:50:23 +01:00
nsScriptErrorWithStack.cpp Bug 1417365 - Unified build issues in dom/bindings. r=baku 2017-10-26 11:12:44 +01:00
Nullable.h
PrimitiveConversions.h
ReadableStream.h
Record.h Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium 2017-12-06 16:52:51 -08:00
RootedDictionary.h
RootedOwningNonNull.h
RootedRefPtr.h
SimpleGlobalObject.cpp Bug 1377402 - Add null check in SimpleGlobalObject's class hooks r=sfink 2018-01-08 14:27:50 +00:00
SimpleGlobalObject.h
SpiderMonkeyInterface.h
StructuredClone.cpp
StructuredClone.h
ToJSValue.cpp
ToJSValue.h 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
TypedArray.h
UnionMember.h
WebIDLGlobalNameHash.cpp 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
WebIDLGlobalNameHash.h 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
XrayExpandoClass.h