Boris Zbarsky
850bc75523
Bug 991742 part 4. Remove the "scope" argument of WrapCallThisObject(). r=bholley
2014-04-08 18:27:15 -04:00
Boris Zbarsky
1ddecf17c2
Bug 991742 part 3. Remove the "scope" argument of WrapNativeParent(). r=bholley
2014-04-08 18:27:15 -04:00
Peter Van der Beken
ce11cbd2d8
Bug 993047 - Support outerizing and addProperty hooks on globals with WebIDL bindings. r=bz.
2014-02-15 22:12:33 +01:00
Jason Orendorff
7deea984ce
Bug 986492, part 1 - Add fill() convenience function to Codegen.py. r=peterv.
2014-04-04 17:03:11 -05:00
Eric Faust
20e02fae56
Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm)
2014-04-04 16:58:08 -07:00
Olli Pettay
5830bec8a2
Bug 991074 - Fix for "Assertion failure: JS_IsExceptionPending(cx), at ./EventListenerBinding.cpp:24". r=bz
2014-04-02 13:25:00 +02:00
Jason Orendorff
9ec4a1cc80
Bug 984883 - Make Codegen.py easier to read. r=bz.
2014-04-01 11:11:44 -05:00
Boris Zbarsky
494860e5db
Bug 958540 part 3. Switch the assignment operator on WebIDL unions to use SetAs*, not RawSetAs*, so you can use it to change the type of a union. r=dzbarsky
2014-04-01 01:58:27 -04:00
Boris Zbarsky
d7ba20efc9
Bug 958540 part 2. Rename the existing SetAs* methods on unions to RawSetAs* and add new SetAs* methods that ensure the right type for the union. r=dzbarsky
2014-04-01 01:58:27 -04:00
Boris Zbarsky
2344f7212e
Bug 958540 part 1. Factor out the uninit behavior of union structs into a separate method. r=dzbarsky
2014-04-01 01:58:27 -04:00
Boris Zbarsky
e60d8e5df4
Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley
2014-03-29 01:45:10 -04:00
Nathan Froyd
31a36e0b37
Bug 987457 - rename ProtoAndIfaceArray to ProtoAndIfaceCache; r=bz
2014-03-22 13:04:09 -04:00
Nathan Froyd
acf7ec5019
Bug 948445 - use different caching schemes for ProtoAndIfaceArray depending on the global kind; r=bz
2013-12-10 16:04:55 -05:00
Boris Zbarsky
8d0b304b0f
Bug 987110. Disallow dictionary members that would shadow Object.prototype properties. r=bholley
2014-03-25 22:48:46 -04:00
Jeff Walden
21a8aca621
Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
2014-03-20 23:24:21 -07:00
Boris Zbarsky
60490183a1
Bug 983300 part 4. Convert exceptions in static methods returning promises into rejected promises. r=khuey,efaust
2014-03-21 12:18:24 -04:00
Boris Zbarsky
e4707668a6
Bug 983300 part 3. Convert exceptions in specialized methods returning promises into rejected promises. r=khuey, efaust
2014-03-21 12:18:24 -04:00
Boris Zbarsky
7cf9453668
Bug 983300 part 2. Introduce a GenericPromiseReturningBindingMethod for methods that return Promise return value. r=khuey,bholley
...
This method effectively catches exceptions from GenericBindingMethod and converts them into rejected promises. This handles calls to Promise-returning APIs from everything except Ion fast paths.
2014-03-21 12:18:24 -04:00
Boris Zbarsky
23b75ee805
Bug 983261. Improve example codegen for non-leaf and non-root interfaces. r=khuey
2014-03-20 23:19:43 -04:00
Boris Zbarsky
a46ca7775b
Bug 976305. Use the callee, not the irrelevant this value, to figure out the GlobalObject for a static WebIDL method. r=bholley
2014-03-20 23:19:43 -04:00
Jeff Walden
ed39edd6e6
Back out bug 985687, likely cause of js1_8_5/extensions/recursion.js cantankering. r=CLOSED TREE
2014-03-20 16:39:30 -07:00
Jeff Walden
4bf95e0992
Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
2014-03-11 12:03:56 -07:00
Birunthan Mohanathas
0e4a403839
Bug 984112 - Part 2: Use JS::CallArgs functions instead of JS_CALLEE in Codegen.py. r=bz
2014-03-19 13:05:04 -04:00
Peter Van der Beken
c705131771
Bug 983620 - Remove the unused aScope argument from WrapGlobalObject. r=bz.
2014-02-05 22:09:18 +01:00
Boris Zbarsky
f74df72c75
Bug 983228. Add a sequence tracer for sequences of unions. r=baku
2014-03-14 14:51:22 -04:00
Boris Zbarsky
f1e1008a27
Bug 983264. Include callback headers in UnionTypes.h when a callback is used in a union. r=mccr8
2014-03-14 14:51:06 -04:00
Boris Zbarsky
a6aaa4bae1
Bug 983029. Make sure to observe stack discipline for Rooted when initializing a WebIDL union containing the 'object' type. r=khuey
2014-03-14 14:50:39 -04:00
Boris Zbarsky
68a6b80c14
Bug 981036 followup. Actually add the comment that was asked for. DONTBUILD
2014-03-10 21:38:04 -04:00
Boris Zbarsky
a0d9a4d846
Bug 981036. Disallow calling DOM constructors as functions in non-release builds. r=bholley
2014-03-10 17:38:31 -04:00
Boris Zbarsky
93a15d5709
Bug 874788. Allow WebIDL HTMLAllCollection to emulate undefined. r=peterv
2014-03-05 22:48:04 -05:00
Boris Zbarsky
e02f5ced58
Bug 874787. Add support for legacycaller on proxy bindings. r=efaust,peterv
2014-03-05 22:48:03 -05:00
Masayuki Nakano
509005c5c3
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
2014-03-05 09:37:43 +09:00
Bobby Holley
7ee6820e4c
Bug 916644 - Disable invoking WebIDL constructors without |new| unless you have the system principal. r=bz
2014-03-04 10:05:08 -08:00
Jeff Walden
135d591c4f
Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence
2014-02-12 23:38:36 -08:00
Boris Zbarsky
0cdc86ed6a
Bug 952890 part 1. Make WebIDL sequence JS to C++ conversions use for-of iteration, not length/index gets. r=peterv
2014-02-14 10:46:09 -05:00
Andrea Marchesini
6bce99a2d5
Bug 965860 - patch 7 - Console API in workers, r=khuey
2014-02-27 23:39:30 +00:00
Benjamin Bouvier
883cd0b123
Bug 939843: Required changes in the rest of the tree; r=froydnj
2014-02-27 16:23:16 +01:00
Boris Zbarsky
ff43d3c268
Bug 974284. Do a better job of commoning up identical cases in overload resolution for WebIDL methods. r=khuey
2014-02-27 07:54:33 -05:00
Boris Zbarsky
70e2894d17
Bug 962256 yet another part. Eliminate some unnecessary roots in HTMLDocumentBinding::DOMProxyHandler::get. r=bholley
2014-02-26 12:40:57 -05:00
Boris Zbarsky
e38a37a875
Back out revision c35458a437cc (bug 976305) for breaking DataStore tests. r=orange
2014-02-25 18:52:21 -05:00
Boris Zbarsky
92c71d0845
Bug 976305. Use the callee, not the irrelevant this value, to figure out the GlobalObject for a static WebIDL method. r=bholley
2014-02-25 17:26:16 -05:00
Boris Zbarsky
eb70e8c342
Bug 972312 part 1. Generate virtual As*Event functions on WebIDL events so that we can easily go from an nsDOMEvent to the relevant event subtype. r=smaug
2014-02-23 00:01:12 -05:00
Boris Zbarsky
cffedad1d1
Bug 970764. Remove support for non-optional "any" arguments values, since "any" needs to be able to include undefined anyway. Have "any" arguments and dictionary entries default to undefined unless the IDL explicitly says "= null". r=khuey
2014-02-19 10:13:38 -05:00
Bobby Holley
726a217158
Bug 968335 - Implement GetCallerPrincipalOverride. r=bz
2014-02-14 22:36:44 -08:00
Phil Ringnalda
e9a6a87759
Back out 4fc776ee6852:6a0ebe4ddd01 (bug 968335) and e7d697004921 (bug 923904) for b2g emulator build bustage
...
CLOSED TREE
2014-02-14 18:35:30 -08:00
Bobby Holley
dc70024a38
Bug 968335 - Implement GetCallerPrincipalOverride. r=bz
2014-02-14 16:13:38 -08:00
Boris Zbarsky
84bfba7256
Back out bug 952890, since the dependencies aren't fixed yet.
2014-02-14 10:50:19 -05:00
Boris Zbarsky
660e604fe4
Bug 952890 part 1. Make WebIDL sequence JS to C++ conversions use for-of iteration, not length/index gets. r=peterv
2014-02-14 10:46:09 -05:00
Jon Coppeard
a449f1f033
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Jon Coppeard
0df72e25fb
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00