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

40 Коммитов

Автор 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 1128b8dee8 Bug 1578173 part 6. Remove remaining uses of [Constructor] from bindings. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45394

--HG--
extra : moz-landing-system : lando
2019-09-12 11:01:17 +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
bechen 1ac826c95f Bug 1298307 - Check cue's active state first, then verify displaystate. r=alwu,smaug
MozReview-Commit-ID: 4sqPNY9Czsr

--HG--
extra : rebase_source : e612e00520c839c3460d56618b5f3e30e47bc026
2017-05-18 11:02:25 +08:00
Ralph Giles ac2fb54670 Bug 1300805 - Remove media.webvtt.enabled pref. r=kinetik,smaug
This API has been deployed to release for some time. There isi
no longer value to being able to quickly disable it.

MozReview-Commit-ID: Jj6CyWzP93g

--HG--
extra : rebase_source : 2dc0547229b53865a4f7cfcf7ca417eb3dec0356
2016-09-15 14:10:17 -07:00
Alastor Wu 360c0c9da2 Bug 1276831 - part1 : VTTCue's position should be double or auto keyword. r=rillian,smaug
MozReview-Commit-ID: 5zsEMxbwuEH

--HG--
extra : rebase_source : 85bef3d55b06509e5178e1709a752096d0ed402a
2016-06-15 16:51:17 +01:00
Alastor Wu 3d967f770e Bug 1276130 - part1 : replace the value 'middle' with 'center. r=rillian,smaug
MozReview-Commit-ID: 9rh32HkilYv

--HG--
extra : rebase_source : bf08e4ffc77378553760dfae3854248cf700ea09
2016-06-14 14:39:29 +01:00
Sebastian Hengst 37bd76ddd9 Backed out changeset 5ad647bf5727 (bug 1276130) for web-platform-test failure invttcue-interface/align.html. r=backout 2016-06-14 17:21:02 +02:00
Alastor Wu d7e500261e Bug 1276130 - part1 : replace the value 'middle' with 'center. r=rillian,smaug
MozReview-Commit-ID: 9rh32HkilYv

--HG--
extra : rebase_source : bf08e4ffc77378553760dfae3854248cf700ea09
2016-06-14 14:39:29 +01:00
Sebastian Hengst ee41a1fab8 Backed out changeset 568a08748f67 (bug 1276831) for failure in web-platform-test webvtt/interfaces.html. r=backout 2016-06-14 14:34:30 +02:00
Sebastian Hengst 4890eef558 Backed out changeset 3f17eaa46dd9 (bug 1276130) 2016-06-14 14:33:12 +02:00
Alastor Wu b4c061d318 Bug 1276130 - part1 : replace the value 'middle' with 'center. r=rillian,smaug
MozReview-Commit-ID: HVrExS6nNZA

--HG--
extra : rebase_source : ca54cddea68cb122983645dedf7a805463842f7a
2016-06-14 12:11:53 +01:00
Alastor Wu 0ab2d5dc25 Bug 1276831 - part1 : VTTCue's position should be double or auto keyword. r=rillian,smaug
MozReview-Commit-ID: 459CjJUPpW9

--HG--
extra : rebase_source : 872fef1d221f64e1411bc2a41d7e808ba1b38d63
2016-06-14 11:57:18 +01:00
Alastor Wu 6fb6280edf Bug 1276833 - part1 : size should be double. r=rillian,smaug
MozReview-Commit-ID: FwDGgcqWfs5

--HG--
extra : rebase_source : a8f3b1e8d31a4132a059fd4be9e717960622214b
2016-06-14 11:51:40 +01:00
Alastor Wu c388caa29d Bug 1276832 - part1 : modify VTTCue's line to double. r=rillian,smaug
MozReview-Commit-ID: 7P79SO5TI0K

--HG--
extra : rebase_source : 2f05ccdfccaabf02474f087cf6561c132d412a2b
2016-06-14 11:47:32 +01:00
Alastor Wu be17624070 Bug 1276830 - part1 : introduce LineAlignSetting. r=rillian,smaug
MozReview-Commit-ID: 1nZhCpPpTEh

--HG--
extra : rebase_source : f0f55cbcf5df79753b05f16579591f2ce8aa195a
2016-06-06 09:53:16 +08:00
Alastor Wu 3e9a37541c Bug 1276129 - part1 : introduce PositionAlignSetting. r=rillian,smaug
MozReview-Commit-ID: AWzNCPLPdYw

