Commit Graph

155 Commits

Author SHA1 Message Date
Ed Morley
2b3f157d86 Backed out changeset 877a227c502f (bug 882541) for causing bug 926305 2013-10-14 17:31:06 +01:00
Ed Morley
da83085a5c Backed out changeset ccf11ae08ba2 (bug 882541) 2013-10-14 17:30:43 +01:00
Boris Zbarsky
316fae665f Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger 2013-10-11 12:28:24 -04:00
Boris Zbarsky
6c5f73435a Bug 882541 part 1. Don't require all arguments after an optional argument to be optional. r=khuey 2013-10-11 12:28:23 -04:00
Andy Wingo
73cf8a0ea1 Bug 907077: Change for-of to conform to latest ES6 specification. r=jwalden 2013-10-03 13:37:57 +01:00
Olli Pettay
d1f9e82bd1 Bug 637248, Make Event.isTrusted Unforgeable, r=bz
--HG--
extra : rebase_source : 3edd919c6dac839d6082c1c73de88f9ba2d22146
2013-09-28 13:27:29 +03:00
Boris Zbarsky
0eb0be4a04 Bug 918011 part 4. Support dictionaries in unions. r=smaug 2013-09-26 00:05:00 -04:00
Boris Zbarsky
9105580337 Bug 919603 part 1. Introduce support for the [Global] extended attribute. r=peterv 2013-09-25 14:38:30 -04:00
Ryan VanderMeulen
0916615899 Backed out 5 changesets (bug 905493, bug 920125, bug 919603) for mochitest orange on a CLOSED TREE.
Backed out changeset ccef656b2973 (bug 919603)
Backed out changeset 4b29ce0b2fff (bug 919603)
Backed out changeset b0a051ec55b7 (bug 919603)
Backed out changeset baa9a774aad1 (bug 920125)
Backed out changeset e03276bf4eaa (bug 905493)
2013-09-25 18:22:33 -04:00
Boris Zbarsky
0581c74c0b Bug 919603 part 1. Introduce support for the [Global] extended attribute. r=peterv 2013-09-25 14:38:30 -04:00
Boris Zbarsky
ddce009986 Bug 919705. Don't ever claim that jsImplemented things are single-operation interfaces. r=mccr8 2013-09-23 23:11:45 -04:00
Boris Zbarsky
84d48a8c9f Bug 912948 part 2. Add support for [Clamp] and [EnforceRange] on writable attributes. r=khuey 2013-09-09 22:10:45 -04:00
David Zbarsky
426663fc36 Bug 903277. Support default values other than null for WebIDL unions. r=bzbarsky 2013-08-29 23:29:38 -04:00
Boris Zbarsky
147ce0c04a Bug 909863. Add support for the [SameObject] extended attribute in WebIDL. r=khuey 2013-08-29 00:30:05 -04:00
Boris Zbarsky
2ad03e9425 Bug 901116. Give a better error message if the same name is typedeffed twice in WebIDL. r=khuey
We could also switch typedefs to using IDLWrapperType, but this seems like a smaller and still-sane change.
2013-08-29 00:30:05 -04:00
Boris Zbarsky
a95d98c40d Bug 901285. Allow trailing comma in WebIDL enums. r=khuey 2013-08-05 13:40:32 -04:00
Boris Zbarsky
9abf2f3dd0 Bug 900994. Add support for Func annotations on interface objects. r=smaug 2013-08-03 23:38:55 -04:00
Boris Zbarsky
75bbe6d667 Bug 892609. Implement support for [ArrayClass]. r=khuey 2013-07-30 22:28:30 -07:00
Ryan VanderMeulen
2a93f2cff1 Merge m-c to inbound. 2013-07-30 15:41:57 -04:00
Ryan VanderMeulen
6054b3a67b Merge m-c to fx-team. 2013-07-30 13:12:26 -04:00
Mina Almasry
cb2423ca33 Bug 897185 - toJSON only deals with attributes whose types are serializable. r=bz
Now jsonifiers only include serializable attributes in their returned object, as
per spec.
2013-07-30 10:04:04 -04:00
Boris Zbarsky
960d1ceb95 Bug 895728 part 2. Make booleans, numerics, and strings/enums all be distinguishable from each other. r=khuey 2013-07-30 10:39:34 -07:00
Boris Zbarsky
9a78937419 Bug 895728 part 1. Introduce "boolean" and "numeric" types, since those will be treated differently for purposes of distinguishability and overload resolution. r=khuey 2013-07-30 10:39:34 -07:00
Mina Almasry
a63f698217 Bug 872377 - Restore "toJSON" to list of reserved webidl keywords. r=bz
This patch makes toJSON a reserved webidl keyword, and changes the implementation of mozRTCSessionDescription to use a jsonifier.
2013-07-29 12:39:18 -04:00
David Zbarsky
a4a3a95214 Bug 865998: Implement WebIDL union return values r=bz 2013-07-26 11:25:54 -07:00
Mina Almasry
d88dc366d5 Bug 760851 - Add jsonifier WebIDL declaration and add toJSON to performance.timing. r=bz
This patch adds a jsonifier declaration to WebIDL's. The declaration adds an autogenerated method toJSON() on the given webidl. This patch also adds jsonifier and toJSON() to PerformanceTiming.webidl, and performance.timing, respectively.
2013-07-26 12:00:49 -04:00
Boris Zbarsky
520e6c7b89 Bug 884373. Align WebIDL handling of default parameters with ES6. r=khuey 2013-06-26 10:59:46 -04:00
James Kitchener
8740436c04 Bug 796850 - Implement WebIDL parser support for Bytestring r=bz 2013-06-13 01:15:35 -04:00
Boris Zbarsky
5f569d0d0e Bug 880367 part 3. Add support for [ChromeOnly] on interface objects. r=smaug 2013-06-13 01:12:37 -04:00
Boris Zbarsky
510f0068e6 Bug 880367 part 2. Make ordering of named constructors in codegen deterministic. r=smaug
I ran into this when looking at the diff in codegen from part 1.
2013-06-13 01:12:33 -04:00
Boris Zbarsky
4c44f5a456 Bug 829248. Implement basic support for [TreatUndefinedAs=Missing] in WebIDL. r=khuey
This does not add support for [TreatUndefinedAs=Missing] in overloaded
methods, since it's not clear what that should really look like.

