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

18 Коммитов

Автор 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 14c30e58d6 Bug 1578173 part 4. Switch event subclasses to constructor operations. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45391

--HG--
extra : moz-landing-system : lando
2019-09-11 14:35:28 +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
Kelly Davis 753923ab23 Bug 1169653 - Limit use of the speech recognition API in JS to certified apps or apps with the proper flags set. r=smaug
--HG--
extra : rebase_source : 722ce76c4d7f3fb251099797f62062e5f5db27f0
2015-06-12 05:01:00 -04:00
Ryan VanderMeulen 6bced0aeb7 Backed out changeset bdaede62fdcf (bug 1169653) for introducing new rooting hazards.
CLOSED TREE
2015-06-11 15:48:09 -04:00
Kelly Davis 284e30b335 Bug 1169653 - Patch limits use of the speech recognition API in JS to certified apps or apps with the proper flags set. r=smaug 2015-06-10 02:20:00 -04:00
Kelly Davis 03382cd121 Bug 1051148 - Part 1: Patch that introduces WebSpeech API implementation. r=smaug
--HG--
extra : rebase_source : 21627e11c429f5bf5f7373de804f3adfda431dbc
extra : histedit_source : a7f4210afb870d8ce7bc97d8608d0674473cc713
2015-06-09 22:49:00 -04:00
Ryan VanderMeulen 0d430ff1b0 Backed out changesets b2fb4270e0a6 and 2a0493fb37db (bug 1051148) for introducing new rooting hazards.
CLOSED TREE IGNORE IDL

--HG--
extra : rebase_source : 97a096424b43fc4bed692182841843131fdcee13
extra : histedit_source : 4754300927dac90f0ae879e90896e36f1aa28b49
2015-06-03 13:14:59 -04:00
Kelly Davis bf300061b2 Bug 1051148 - Part 1: Patch that introduces WebSpeech API implementation. r=smaug
IGNORE IDL

--HG--
extra : histedit_source : d9d8b673d22c90cfc0e9c58e8599a2b34167c913
2015-05-27 21:48:00 -04:00
Kyle Huey adffec442f Bug 1031051: Part 15 - Migrate Speech events to the WebIDL code generator. r=smaug 2014-06-30 16:02:03 -07:00
Ehsan Akhgari 38c067be0b Bug 968879 - Use [Pref] annotations to enable web speech interfaces; r=smaug 2014-02-06 15:00:37 -05:00
Olli Pettay 09024c5489 Bug 847611 - Paris bindings for autogenerated events, r=peterv 2013-06-18 21:48:45 +03:00