Ryan VanderMeulen
a8d9d886c1
Merge m-c to fx-team.
2013-07-30 13:12:26 -04:00
Mina Almasry
4dde351fb6
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
af3f309007
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
3ec2364ec9
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
0525275c15
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
26e71beaca
Bug 865998: Implement WebIDL union return values r=bz
2013-07-26 11:25:54 -07:00
Mina Almasry
095ca36c10
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
d0b90b86d7
Bug 884373. Align WebIDL handling of default parameters with ES6. r=khuey
2013-06-26 10:59:46 -04:00
James Kitchener
b0133eec3e
Bug 796850 - Implement WebIDL parser support for Bytestring r=bz
2013-06-13 01:15:35 -04:00
Boris Zbarsky
9f0fc4f039
Bug 880367 part 3. Add support for [ChromeOnly] on interface objects. r=smaug
2013-06-13 01:12:37 -04:00
Boris Zbarsky
3d0b42eb7d
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
67d8dd39ad
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
309204ff45
Bug 823512: Part 4: Workaround for lack of serializer support (bug 863402). r=bz
2013-05-15 01:07:49 -04:00
Boris Zbarsky
c6c7ea7db7
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
c804b855d7
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
eeca984596
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
2f146c3949
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
e3fcf0dbea
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
47ed4524d2
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
Boris Zbarsky
a0650bd764
Bug 742206 part 2. Implement WebIDL parser support for Date. r=smaug,khuey
2013-05-02 14:38:19 -04:00
Andrew McCreight
22e84e9e87
Bug 851639 - Allow JS implemented WebIDL to be registered on window.navigator. r=bz
2013-04-30 13:30:25 -07:00
Reuben Morais
fb232875a2
Bug 864578 - Allow NamedConstructor and NoInterfaceObject in the same interface. r=bz
2013-04-22 18:05:25 -07:00
Boris Zbarsky
acdaeaa737
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
4a7d22c15e
Bug 863094 - Infinity/-Infinity/NaN defaults for unrestricted types, r=bz
2013-04-18 19:58:01 +03:00
Olli Pettay
da892e9a82
Bug 862983 - HeaderFile annotation for WebIDL interfaces, r=bz
2013-04-17 23:29:09 +03:00
Boris Zbarsky
c062555ef5
Bug 859503. Make unknown extended attributes into parse errors. r=khuey
2013-04-10 13:49:06 -04:00
Boris Zbarsky
033523f574
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
7a20ee9102
Bug 850958 - Implement instanceof without relying on nsIDOM interfaces r=bz
2013-03-18 19:14:39 -04:00
Andrew McCreight
3e4ff67145
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
b318f4530c
Bug 827486, part 1: add JSImplementation extended attribute. r=bz
2013-03-18 16:04:24 -07:00
Kyle Huey
141e90d173
Back out Bug 827486 for PGO bustage. CLOSED TREE
2013-03-18 13:00:00 -07:00
Andrew McCreight
1a7f567c7e
Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz
2013-03-18 10:19:42 -07:00
Andrew McCreight
ec2d6b7db9
Bug 827486, part 1: add JSImplementation extended attribute. r=bz
2013-03-18 10:19:41 -07:00
Phil Ringnalda
3be0b7fa5a
Back out 2ea5f267af77:218356c595fc (bug 827486) for Windows builds dying with an obscure "MemoryError"
...
CLOSED TREE
2013-03-17 16:40:54 -07:00
Andrew McCreight
8a18928fa7
Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz
2013-03-17 09:56:13 -07:00
Andrew McCreight
3f71cd9e34
Bug 827486, part 1: add JSImplementation extended attribute. r=bz
2013-03-17 09:55:14 -07:00
Boris Zbarsky
d12e208620
Bug 843627 part 2. Implement the WebIDL API for <embed> and <applet>. r=peterv
2013-03-17 10:42:03 -04:00
Phil Ringnalda
9effe60dd2
Back out f408dd29944c:db5c280d1907 (bug 827486) for probably having needed a clobber
...
CLOSED TREE
2013-03-16 18:16:37 -07:00
Andrew McCreight
89e60d3597
Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz
2013-03-16 16:22:23 -07:00
Andrew McCreight
7546d78767
Bug 827486, part 1: add JSImplementation extended attribute. r=bz
2013-03-16 16:22:22 -07:00
Boris Zbarsky
585c171c52
Bug 837339. Re-disallow nullable dictionary members inside dictionaries. r=khuey
2013-03-14 15:42:59 -04:00
Pranav Ravichandran
1d76bd6081
Bug 847928 - Element type of a WebIDL array must not be a sequence or dictionary type. r=bzbarsky
2013-03-06 13:06:23 -05:00
Boris Zbarsky
85ea82871f
Bug 827158 part 8. Implement legacycaller support in WebIDL. r=peterv
2013-03-04 14:08:24 -05:00
Pranav Ravichandran
99b9471077
Bug 836816 - WebIDL parser should enforce spec restrictions on dictionary member types. r=bzbarsky
2013-02-27 09:55:56 -05:00
Kyle Huey
ae52a4b608
Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted
2013-02-24 12:36:44 -08:00
Phil Ringnalda
ba896daee5
Back out cd8481cc4a32 (bug 784812) for make check failures
2013-02-24 14:10:48 -08:00
Kyle Huey
ed325b887e
Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted CLOSED TREE
2013-02-24 12:36:44 -08:00
Kyle Huey
298458b894
Backed out changeset a71766c2c85d
2013-02-24 12:33:36 -08:00
Kyle Huey
97ac18ed2f
Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted
2013-02-24 12:03:03 -08:00
Peter Van der Beken
715d9242cf
Fix for bug 825628 (Implement NamedConstructor) - add codegen support for NamedConstructor. r=bz.
2013-01-22 11:51:15 +01:00