Boris Zbarsky
cb305cfb7a
Bug 845666. Add support for sequences containing other sequences (or dictionaries containing sequences) to WebIDL. r=peterv
...
This keeps simple sequence arguments and variadics using an auto array, while everything else uses a non-auto array.
2013-03-02 01:07:43 -05:00
Peter Van der Beken
f7e510d602
Fix for bug 842799 (|Document.prototype instanceof Node| inside <script> returns false). r=bz.
2013-02-22 10:25:24 +01:00
Boris Zbarsky
3c2adc682a
Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
...
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Ryan VanderMeulen
9d1831e75b
Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
2013-02-28 14:41:30 -05:00
Boris Zbarsky
697b96580b
Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
...
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Boris Zbarsky
650f94470f
Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv
2013-02-26 15:10:15 -05:00
Boris Zbarsky
eb23c0b868
Back out changeset 1c851a5bbc9f (bug 838686) because it depends on a changeset gcc doesn't like
2013-02-26 15:34:25 -05:00
Boris Zbarsky
d42046307b
Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv
2013-02-26 15:10:15 -05:00
Peter Van der Beken
b89b9b1926
Fix for bug 844559 (Crash [@ mozilla::dom::XrayResolveNativeProperty]). r=bz.
2013-02-25 20:39:15 +01: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
Boris Zbarsky
83fad0276e
Bug 842561. Assert that our inheritance chain is correct for WebIDL objects. r=peterv
...
We could drop the descriptor for Text if we changed nsIDocument::CreateTextNode
to return an already_AddRefed<Text>, but then we'd need more casting in
nsDocument.cpp for the XPCOM CreateTextNode. Not sure which way is better,
really.
2013-02-22 09:56:29 -05:00
Ryan VanderMeulen
6a966d0b7e
Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE.
2013-02-22 15:30:06 -05:00
Boris Zbarsky
81c78b8c60
Bug 842561. Assert that our inheritance chain is correct for WebIDL objects. r=peterv
...
We could drop the descriptor for Text if we changed nsIDocument::CreateTextNode
to return an already_AddRefed<Text>, but then we'd need more casting in
nsDocument.cpp for the XPCOM CreateTextNode. Not sure which way is better,
really.
2013-02-22 09:56:29 -05: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
Boris Zbarsky
ed32d9c8fa
Bug 838691 part 3. Switch touch event handler attributes to using a function to check whether they're enabled. r=peterv
2013-02-19 11:54:41 -05:00
Boris Zbarsky
848df9326c
Bug 838691 part 2. Add codegen support for calling a function to determine whether a property should be exposed in a WebIDL binding. r=peterv
2013-02-19 11:54:40 -05:00
Boris Zbarsky
da102c62d0
Bug 838691 part 1. Add support in Prefable for calling a function to determine whether a property should be exposed in a WebIDL binding. r=peterv
2013-02-19 11:54:40 -05:00
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