This also does not require that [TreatUndefinedAs=Missing] on an
argument force it on all later arguments, since it's not clear that we
want that long-term.
2013-06-05 20:51:21 -04:00
Jan-Ivar Bruaroey
879514b941 Bug 823512: Part 4: Workaround for lack of serializer support (bug 863402). r=bz 2013-05-15 01:07:49 -04:00
Boris Zbarsky
b2aa4066b7 Bug 869014. Don't allow name collisions between external interfaces and other objects. r=khuey 2013-05-09 13:08:29 -04:00
Ryan VanderMeulen
882e4068d0 Backed out 6 changesets (bug 868996, bug 867903, bug 869014, bug 870219, bug 861587) for PGO bustage.
CLOSED TREE
2013-05-09 17:11:59 -04:00
Boris Zbarsky
6fce09f3c3 Bug 869014. Don't allow name collisions between external interfaces and other objects. r=khuey 2013-05-09 13:08:29 -04:00
Peter Van der Beken
6e95a2ccef Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz. 2013-04-20 18:04:09 +02:00
Ehsan Akhgari
cfa035fed9 Backed out 3 changesets (bug 855971, bug 820846) because of browser-chrome test failures
Backed out changeset a2245b038bcc (bug 855971)
Backed out changeset 2a999f8ee317 (bug 820846)
Backed out changeset 6dba144500f3 (bug 820846)
2013-05-04 19:27:20 -04:00
Peter Van der Beken
97c5edb4da Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz.
--HG--
extra : rebase_source : 12dbaff8dd2acfeee87bdfa738a013344cb1977a
2013-04-20 18:04:09 +02:00
Boris Zbarsky
1c19520dd5 Bug 742206 part 2. Implement WebIDL parser support for Date. r=smaug,khuey 2013-05-02 14:38:19 -04:00
Andrew McCreight
a6d222f8e6 Bug 851639 - Allow JS implemented WebIDL to be registered on window.navigator. r=bz 2013-04-30 13:30:25 -07:00
Reuben Morais
93be77a06c Bug 864578 - Follow up, fixing test.
--HG--
extra : rebase_source : ace505d178de7ce66e5733df74291b31471a0202
2013-04-22 18:22:47 -07:00
Reuben Morais
0cf9c2902c Bug 864578 - Allow NamedConstructor and NoInterfaceObject in the same interface. r=bz
--HG--
extra : rebase_source : 1c15c840a72539cfd97d54dbaef4908b1571aefa
2013-04-22 18:05:25 -07:00
Boris Zbarsky
afd40a2989 Bug 863386. Add support for nullable enum arguments and return values. r=mccr8
This incidentally fixes bug 843355
2013-04-19 23:04:19 -04:00
Olli Pettay
90a4da3e6f Bug 863094 - Infinity/-Infinity/NaN defaults for unrestricted types, r=bz
--HG--
extra : rebase_source : c2495008be9b084656222e6a0773c72d5224e9cc
2013-04-18 19:58:01 +03:00
Olli Pettay
71d1b54bf0 Bug 862983 - HeaderFile annotation for WebIDL interfaces, r=bz
--HG--
extra : rebase_source : f096c032342b71aeb42999f80241697c79037b7c
2013-04-17 23:29:09 +03:00
Boris Zbarsky
2d6c54904c Bug 859503. Make unknown extended attributes into parse errors. r=khuey 2013-04-10 13:49:06 -04:00
Boris Zbarsky
2c9bf141d0 Bug 852219 part 1. Don't mark JS-implemented interfaces with descendant interfaces as final. r=khuey,mccr8 2013-04-03 22:22:15 -04:00
David Zbarsky
f70b0584dd Bug 850958 - Implement instanceof without relying on nsIDOM interfaces r=bz 2013-03-18 19:14:39 -04:00
Andrew McCreight
5a11e9bf54 Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz 2013-03-18 16:05:51 -07:00
Andrew McCreight
d9111375e8 Bug 827486, part 1: add JSImplementation extended attribute. r=bz 2013-03-18 16:04:24 -07:00