Boris Zbarsky
8dc16c4e9d
Bug 839088 part 3. Add a way for callers of callback methods to ask for any exceptions from the callback to be rethrown on the ErrorResult. r=peterv
2013-02-19 11:54:40 -05:00
Boris Zbarsky
decf5a0cbd
Bug 839088 part 2. Add way to indicate to a CallSetup that it should propagate any exceptions thrown during the call out to the ErrorResult for the call. r=peterv
2013-02-19 11:54:40 -05:00
Boris Zbarsky
15e362a06e
Bug 839088 part 1. Add a way to throw a JS::Value on an ErrorResult. r=peterv
2013-02-19 11:54:40 -05:00
Boris Zbarsky
9cf29a69f1
Bug 841404. Make sure that we treat dictionaries inside sequence and array members of a dictionary as dependencies for it. r=peterv
2013-02-17 11:22:11 -05:00
Peter Van der Beken
8c1790590c
Fix for bug 838269 (Support cross-global |... instanceof DOMInterface|). r=bz.
2013-01-08 19:05:36 +01:00
Boris Zbarsky
81d3d8bf8e
Bug 836850. Allow a single C++ class to implement multiple WebIDL interfaces. r=peterv
2013-02-08 12:20:11 +00:00
Peter Van der Beken
6c577c96b6
Fix for bug 838228 (toString on an Xray for an interface object should stringify like Function.prototype.toString). r=bz.
2013-02-01 15:33:58 +01:00
Boris Zbarsky
f85ddb4367
Bug 837645. Support 'any' values in sequences and dictionaries. r=smaug,peterv
2013-02-06 14:23:45 +00:00
Boris Zbarsky
9bb27a3241
Bug 830992 part 2. Switch DOMTransaction to WebIDL codegen. r=wchen,peterv
2013-02-06 09:42:33 +00:00
Robert O'Callahan
8dd7563391
Bug 832788. Part 5: Add suffixes for large integer literals. r=bz
2013-01-30 18:20:53 +13:00
Boris Zbarsky
f6a2cf11df
Bug 835417 part 2. Implement WebIDL parser and codegen support for marking things pure. r=peterv
2013-01-29 17:53:53 -05:00
Boris Zbarsky
8c5e11f7ab
Bug 834877 part 2. Start using DOMString as the return value for strings. r=peterv
2013-01-29 09:42:14 -05:00
Boris Zbarsky
486543d662
Bug 829252 part 3. When wrapping things with an nsISupports in XPCWrappedJS for WebIDL callback interfaces, use the aggregated version. r=peterv
2013-01-29 08:44:01 -05:00
Boris Zbarsky
b114ad6656
Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv
2013-01-28 23:30:17 -05:00
Phil Ringnalda
fe0ef5935d
Back out c5238879470f and b3cabb259af7 (bug 830099) for bustage
2013-01-28 22:36:59 -08:00
Boris Zbarsky
f672cb83e8
Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv
2013-01-28 23:30:17 -05:00
Boris Zbarsky
4911e4e851
Bug 795896. Speed up UnwrapProxy, since we know what we have there is either an Xray or our proxy. r=peterv
2013-01-28 23:29:25 -05:00
Ehsan Akhgari
d6084fc28e
Backed out changeset 19b9f064d8eb (bug 795896) because of build bustage
2013-01-28 23:51:11 -05:00
Ehsan Akhgari
c6d201a911
Backed out changeset 32786d29daf8 (bug 830099) because of build bustage
2013-01-28 23:51:03 -05:00
Boris Zbarsky
f6e40ae061
Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv
2013-01-28 23:30:17 -05:00
Boris Zbarsky
32e627f9ca
Bug 795896. Speed up UnwrapProxy, since we know what we have there is either an Xray or our proxy. r=peterv
2013-01-28 23:29:25 -05:00
Peter Van der Beken
cefe1bd88b
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
2012-12-03 17:07:49 +01:00
Boris Zbarsky
0c58fed600
Bug 822470 part 7. Use new callback codegen for conversion to and from JS. r=peterv
...
NodeFilter, EventListener, and DOMTransaction will be updated to use the new codegen once we've fixed the consumers.
2013-01-28 08:34:31 -05:00
Boris Zbarsky
60ae19b5a5
Bug 822470 part 6. Hook up callback interface codegen. r=peterv
2013-01-28 08:34:30 -05:00
Boris Zbarsky
3dc0b1df66
Bug 822470 part 5. Refactor callback codegen so it can be reused for callback interfaces too. r=peterv
2013-01-28 08:34:30 -05:00
Boris Zbarsky
a47df3c999
Bug 822470 part 3. Include headers as needed for callback interfaces. r=peterv
2013-01-28 08:34:30 -05:00
Boris Zbarsky
1065a5d54f
Bug 822470 part 1. Factor out the code that callback functions and callback interfaces will be able to share into a CallbackObject class. r=peterv
2013-01-28 08:34:29 -05:00
Ed Morley
f91e010656
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
87d44d16e4
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
2012-12-03 17:07:49 +01:00
Steve Fink
ed62b6f44e
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Steve Fink
27634e6f07
Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!)
2013-01-18 13:20:21 -08:00
Steve Fink
466f61a3c6
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Boris Zbarsky
48f7ec0abc
Bug 830614. Wrapping a wrappercached WebIDL object should watch out for reentry via WrapNativeParent. r=peterv
2013-01-15 14:04:24 -05:00
Mats Palmgren
7532b4e736
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Ehsan Akhgari
1df67d29f4
Bug 828000 - Don't generate the `isNull' local variable if it's not needed; r=bzbarsky
2013-01-08 16:29:52 -05:00
Jeff Walden
5c53f406c8
Bug 826447 - Change all the proxy API signatures to take unsigned flags, rather than bool set, so that it's easier to find all tests of JSRESOLVE_ASSIGNING. r=bz
2013-01-03 15:31:36 -06:00
Boris Zbarsky
c3fd4fe3ba
Bug 824823 part 7. Implement WebIDL CharacterData API on nsGenericDOMDataNode. r=peterv
2013-01-04 12:02:14 -05:00
Boris Zbarsky
3fbe9ce75c
Bug 820665 part 3. WebIDL spec updates to changes in how callback interfaces work. r=khuey
...
Specifically, any object that's not a Date or RegExp can implement a callback interface.
2013-01-03 14:03:11 -05:00
Boris Zbarsky
ab4488d63c
Bug 820665 part 2. WebIDL spec updates to changes in how callback functions work. r=khuey
...
Specifically, all callables can be converted to a callback, including
in overload resolution and union conversions. We already did this for
normal callback arguments, but not the overload/union case.
2013-01-03 14:03:06 -05:00
Boris Zbarsky
434d56ef51
Bug 820665 part 1. More WebIDL spec updates to changes in how dictionaries work. r=khuey
...
Specifically, the following changes:
1) A union that includes a dictionary and is the last non-optional
argument must actually be marked optional, just like a dictionary
argument.
2) Disallow a union from containing both a nullable type and a dictionary.
3) Now all non-Date and non-RegExp objects can be used as dictionaries,
including from overload resolution and union conversion.
We don't support dictionaries inside unions yet, or unions as
distinguishing args, so the spec changes to do with converting null to
dictionaries inside a union or picking the union overload if there is
a union containing a dictionary and null is the distinguishing arg
value are not relevant to us so far.
2013-01-03 14:03:00 -05:00
Boris Zbarsky
f292a26f91
Bug 818050. Teach the JIT about DOM method and getter return types so that it doesn't have to type-guard when unboxing the boxed value in many cases. r=jandem,peterv
2013-01-03 14:02:52 -05:00
Boris Zbarsky
364732cbfd
Bug 821177. [TreatNonCallableAsNull] should only affect attribute setters. r=khuey
2013-01-02 22:03:25 -05:00
Boris Zbarsky
61b9141409
Bug 819845. Update WebIDL bindings to spec change: sequences/arrays are no longer distinguishable from dictionaries, and conversion to a sequence works on arbitrary objects. r=khuey
2013-01-02 22:03:25 -05:00
Masatoshi Kimura
1050b1829e
Bug 824247 - Part 2: Fix common source of warning span (dom/bindings). r=khuey
2013-01-03 00:55:55 +09:00
Boris Zbarsky
63f3f145a4
Bug 824824. Add support for passing multiple touches as arguments to createTouchList. r=mbrubeck,peterv
2012-12-31 10:37:22 -08:00
Boris Zbarsky
f4ef32b709
Bug 825025. MaybeWrapValue should work with all gcthings. r=peterv
2012-12-29 22:13:26 -08:00
Jeff Walden
6054ca7e90
Bug 823283 - Remove all remaining uses of JSRESOLVE_QUALIFIED, and the few remaining tests (which were pretty much purely diagnostic). r=luke
2012-09-15 11:19:55 -07:00
Boris Zbarsky
3d9293aea8
Bug 816421. Make Document.visibilityState a WebIDL enum. r=peterv
...
A lot of the changes here are just so I can actually build after including DocumentBinding.h in nsIDocument.h
2012-12-25 14:00:15 -08:00
Ms2ger
7895a51c46
Merge PGO-green changeset from inbound to m-c.
2012-12-22 12:06:37 +01:00
Ms2ger
832702b14c
Bug 823088 - Add a static assertion that bindings with descriptor.nativeOwnership == 'nsisupports' inherit from nsISupports; r=bz
2012-12-22 09:18:11 +01:00