Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
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
Boris Zbarsky 19251f27ce Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 07:52:35 +00:00
Cosmin Sabou 3ef8d24958 Backed out changeset 8e16f13a88c8 (bug 1562680) for colliding with Bug 1366738 that was backed out. CLOSED TREE 2019-07-03 10:46:39 +03:00
Boris Zbarsky 73f095abc4 Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 06:44:36 +00:00
Mihai Alexandru Michis c7fc76c18f Backed out changeset 12653dd76667 (bug 1562680) for causing bustages in FuzzingFunctions.webidl CLOSED TREE 2019-07-03 09:34:48 +03:00
Boris Zbarsky 3a5c721abb Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 06:15:54 +00:00
Boris Zbarsky f81be92ae2 Bug 1535384 part 2. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY on some webrtc callbacks. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23773

--HG--
extra : moz-landing-system : lando
2019-03-19 04:32:43 +00:00
Boris Zbarsky a998830a71 Bug 1535124 part 2. Mark Web IDL callbacks MOZ_CAN_RUN_SCRIPT by default. r=qdot
We add a [MOZ_CAN_RUN_SCRIPT_BOUNDARY] opt-out for now to keep the tree
compiling.  The naming purposefully matches the C++ annotation that has a
similar effect, top make it easy to search for.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 12:59:54 +00:00
Cosmin Sabou 679b5e2db1 Backed out 5 changesets (bug 1485040) for causing build bustages on test_mozwebidlcodegen. CLOSED TREE
Backed out changeset b417c2d937e8 (bug 1485040)
Backed out changeset c567c4c7438f (bug 1485040)
Backed out changeset 806c36cb2c4c (bug 1485040)
Backed out changeset 0fbb490ffc7f (bug 1485040)
Backed out changeset a9622e7761eb (bug 1485040)
2018-09-13 23:04:55 +03:00
Andrew McCreight 93b3b0138c Bug 1485040, part 5 - Automatically fix mode lines in WebIDL files r=qdot
This patch was generated by my modeline.py script.

MozReview-Commit-ID: EbVjPLwiUAT

Depends on D4159

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

--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:51 +00:00
Nils Ohlmeier [:drno] 087b30d20d Bug 1446880: update WebRTC Peer Identity WebIDL. r=smaug
MozReview-Commit-ID: CkszudsSKzl

--HG--
extra : rebase_source : 76dbf6ae8903f4fe6bfe73eff930abec9c40fafd
2018-03-19 06:15:37 +00:00
Brindusan Cristian 88cd740311 Backed out 3 changesets (bug 1446880) for mochitest failures on test_exceptions_from_jsimplemented.htm CLOSED TREE
Backed out changeset 3d162d7e2721 (bug 1446880)
Backed out changeset 7142d472f2a4 (bug 1446880)
Backed out changeset 50c255c237f1 (bug 1446880)
2018-04-04 20:48:59 +03:00
Nils Ohlmeier [:drno] a7f019b79b Bug 1446880: update WebRTC Peer Identity WebIDL. r=smaug
MozReview-Commit-ID: CkszudsSKzl

--HG--
extra : rebase_source : 5b2626fc0021b628df3513fa412ddd43e2fccafb
2018-03-19 06:15:37 +00:00
Martin Thomson 2238c2d4d1 Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
MozReview-Commit-ID: K97lKyhlsW8
2016-03-24 16:12:56 +11:00
Phil Ringnalda fd64e52ef9 Back out 1726498035c1 (bug 1258299) for xpcshell failures in test_rtcIdentityProvider.js
CLOSED TREE
2016-03-23 19:25:39 -07:00
Martin Thomson 15fbbd24ab Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
MozReview-Commit-ID: EP1fCvQlYqH

--HG--
extra : rebase_source : df44c64ca5614b1ff351d3aa9ffc78e513f97d58
2016-03-24 03:03:06 +11:00
Martin Thomson 5c203cf01d Bug 975144 - WebIDL changes for RTC identity sandbox, r=jib,bz 2015-02-22 10:57:20 +13:00