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

24 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky e68130b666 Bug 1587819. Convert [HTMLConstructor] to being an extended attribute on constructor operations. r=edgar
The changes to the IDL files were done by running this in dom/webidl:

  perl -pi -e 'BEGIN { $/ = undef; } s/\[HTMLConstructor,\n Exposed=Window\]\ninterface ([A-Za-z]+) : HTMLElement \{/[Exposed=Window]\ninterface \1 : HTMLElement {\n  [HTMLConstructor] constructor();\n/g' *.webidl

and then fixing any remaining parser failures.  That involved hand-editing the
following files:

  TestCodeGen.webidl
  XULFrameElement.webidl
  XULMenuElement.webidl
  XULTextElement.webidl
  XULTreeElement.webidl
  HTMLAudioElement.webidl
  HTMLDialogElement.webidl
  HTMLElement.webidl
  HTMLEmbedElement.webidl
  HTMLFormElement.webidl
  HTMLImageElement.webidl
  HTMLObjectElement.webidl
  HTMLOptionElement.webidl
  HTMLSlotElement.webidl
  HTMLVideoElement.webidl
  XULElement.webidl
  XULPopupElement.webidl

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

--HG--
extra : moz-landing-system : lando
2019-10-17 15:38:39 +00:00
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 e52521c921 Bug 1574195 part 4. Switch remaining users of IDL "implements" over to mixin syntax. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D46523

--HG--
extra : moz-landing-system : lando
2019-09-24 15:22:26 +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
johndai1984 d6f71ee02d Bug 1340027 - Part 2: Add HTML CEReactions annotation. r=smaug 2017-06-29 10:26:00 -04:00
Swapnesh Kumar Sahoo c11cf34901 Bug 1354331 - Remove network.http.enablePerElementReferrer usages. r=valentin r=baku 2017-05-01 00:12:34 +05:30
Edgar Chen 9a331e3ffa Bug 1274159 - Part 3-1: Add HTMLConstructor to HTMLElement and its subclass; r=bz
MozReview-Commit-ID: 1a2u7JUaFH2
2016-11-17 17:34:42 +08:00
Sebastian Hengst d63374b21a Backed out changeset 32b1721d1125 (bug 1274159) 2016-12-14 13:27:18 +01:00
Edgar Chen 7fec353892 Bug 1274159 - Part 3-1: Add HTMLConstructor to HTMLElement and its subclass; r=bz
MozReview-Commit-ID: 1a2u7JUaFH2

--HG--
extra : rebase_source : a0009cff250428f4906c9f7d51c8cd849ecab06f
2016-11-17 17:34:42 +08:00
Deepthi Venkitaramanan 008e6b8991 Bug 1244328 - Merge the functionality of DOMSettableTokenList into DOMTokenList and make everything that used to refer to DOMSettableTokenList refer to DOMTokenList instead. r=bzbarsky 2016-02-11 17:50:42 -05:00
Franziskus Kiefer 6bf24410e1 Bug 1187357 - rename referrer attribute to referrerpolicy. r=hsivonen 2015-11-30 16:13:03 -08:00
Andrea Marchesini c1671bb497 Bug 1213815 - Update URLSearchParams and URLUtils in webidl files, r=bz 2015-11-23 20:05:26 +00:00
Franziskus Kiefer e97220a88e Bug 1174913 - anchor and area referrer attributes. r=ckerschb, r=bz 2015-06-05 15:25:24 -07:00
Andrea Marchesini ee837fa3fa Bug 1082734 - Disable location.searchParams for cross-origin insecure data access, r=bz 2014-11-03 08:18:22 +00:00
Giovanni Sferro 2bd5689ee7 Bug 968637 - Add "rel" and "relList" to HTMLAreaElement and "relList" to HTMLLinkElement, HTMLAnchorElement. r=bz 2014-03-11 08:04:26 -04:00
Andrea Marchesini 84d939ac0b Bug 959190 - [URL API] stringify href attribute, r=bz 2014-01-13 23:46:04 +01:00
Andrea Marchesini 517dec0b94 Bug 887364 - Update URLUtils interface. r=ehsan 2013-09-04 13:05:10 -04:00
Ms2ger 1d6c72d767 Bug 839913 - Fix HTMLAreaElement's stringifier; r=bz 2013-03-05 10:46:48 +01:00
Ryan VanderMeulen fdec60205c Backed out changeset 3ba8ed8f13de (bug 839913) for bustage. 2013-03-04 21:53:52 -05:00
Ms2ger 2e4faa8e90 Bug 839913 - Fix HTMLAreaElement's stringifier. r=bz 2013-03-04 21:41:47 -05:00
Ehsan Akhgari 0049d9d37f Bug 839912 - Implement the URLUtils interface; r=Ms2ger 2013-02-19 01:07:44 -05:00
Andrea Marchesini 6f13ba1e38 Bug 839487 - HTMLAreaElement::SetHref can throw. r=bz 2013-02-08 12:56:59 -05:00
Andrea Marchesini a6a030c8fa Bug 839439 - Convert HTMLAreaElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00