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

24 Коммитов

Автор 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
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
Byron Campen [:bwc] 5daf41d807 Bug 1290948 - Part 2: webidl for RTCRtpTransceiver and supporting interfaces r+jib, r+ehsan r=ehsan+251051,jib
MozReview-Commit-ID: DmXufKwCAyW

--HG--
extra : rebase_source : 30948762aa31846ac6ae89cd757010a60e6f44db
2017-08-23 15:47:54 -05:00
Andreea Pavel 449023b47c Backed out 8 changesets (bug 1290948) for failing mochitest dom/tests/mochitest/general/test_interfaces.html r=backout on a CLOSED TREE
Backed out changeset 97a271bf671e (bug 1290948)
Backed out changeset 8ff38e646037 (bug 1290948)
Backed out changeset 314675023cd5 (bug 1290948)
Backed out changeset 1a5f090502b0 (bug 1290948)
Backed out changeset ffb6e6da955f (bug 1290948)
Backed out changeset 56c169018ceb (bug 1290948)
Backed out changeset 49878c508ce6 (bug 1290948)
Backed out changeset bbe53fb92e21 (bug 1290948)
2017-11-14 21:02:11 +02:00
Byron Campen [:bwc] d434aae263 Bug 1290948 - Part 2: webidl for RTCRtpTransceiver and supporting interfaces r+jib, r+ehsan r=ehsan+251051,jib
MozReview-Commit-ID: DmXufKwCAyW

--HG--
extra : rebase_source : d4e1b114f86cc6e7d5a51be3299c8f1c1ba92a1d
2017-08-23 15:47:54 -05:00
Nico Grunbaum e27f339519 Bug 1355220 add RTCRtpSender/Receiver.getStats;r=jib,smaug
MozReview-Commit-ID: LZ4ItjFYxmk

--HG--
extra : rebase_source : 13c7fec9f0aa4f9b1276b6b4eb9350ce15ff7213
2017-04-20 17:54:20 -07:00
Dan Minor 3133a6e0d7 Bug 1291715 - Add pref for DTMF; r=jib,smaug
MozReview-Commit-ID: Kl6xNKvif8K

--HG--
extra : rebase_source : 0497774c5febcd0a61eb78b22d0aeaa6e460ebbe
2016-09-20 07:10:17 -04:00
Dan Minor 621afd7f92 Bug 1291715 - Add RTCDTMFSender and RTCDTMFToneChangeEvent to webidl; r=smaug
MozReview-Commit-ID: FvAp6DQex02

--HG--
extra : rebase_source : 1b8102930efba0fb0da855b02effd106370a1b8b
2016-09-14 08:53:23 -04:00
Sebastian Hengst 7520674246 Backed out changeset 903fa45a9d6c (bug 1291715) for build bustage. r=backout 2016-10-05 17:03:06 +02:00
Sebastian Hengst aa1d2125d6 Backed out changeset 078248a9fdbc (bug 1291715) 2016-10-05 17:02:45 +02:00
Dan Minor 7fbb2628bb Bug 1291715 - Add pref for DTMF; r=jib,smaug
MozReview-Commit-ID: Kl6xNKvif8K

--HG--
extra : rebase_source : 376016da7bf072a79b2ef5973177ccf10c266ef9
2016-09-20 07:10:17 -04:00
Dan Minor c168a463ed Bug 1291715 - Add RTCDTMFSender and RTCDTMFToneChangeEvent to webidl; r=smaug
MozReview-Commit-ID: FvAp6DQex02

--HG--
extra : rebase_source : 1b8102930efba0fb0da855b02effd106370a1b8b
2016-09-14 08:53:23 -04:00
Jan-Ivar Bruaroey f24352b9aa Bug 1247622 - Make RTCRtpSender.setParameters return a promise. r=jesup,smaug
MozReview-Commit-ID: 6lfmqpKevQl

--HG--
extra : rebase_source : 26efa15f966d0f073895c09d7797a3a1ffd92a0a
2016-02-24 19:14:57 -05:00
Jan-Ivar Bruaroey 74f5fe3fc8 Bug 1230184 - setParameters webidl. r=smaug
--HG--
extra : commitid : 5ouR9OLpwNK
extra : rebase_source : f610c0a3f0e2495c8ec6c0b5f5d00b964ad6af13
2015-12-31 10:32:23 -06:00
Jan-Ivar Bruaroey 1a862d4145 Bug 1091898 - add RTCPeerConnection hybrid with promises. r=bz, r=mt 2014-12-08 09:36:18 -06:00
Jan-Ivar Bruaroey 838b08d7a0 Bug 1032839 - replaceTrack API. r=smaug, r=jesup 2014-08-15 01:33:09 -04:00
Jan-Ivar Bruaroey 2114490617 Bug 1032835 - addTrack/removeTrack on-top of existing implementation. r=smaug, r=jesup 2014-08-13 21:40:54 -04:00
Jan-Ivar Bruaroey a95040d7a7 Bug 1032835 - RTCRtpSender webidl. r=smaug 2014-08-13 21:40:41 -04:00