Andrea Marchesini
47e3640d27
Bug 1297393 - Make passing of subject principals to webidl entry points explicit - part 1 - WebIDL [NeedsSubjectPrincipal], r=ehsan, r=peterv
2016-09-29 08:55:19 +02:00
Boris Zbarsky
37ce88ab1c
Bug 1298410. Remove support for IDL arrays, since those are not a thing anymore. r=peterv
2016-09-01 21:31:23 -04:00
Boris Zbarsky
1e5fa72546
Bug 1297756
part 1. Improve the exception thrown when an invalid default value (right type but wrong value) is used for a union. r=mystor
2016-08-30 12:55:15 -04:00
Michael Layzell
164944c0c0
Bug 1292293 - Part 1: Update the WebIDL Parser to allow default values for ByteString, r=bz
...
--HG--
extra : rebase_source : 8d031a5a34e4bb75a3432e23e625370cbcea0dae
2016-08-05 17:46:54 -04:00
Edgar Chen
3c4e6a930e
Bug 1286548 - SecureContext makes sense for interface with NoInterfaceObject, since it is also propagated to interface members; r=bz
...
MozReview-Commit-ID: K7Z3r2YRt7M
--HG--
extra : rebase_source : 5ebb9cd09de4a42690bac6cd04208f108da50731
2016-07-14 17:48:20 +08:00
Alexandre Lissy
6798f02654
Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
...
MozReview-Commit-ID: 6EQfBM09xUE
--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
James Graham
5eb8c8dd4e
Bug 1277039 - Fix output of |mach webidl-parser-test| to be less verbose by default, r=gps
...
MozReview-Commit-ID: AiMiksDzUdt
--HG--
extra : rebase_source : 3125cd305459a8080c3b266b07c199937bc36c5c
2016-06-06 17:52:24 +01:00
Boris Zbarsky
5b496a675c
Bug 1277401 part 3. Add IDL parser support for [Func] on dictionary members. r=peterv
2016-06-07 10:34:54 -04:00
Cameron McCormack
e3ca5e1f4a
Bug 1141916 - Part 2: Support [ChromeOnly] on dictionary members. r=peterv
2016-06-02 12:14:24 -04:00
Cameron McCormack
fe6930a402
Bug 1141916 - Part 1: Store extended attributes on IDLArguments. r=peterv
2016-06-02 12:10:56 -04:00
Boris Zbarsky
783e8cc098
Bug 1270601 part 3. Add a way to annotate and IDL namespace as needing a new plain object as its prototype, because using Object.prototype as the prototype of 'console' is not web-compatible. r=peterv
2016-06-02 10:34:39 -04:00
Boris Zbarsky
98b4dca6e9
Bug 1270601 part 2. Add codegen support for IDL namespaces. r=peterv
2016-06-02 10:34:39 -04:00
Boris Zbarsky
7e52059153
Bug 1270601 part 1. Add Web IDL parser support for IDL namespace syntax. r=peterv
2016-06-02 10:34:39 -04:00
JMortelliti
b122e889a9
Bug 1015318 - Factor out the common code from IDLNullableType, IDLSequenceType, and IDLMozMapType into a new superclass, IDLParameterizedType. r=bzbarsky
...
MozReview-Commit-ID: 20darfFam9f
2016-05-14 10:17:44 -04:00
Jonathan Watt
c708a6bc4b
Bug 1177957, part 2 - WebIDL parser tests for the [SecureContext] extented attribute. r=bz
...
MozReview-Commit-ID: 7hIblAhdBYw
2016-05-13 23:11:16 +01:00
Jonathan Watt
057734ea40
Bug 1177957, part 1 - Make the WebIDL parser support the [SecureContext] extented attribute. r=bz
...
MozReview-Commit-ID: Hm6ZvBoGeUj
2016-05-13 23:11:16 +01:00
James Graham
2d4b6790d3
Bug 1272698 - Allow specifying tests in |mach webidl-parser-test|, r=gps
...
MozReview-Commit-ID: 8i6qgdF963i
--HG--
extra : rebase_source : b4a1a4db6545ddfc481429c6fac39edd75c9af87
2016-05-13 17:58:46 +01:00
Xidorn Quan
114633161f
Bug 1268798 part 3 - Add LenientSetter extended attribute. r=khuey
...
MozReview-Commit-ID: 61wybyS36KE
--HG--
extra : source : 98e1ae5fa2ddf5308fba6e09b47cbb831c60ac8a
2016-05-12 10:28:56 +10:00
Xidorn Quan
fe0ed0d00a
Bug 1268798 part 2 - Add result summary for WebIDL parser test. r=khuey
...
MozReview-Commit-ID: DMgATDa9yXX
--HG--
extra : source : 94aba7834b4c813251b8a8714ef7a9b10b1f3603
2016-05-12 10:28:56 +10:00
Xidorn Quan
82fa51890c
Bug 1268798 part 1 - Fix exception whitelist in WebIDL parser. r=khuey
...
MozReview-Commit-ID: 5rBXjHgQuGd
--HG--
extra : source : 0fbdf91d6cec99db9baf0646c372da0f5cb664e4
2016-05-12 10:28:56 +10:00
Boris Zbarsky
eb97fe75ff
Bug 1270349
part 1. Add IDL parser support for [LegacyUnenumerableNamedProperties]. r=peterv
2016-05-09 22:25:40 -04:00
Jeff Walden
3017794ba8
Bug 888969 - Permit a cyclic [[Prototype]] chain to be created through a Location object. r=bz, r=efaust
...
--HG--
extra : rebase_source : dca3ecec791ecca5a2512a789c756bb4af1ca895
2016-04-29 19:59:40 -07:00
Peter Van der Beken
f781f02ccd
Bug 1245650 - remove JavaScript-navigator-property category support. r=bz.
...
Generate normal properties with getters for things marked as NavigatorProperty,
instead of defining these from a resolve hook.
2016-02-05 20:20:08 +01:00
Boris Zbarsky
052df2b3f5
Bug 1104955 part 1. Add parsing for [Unscopeable] in IDL. r=khuey
2016-03-29 15:49:45 -04:00
Eddy Bruel
dae2755a45
Bug 1119490 - Expose the URL constructor to WorkerDebuggerGlobalScope;r=khuey
2016-02-22 10:41:09 +01:00
Boris Zbarsky
6f8f413e72
Bug 1216751 part 5. Remove the now-unnecessary value iterator infrastructure, since it's entirely handled via the %ArrayPrototype% methods now. r=qdot
2016-02-17 22:58:07 -05:00
Boris Zbarsky
6f458fb1f3
Bug 1216751 part 4. Implement forEach for iterable interfaces. r=qdot
2016-02-17 22:58:04 -05:00
Boris Zbarsky
ac58157b15
Bug 1216751 part 3. For pair iterators, @@iterator should be an alias for "entries". Similarly for maplikes and "entries" and setlikes and "values". r=qdot
2016-02-17 22:58:02 -05:00
Boris Zbarsky
dcb6669fbd
Bug 1216751 part 2. For value iterators, "entries", "keys", and "values" must just come from Array.prototype. r=qdot
2016-02-17 22:58:00 -05:00
Boris Zbarsky
a7cbbd23ab
Bug 1216751 part 1. Restrict value iterators to interfaces that have indexed properties and pair iterators to interfaces that do not have indexed properties. r=qdot
2016-02-17 22:57:57 -05:00
Boris Zbarsky
7f1e8d6111
Bug 1247346. Slot indices on IDL interface members that get a slot should be per-interface, not a single per-member number. r=peterv
...
This matters when a [Cached] attribute appears on an interface, call it C,
which is a consequential interface for both A and B. There is no a priori
reason that A and B would have identical numbers of their own [Cached]
attributes, which will come before the members of consequential interfaces in
the member array, so in general the attribute may have different slot indices in A
and B.
The approach taken here is to keep things simple and make the slot index of an
interface member either None or a dict mapping interface name to the slot
index. In the common case of only one interface being involved this is a
little wasteful, but it keeps things simple for consumers, and one extra dict
per [Cached] attribute is not a big deal in the grand scheme of the data
structures the Web IDL parser produces. Another option would be to store None,
a number (if there is only one interface involved), or a dict (if there are
several interfaces involved). If we did that, we'd probably want to add some
method to get the slot index for a given interface, because the logic for doing
that would get a bit more complicated.
2016-02-12 21:29:49 -05:00
Ehsan Akhgari
a35b970c9e
Bug 1239788 - Don't include non-main-thread assertions in the constructor enabled check for [Exposed=System] WebIDL interfaces; r=bzbarsky
2016-01-14 16:55:50 -05:00
Olli Pettay
5ca565690e
Bug 1120016 - Allocate short lived JS wrappers in the Nursery, r=mccr8,terrence
2015-12-31 15:21:49 +02:00
Wes Kocher
792ca14825
Backed out changeset 0d55a6e4e98e (bug 1120016) for 980 b2g hazards
...
--HG--
extra : commitid : 27OIHVsa17S
2015-12-30 16:34:18 -08:00
Olli Pettay
2066f6d7b3
Bug 1120016 - Allocate short lived JS wrappers in the Nursery, r=mccr8,terrence
...
--HG--
extra : rebase_source : 3d51b7fc9962a93eb6071328db84b5b327225246
2015-12-30 19:16:13 +02:00
Lars T Hansen
b62493634b
Bug 1176214 - Part 11: Changes to DOM, except for WebGL. r=bz, r=clb
...
--HG--
extra : rebase_source : 9c9d3f493822d68be20597d9974292ed5ec4ab70
2015-11-25 19:04:50 +01:00
Boris Zbarsky
bc6a0c8f1c
Bug 1170760 part 12. Rip out the promise-resolved-with-promise fast path. r=baku
2015-11-25 15:48:09 -05:00
Phil Ringnalda
53745073f0
Back out 13 changesets (bug 1170760) for Gu bustage in homescreen/test/unit/apps_test.js
...
CLOSED TREE
Backed out changeset 5d84599a8846 (bug 1170760)
Backed out changeset 6104fe33d5f5 (bug 1170760)
Backed out changeset 1dfb229da01d (bug 1170760)
Backed out changeset f380faddfdd8 (bug 1170760)
Backed out changeset 541831dc6b57 (bug 1170760)
Backed out changeset 6a5b7dfab882 (bug 1170760)
Backed out changeset ee514a256922 (bug 1170760)
Backed out changeset 3c2c1acc34ee (bug 1170760)
Backed out changeset dc2a7f5dc5d6 (bug 1170760)
Backed out changeset b312a08fbab5 (bug 1170760)
Backed out changeset cb6aba9b8497 (bug 1170760)
Backed out changeset 39e4f5b1ba40 (bug 1170760)
Backed out changeset 7d79cce3630a (bug 1170760)
2015-11-25 21:02:55 -08:00
Boris Zbarsky
f1d0f460ff
Bug 1170760 part 12. Rip out the promise-resolved-with-promise fast path. r=baku
2015-11-25 15:48:09 -05:00
Anthony Ramine
ae1b97a89f
Bug 1194991 - Part b: coerce WebIDL constants to the correct type; r=khuey
2015-10-27 09:18:12 +01:00
Ms2ger
6a05c7fc20
Bug 1194991 - Part a: rewrite test_const.py to simplify adding new tests; r=khuey
2015-10-27 09:18:11 +01:00
Boris Zbarsky
b1debd2d49
Bug 1215755. Change the Web IDL parser to just put a next() method in iterator interfaces instead of using an additional IterableIterator interface. Fix up the other test failures in test_interface_maplikesetlikeiterable.py while I'm here. r=qdot
2015-10-19 20:17:39 -04:00
Boris Zbarsky
eff22c488d
Bug 1215532. Make sure the exposure set of the generated iterator interface matches that of the iterable it's created for, and that IterableIterator is exposed everywhere. r=qdot
2015-10-16 14:36:19 -04:00
Kyle Machulis
09d9074cb2
Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz
2015-10-15 12:06:13 -07:00
Kyle Machulis
2138ffd00d
Bug 1085293 - File renames for WebIDL Iterable Implementation; r=bz
...
--HG--
rename : dom/bindings/parser/tests/test_interface_maplikesetlike.py => dom/bindings/parser/tests/test_interface_maplikesetlikeiterable.py
rename : dom/webidl/TestInterfaceJSMaplikeSetlike.webidl => dom/webidl/TestInterfaceJSMaplikeSetlikeIterable.webidl
2015-10-15 12:06:13 -07:00
Kyle Machulis
95180ed852
Backout of 91e9d59af87e, 96acfd0d21cf (Bug 1085293) due to build bustage
2015-10-14 12:00:41 -07:00
Kyle Machulis
d51149c624
Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz
2015-10-14 11:33:46 -07:00
Kyle Machulis
d86a975184
Bug 1085293 - File renames for WebIDL Iterable Implementation; r=bz
...
--HG--
rename : dom/bindings/parser/tests/test_interface_maplikesetlike.py => dom/bindings/parser/tests/test_interface_maplikesetlikeiterable.py
rename : dom/webidl/TestInterfaceJSMaplikeSetlike.webidl => dom/webidl/TestInterfaceJSMaplikeSetlikeIterable.webidl
2015-10-14 11:33:46 -07:00
Martin Thomson
4574e04530
Bug 1155923 - Add Deprecated attribute to interfaces, r=peterv
...
--HG--
extra : transplant_source : q%B6%21%A22%A6%8Ftg%C8%1D%02%91/%C7%8A%AA%E2%C6g
2015-09-28 11:25:04 -07:00
Carsten "Tomcat" Book
4952084732
Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
...
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00