gecko-dev/dom/chrome-webidl
Boris Zbarsky e5497b955e Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar
For review purposes, the important changes are in dom/bindings/Configuration.py
and dom/bindings/parser.

The changes to the IDL files were done by running these in dom/webidl
and dom/bindings/test:

  perl -pi -e 's/^interface ([A-Za-z0-9_]+)($| [:{])/[Exposed=Window]\ninterface \1\2/' *.webidl

  perl -pi -e 'BEGIN { $/ = undef; } s/\[HTMLConstructor\]\n\[Exposed=Window\]/[HTMLConstructor,\n Exposed=Window]/g' *.webidl

  perl -pi -e 'BEGIN { $/ = undef; } s/\[NoInterfaceObject\]\n\[Exposed=Window\]/[NoInterfaceObject,\n Exposed=Window]/g' *.webidl

  perl -pi -e 'BEGIN { $/ = undef; } s/\[ChromeOnly\]\n\[Exposed=Window\]/[ChromeOnly,\n Exposed=Window]/g' *.webidl

And running this in dom/chrome-webidl:

  perl -pi -e 'BEGIN { $/ = undef; } s/\[ChromeOnly\]\ninterface/[ChromeOnly, Exposed=Window]\ninterface/g' *.webidl

and then fixing all the resulting parser failures.  I then verified that the
generated code is the same as before this change.

Differential Revision: https://phabricator.services.mozilla.com/D46697

--HG--
extra : moz-landing-system : lando
2019-09-27 15:26:14 +00:00
..
BrowsingContext.webidl Backed out 2 changesets (bug 1582716, bug 1575051) for gv-junit failures, new exception. CLOSED TREE 2019-09-24 19:47:00 +03:00
ChannelWrapper.webidl Bug 1547140 add classification data to webRequest API r=zombie,kmag,Fallen 2019-08-14 16:10:51 +00:00
ChromeUtils.webidl Bug 1577819, part 2 - WebIDLProcType should match ProcType. r=Ehsan 2019-08-30 21:55:42 +00:00
DebuggerNotification.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
DebuggerNotificationObserver.webidl Bug 1578173 part 2. Convert chrome-webidl bits to constructor operations. r=edgar 2019-09-11 20:55:26 +00:00
DebuggerUtils.webidl Bug 1538056 Part 1 - Notify devtools about HTML file contents, r=hsivonen. 2019-08-04 21:33:07 +00:00
DocumentL10n.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
DominatorTree.webidl
DOMLocalization.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
Flex.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
HeapSnapshot.webidl
InspectorUtils.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
IteratorResult.webidl
JSWindowActor.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
L10nOverlays.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
Localization.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
MatchGlob.webidl Bug 1578173 part 2. Convert chrome-webidl bits to constructor operations. r=edgar 2019-09-11 20:55:26 +00:00
MatchPattern.webidl Bug 1578173 part 2. Convert chrome-webidl bits to constructor operations. r=edgar 2019-09-11 20:55:26 +00:00
MessageManager.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
moz.build Bug 1538056 Part 1 - Notify devtools about HTML file contents, r=hsivonen. 2019-08-04 21:33:07 +00:00
MozDocumentObserver.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
MozSharedMap.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
MozStorageAsyncStatementParams.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
MozStorageStatementParams.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
MozStorageStatementRow.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
PlacesEvent.webidl Bug 1578173 part 2. Convert chrome-webidl bits to constructor operations. r=edgar 2019-09-11 20:55:26 +00:00
PlacesObservers.webidl Bug 1578173 part 2. Convert chrome-webidl bits to constructor operations. r=edgar 2019-09-11 20:55:26 +00:00
PrecompiledScript.webidl
PrioEncoder.webidl
PromiseDebugging.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
SessionStoreUtils.webidl Bug 1549975 - Implement SessionStorageListener for contentSessionStore in C++ r=peterv,mikedeboer 2019-08-27 14:47:27 +00:00
StructuredCloneHolder.webidl Bug 1578173 part 2. Convert chrome-webidl bits to constructor operations. r=edgar 2019-09-11 20:55:26 +00:00
TelemetryStopwatch.webidl Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv 2019-07-03 07:52:35 +00:00
WebExtensionContentScript.webidl Bug 1578173 part 2. Convert chrome-webidl bits to constructor operations. r=edgar 2019-09-11 20:55:26 +00:00
WebExtensionPolicy.webidl Bug 1578173 part 2. Convert chrome-webidl bits to constructor operations. r=edgar 2019-09-11 20:55:26 +00:00
WindowGlobalActors.webidl Bug 1543251 - Move hasBeforeUnload from PBrowser to PWindowGlobal, r=nika 2019-07-15 17:30:26 +00:00
XULFrameElement.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
XULMenuElement.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
XULTextElement.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00
XULTreeElement.webidl Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar 2019-09-27 15:26:14 +00:00