--HG--
extra : rebase_source : 65ce98fec2e3c717b2da744e20b19d10b1e2689f
2016-06-02 10:40:23 +08:00
Brendan Long 8be4518086 Bug 909993 - Add WebIDL for TextTrackCue and fix link in VTTCue.webidl. r=rillian r=bz 2015-07-29 12:41:00 +02:00
Wes Kocher 9605f639cb Backed out changeset 3fa834e98383 (bug 909993) for interfaces.html failures CLOSED TREE 2015-07-28 15:28:56 -07:00
Brendan Long 51531f7252 Bug 909993 - Add WebIDL for TextTrackCue and fix link in VTTCue.webidl. r=rillian,bz 2015-07-24 17:11:00 -07:00
Rick Eyre c1ed0c1a19 Bug 982183 - Put VTTRegion DOM API behind a pref. r=rillian, r=bz 2014-03-12 13:55:45 -04:00
Rick Eyre 359d6d8b4c Bug 978163 - Part 2: VTTCue should have Region property. r=rillian, r=bz
See spec bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380
2014-03-11 13:33:58 -04:00
Rick Eyre 194c47dcd0 Bug 882299 - Implement VTTCue::Line r=smaug,rillian,bz 2014-01-15 08:04:00 -08:00
Rick Eyre c4d0eeae90 Bug 865407 - Part 6: Expose VTTCue::Reset to Chrome JS. r=bz 2013-12-12 13:13:38 -05:00
Rick Eyre 56d2e24718 Bug 865407 - Part 4: Expose TextTrackCue::DisplayState to chrome JS. r=rillian, r=bz 2013-12-12 11:27:30 -05:00
Ryan VanderMeulen ad7ccba84d Backed out 5 changesets (bug 865407) for Windows crashes.
Backed out changeset d3e7f6392670 (bug 865407)
Backed out changeset 7ba94f08b7a5 (bug 865407)
Backed out changeset 3de6e32a4346 (bug 865407)
Backed out changeset 5c0572c6727b (bug 865407)
Backed out changeset 5db43cac79f5 (bug 865407)
2014-01-10 11:50:49 -05:00
Rick Eyre 24e05f92e9 Bug 865407 - Part 6: Expose VTTCue::Reset to Chrome JS. r=bz 2013-12-12 13:13:38 -05:00
Rick Eyre af5883b3b6 Bug 865407 - Part 4: Expose TextTrackCue::DisplayState to chrome JS. r=rillian, r=bz 2013-12-12 11:27:30 -05:00
Rick Eyre 8cc33972a7 Bug 949643 - Implement VTTCue::PositionAlign. r=rillian 2013-12-13 12:57:48 -05:00
Rick Eyre 3ebd0e3c13 Bug 949642 - Implement VTTCue::LineAlign. r=rillian 2013-12-13 09:29:15 -05:00
Wes Kocher 84b5646ffb Backed out changeset df0855f26e4d (bug 949642) for introducing a new intermittent failure 2013-12-20 18:33:55 -08:00
Wes Kocher 900bc805d5 Backed out changeset 6532bf066bb4 (bug 882299) 2013-12-20 18:33:04 -08:00
Rick Eyre 6688119fea Bug 882299 - Implement VTTCue::Line. r=smaug, r=rillian 2013-12-16 14:35:01 -05:00
Rick Eyre 3ba9827001 Bug 949642 - Implement VTTCue::LineAlign. r=rillian 2013-12-13 09:29:15 -05:00
Rick Eyre 93fe7ce514 Bug 950049 - Rename VTTCue::TextTrackCueAlign to AlignSetting. r=rillian 2013-12-13 09:44:50 -05:00
Rick Eyre dde41eecc2 Bug 917945 - Part 2: Add RegionId attribute to VTTCue. r=rillian 2013-09-18 13:29:20 -04:00
Marcus Saad 569b911fc5 Bug 903425 - Update TextTrackCue::Vertical to be a DirectionSetting enum. r=rillian
Following up with the changes made in http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-vertical, this patch comes to create a new enum to validate and control the possible values for TextTrackCue::Vertical. Throwing behavior was removed for spec conformance.
2013-09-12 11:07:14 -03:00
Olli Pettay 9283cd2a76 Bug 916879, remove SetterThrows from eventhandlers, r=emk 2013-09-17 14:01:28 +03:00
Rick Eyre 05991a7cd0 Bug 868509 - Rename TextTrackCue to VTTCue r=rillian
This way we can ensure that JS code written for WebVTT is spec
compliant while at the same time not having to abstract VTTCue
from TextTrackCue.

--HG--
rename : dom/webidl/TextTrackCue.webidl => dom/webidl/VTTCue.webidl
2013-08-27 13:07:00 -07:00