Commit Graph
135 Commits
Author SHA1 Message Date
John Dai d4f5159637 Bug 1309147 - Part 1: Implement the support for CEReactions in WebIDL parser. r=bz
MozReview-Commit-ID: Dw0CMgzXKKy
2017-02-03 11:44:09 +08:00
Boris Zbarsky ede63f4d95 Bug 1330699 part 9. Rename "MozMap" to "record" in our IDL parser and IDL files. r=qdot
The key type is unused so far.
2017-02-15 00:00:17 -05:00
Boris Zbarsky 0f8d59123f Bug 1330699 part 6. Add some tests for distinguishability of unions. r=qdot 2017-02-15 00:00:05 -05:00
Boris Zbarsky f0982dd8d9 Bug 1332713 part 2. Disallow [SameObject] Promise-typed attributes. r=qdot 2017-01-27 18:53:36 -05:00
Boris Zbarsky 887f9a0195 Bug 1332713 part 1. Disallow Promise-typed attributes with setters. r=qdot 2017-01-27 18:53:36 -05:00
Boris Zbarsky ca06316e7a Bug 1333480. Disallow indexed getters on interfaces without an integer-typed 'length' attribute. r=qdot 2017-01-24 16:11:33 -05:00
Boris Zbarsky 533b41d94d Bug 1323721 part 12. Create a separate IDLPromiseType; stop treating Promise as an interface altogether. r=qdot 2016-12-19 15:38:44 -08:00
Boris Zbarsky 9e2f4f54ee Bug 1323274. Disallow nullable Promise types. r=qdot 2016-12-16 14:06:54 -05:00
Edgar Chen f573936589 Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute for custom elements; r=bz,wchen
MozReview-Commit-ID: 6egmavfTmFT
2016-11-17 23:31:50 +08:00
Sebastian Hengst 7a7aca4272 Backed out changeset f2a5fc3e8c4e (bug 1274159) 2016-12-14 13:27:22 +01:00
Edgar Chen b22063fb71 Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute for custom elements; r=bz,wchen
MozReview-Commit-ID: 6egmavfTmFT
2016-11-17 23:31:50 +08:00
Boris Zbarsky 6901df276b Bug 1315135. Remove the RegExp (and some Date) special casing from our dictionary conversions and Web IDL overload resolution. r=peterv 2016-11-23 22:57:29 -05:00
Boris Zbarsky 784fd190e4 Bug 1021289 followup. Fix webidl parser tests to account for there being no more indexed deleters 2016-11-04 13:28:17 -04:00
Boris Zbarsky 76f732570c Bug 1311362. Fix webidl member name collision checking with ancestor interfaces to not claim name collisions on totally unrelated names. r=qdot
Fixing this exposed the fact that the 'size' tests were passing quite accidentally, since we never added 'size' to the disallowed names sets.
2016-10-19 16:03:00 -04:00
Boris Zbarsky 5fa69ac00e Bug 946906 part 7. Forbid using [Cached] or [StoreInSlot] with [NewObject]. r=bholley
This guarantees that an interface type returned from a [Cached] or [StoreInSlot]
getter must be wrappercached, because non-wrappercached things can only be
returned from [NewObject] getters or methods.
2016-10-10 18:16:26 -04:00
Boris Zbarsky ce7621144a Bug 1307115. Improve error reporting on name collisions in webidl. r=qdot 2016-10-04 23:42:06 -04:00
Boris Zbarsky 998390e17a Bug 1298410. Remove support for IDL arrays, since those are not a thing anymore. r=peterv 2016-09-01 21:31:23 -04:00
Michael Layzell 95c9f675db Bug 1292293 - Part 1: Update the WebIDL Parser to allow default values for ByteString, r=bz 2016-08-05 17:46:54 -04:00
Edgar Chen 0aac888943 Bug 1286548 - SecureContext makes sense for interface with NoInterfaceObject, since it is also propagated to interface members; r=bz
MozReview-Commit-ID: K7Z3r2YRt7M
2016-07-14 17:48:20 +08:00
Cameron McCormack 083ce40a34 Bug 1141916 - Part 2: Support [ChromeOnly] on dictionary members. r=peterv 2016-06-02 12:14:24 -04:00
Boris Zbarsky 8dba19cf87 Bug 1270601 part 1. Add Web IDL parser support for IDL namespace syntax. r=peterv 2016-06-02 10:34:39 -04:00
Jonathan Watt abc1a824e7 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
Xidorn Quan 9daa03b9d8 Bug 1268798 part 3 - Add LenientSetter extended attribute. r=khuey
MozReview-Commit-ID: 61wybyS36KE
2016-05-12 10:28:56 +10:00
Boris Zbarsky f5ac5715a0 Bug 1270349 part 1. Add IDL parser support for [LegacyUnenumerableNamedProperties]. r=peterv 2016-05-09 22:25:40 -04:00
Boris Zbarsky be1b26c0bd 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 1e47fccb98 Bug 1216751 part 4. Implement forEach for iterable interfaces. r=qdot 2016-02-17 22:58:04 -05:00
Boris Zbarsky caf54ff924 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 6b060ddb7b 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
Lars T Hansen f7d6191975 Bug 1176214 - Part 11: Changes to DOM, except for WebGL. r=bz, r=clb 2015-11-25 19:04:50 +01:00
Anthony Ramine 1c454dafee Bug 1194991 - Part b: coerce WebIDL constants to the correct type; r=khuey 2015-10-27 09:18:12 +01:00
Ms2ger 63e9aadc44 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 16ba46d18e 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
Kyle Machulis 8e5778c5fe Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz 2015-10-15 12:06:13 -07:00
Kyle Machulis 88c5340f6c Bug 1085293 - File renames for WebIDL Iterable Implementation; r=bz 2015-10-15 12:06:13 -07:00
Kyle Machulis bce8b386c3 Backout of 91e9d59af87e, 96acfd0d21cf (Bug 1085293) due to build bustage 2015-10-14 12:00:41 -07:00
Kyle Machulis f3473de26f Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz 2015-10-14 11:33:46 -07:00
Kyle Machulis b1e5730bac Bug 1085293 - File renames for WebIDL Iterable Implementation; r=bz 2015-10-14 11:33:46 -07:00
Boris Zbarsky 7ec98a916e Bug 983301 part 2. Change Promise to not be distinguishable from any other type. r=peterv 2015-07-31 13:30:55 -04:00
Kyle Machulis 2da9f385f0 Bug 1123516 - Implement maplike/setlike in WebIDL parser; r=bz 2015-06-29 15:38:53 -07:00
Jukka Jylanki 73ccda211a Bug 1168471 - Implement support for SharedArrayBuffers and SharedArrayViews in WebIDL. r=bz, r=lth, r=luke 2015-06-13 14:02:46 +03:00
Jan de Mooij 153c1c19c2 Bug 1140324 - Remove __noSuchMethod__ handling from WebIDL parser and throw an exception instead. r=peterv 2015-03-07 16:35:04 +01:00
Andrea Marchesini b5a05079a9 Bug 1077393 - Rename ScalarValueString to USVString. r=smaug 2014-11-20 12:58:00 +01:00
Boris Zbarsky 3bdf3f316f Bug 1030192 part 1. Make sequences distinguishable from dictionaries and callbacks in the Web IDL parser. r=khuey 2014-09-24 09:11:30 -04:00
Boris Zbarsky a215299e4d Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey 2014-09-08 11:28:57 -04:00
Ms2ger 5505d3c469 Bug 1056138 - Move checks for the PutForwards and Replaceable extended attributes into the WebIDL parser; r=bz
In fact, the WebIDL parser already checks for PutForwards, so the check in the
codegen was superfluous.
2014-08-20 17:31:39 +02:00
Boris Zbarsky c05453b46f Bug 1017988 part 7. Add support for parsing the [Exposed] Web IDL attribute and determining whether a given interface member should be exposed in a particular global. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky 33977d01ee Bug 1017988 part 4. Rejigger how we do partial interfaces so that we can keep track of which partial interface a given member came from. r=khuey 2014-08-04 22:20:33 -04:00
Ben Kelly eb850ce44b Bug 1025183 P1 Add ScalarValueString to webidl parser. r=bz 2014-08-01 16:23:48 -04:00
Ben Kelly 1138f72ca4 Revert bug 1025183 (revs 69373df15281, dd6d84edf08e, 728a5d18bcd9, 71babe0bc84b, c60f9054acf6) for bustage. r=me 2014-08-01 14:10:40 -04:00
Ben Kelly f61b5ecb4c Bug 1025183 P1 Add ScalarValueString to webidl parser. r=bz 2014-08-01 13:56:59 -04:00