Commit Graph
132 Commits
Author SHA1 Message Date
Boris Zbarsky 932df2c9fb Bug 1400139 part 1. Add infrastructure for marking WebIDL interface members as non-enumerable. r=qdot
MozReview-Commit-ID: 9F0ZNverS63
2017-09-18 21:24:37 -04:00
John Dai a3f1880eb3 Bug 1309147 - Part 3: Implement the support for CEReactions in Codegen. r=bz
MozReview-Commit-ID: F1mxKzlru9s
2017-03-08 17:11:48 +08:00
Boris Zbarsky cd5fd78cdc Bug 1330699 part 10. Rename the MozMap C++ type to "record" and give it a template parameter for the key type. r=qdot
Also renames all the test functions to mention "Record" instead of "MozMap".
2017-02-15 00:01:35 -05: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 ca06316e7a Bug 1333480. Disallow indexed getters on interfaces without an integer-typed 'length' attribute. r=qdot 2017-01-24 16:11:33 -05:00
Iris Hsiao 9ae5342269 Backed out changeset f9ae7da00387 (bug 1333480) for bustage
CLOSED TREE
2017-01-25 10:44:16 +08:00
Boris Zbarsky dc963a4f48 Bug 1333480. Disallow indexed getters on interfaces without an integer-typed 'length' attribute. r=qdot 2017-01-24 16:11:33 -05:00
Wes Kocher e50e67b2be Backed out changeset b8b06fdb30ce (bug 1333480) for build bustage a=backout
MozReview-Commit-ID: 7wCiW0N8tby
2017-01-24 13:57:26 -08:00
Boris Zbarsky bdf7f2aa48 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 ebee8306f5 Bug 1330536 part 6. Add tests for code generation for CanOOM members. r=smaug 2017-01-17 23:52:14 -05:00
Boris Zbarsky c3dfe1c1f9 Bug 1330698. Support string default values for unions containing USVString. r=qdot 2017-01-13 10:41:12 -05:00
Boris Zbarsky 5db221ca80 Bug 1324178. Actually enforce the various checks the IDL spec says to do for arguments of constructors and named constructors. r=baku 2016-12-19 15:38:42 -08:00
Boris Zbarsky 9e2f4f54ee Bug 1323274. Disallow nullable Promise types. r=qdot 2016-12-16 14:06:54 -05:00
Boris Zbarsky 2f9aa2cb6b Bug 1316619. Add a [NeedsCallerType] WebIDL annotation. r=bholley 2016-11-11 16:09:05 -05:00
Boris Zbarsky 6c42ab471e Bug 1021289 part 2. Remove support for indexed deleters, since they're gone from the spec. r=peterv 2016-11-04 12:41:26 -04:00
Andrea Marchesini 6887e5278f 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 5f748b55d9 Bug 1297756 part 2. Allow specifying a default value for a union containing an enum. r=mystor 2016-08-30 12:55:17 -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
Jonathan Watt 117c57ae56 Bug 1177957, part 4 - Tests for the [SecureContext] WebIDL extended attribute. r=bz
MozReview-Commit-ID: IodQqQ3rAfI
2016-05-16 10:04:38 +01:00
Boris Zbarsky 6770c5ecaf Bug 983301 part 1. Handle JS-to-native conversion for Promise values via calling Promise::Resolve on whatever value was passed in (except if the type is nullable and the passed-in value is null or undefined). r=peterv 2015-07-31 13:30:55 -04:00
Boris Zbarsky 33dd132fbf Bug 1176236. Make typed array arguments work for constructors of JS-implemented interfaces. r=peterv 2015-07-01 14:15:20 -04:00
Boris Zbarsky a3b3b9f0cc Bug 1129239. Don't require 'optional' keyword on trailing dictionary arguments if the dictionary has a required member. r=smaug 2015-04-17 12:13:25 -04:00
Paul Adenot 953a7ae4d3 Bug 1148496 - Allow to set an interface member as [Deprecated] in WebIDL. r=bz,smaug 2015-04-14 17:03:49 +02:00
Boris Zbarsky b74185b06d Bug 1130364. Fix the handling of nestingLevel to actuall increment it more than once. r=peterv 2015-02-09 11:42:27 -05:00
Boris Zbarsky 950e48d12c Bug 1118978 part 3. Add support for DependsOn=DeviceState. r=peterv 2015-01-15 17:39:01 -05:00
Boris Zbarsky 01c700ec1b Bug 1118978 part 2. Introduce [Affects] and [DependsOn] extended attributes in Web IDL. r=peterv 2015-01-15 17:39:01 -05:00
Andrea Marchesini b5a05079a9 Bug 1077393 - Rename ScalarValueString to USVString. r=smaug 2014-11-20 12:58:00 +01:00
Peter Van der Beken 91b7ab2dba Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz. 2014-10-01 20:43:26 +02:00
Boris Zbarsky 27094e52d5 Bug 1030192 part 2. Codegen changes to handle cases when a sequence is actually overloaded with a dictionary. r=khuey 2014-09-24 09:11:30 -04:00
Boris Zbarsky e7a0e58854 Bug 958887 part 3. Fix codegen support for IDL attribute names and methods with dashes in them. r=peterv 2014-09-19 22:58:27 -04:00
Boris Zbarsky 04b7d62311 Bug 958887 part 1. Add support for doing BinaryName annotations in IDL. r=peterv 2014-09-19 22:58:26 -04:00
Boris Zbarsky 3b36983138 Bug 1066776. Make variadic dictionary arguments work. r=khuey 2014-09-19 00:02:33 -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
Boris Zbarsky d100e03ac5 Back out bug 1063889 (rev 2f5df573f4a3) because windowsx.h defines GetFirstChild/GetNextSibling macros, so will make the world blow up if you include it anywhere near nsIDOMNode/nsINode. r=bustage 2014-09-08 12:25:17 -04:00
Boris Zbarsky 87ad293241 Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey 2014-09-08 11:28:57 -04:00
Boris Zbarsky 7dba4770c1 Bug 929609 part 2. Fix passing of typed arrays to JS-implemented WebIDL to actually work. r=peterv 2014-08-25 15:07:45 -04:00
Andrew McCreight cbe743b7bc Bug 1048659 - Return the union we construct in a JS callback. r=peterv 2014-08-19 08:41:26 -07:00
Ben Kelly dfba2c27ec Bug 1025183 P5 Add tests for ScalarValueString. 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 547156a41d Bug 1025183 P5 Add tests for ScalarValueString. r=bz 2014-08-01 13:57:00 -04:00
Ms2ger c72d2e067b Bug 1034204 - Implement unforgeable methods; r=bz 2014-07-04 15:02:10 +02:00
Ben Kelly 0bd2a19168 Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz 2014-06-25 10:25:09 -07:00
Boris Zbarsky 06bb24ba4f Bug 1027667. Allow MozMap in unions. r=peterv 2014-06-23 16:03:58 -04:00
Boris Zbarsky 3649127620 Bug 767924 part 4. Allow [] as a default value for sequences in unions. r=peterv 2014-06-23 16:03:58 -04:00
Boris Zbarsky b4556b3b6b Bug 767924 part 3. Allow sequences in unions. r=peterv 2014-06-23 16:03:57 -04:00
Boris Zbarsky 95095842ec Bug 1026080 part 2. Add binding codegen support for [] as a default value for sequence arguments and dictionary entries. r=khuey 2014-06-23 16:03:57 -04:00
Ben Kelly cfc496e421 Bug 1027256 P2 Add test case for ByteString union type. r=bz 2014-06-18 20:22:09 -04:00
Boris Zbarsky b6d43a0ba7 Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey 2014-05-23 17:32:39 -04:00
Wes Kocher 3fd8a34224 Backed out 5 changesets (bug 1007878) for b2g build bustage r=khuey
Backed out changeset ee3bb06075f7 (bug 1007878)
Backed out changeset ab3dd51be3cd (bug 1007878)
Backed out changeset aa53ba4e64b8 (bug 1007878)
Backed out changeset ff6fd8187ff3 (bug 1007878)
Backed out changeset d631378463ac (bug 1007878)
2014-05-23 15:10:51 -07:00
Boris Zbarsky 70420bfdf4 Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey 2014-05-23 17:32:39 -04:00