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
Nathan Froyd
0f7caf12a9
Bug 970507 - mark generated DOMIfaceAndProtoJSClass instances as const; r=bz
2014-02-10 15:11:58 -05:00
Nathan Froyd
c7ba0e4433
Bug 957175 - reduce relocations required by NamesOfInterfacesWithProtos; r=bz
2014-02-10 10:24:38 -05:00
Jon Coppeard
aa8fe2dffe
Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug
2014-02-11 10:59:16 +00:00
Nathan Froyd
edd53f27d4
Bug 969022 - remove s*_ids static constructors by explicitly tracking id initialization state; r=bz
2014-02-06 15:05:30 -05:00
Boris Zbarsky
48a770c661
Bug 956806 part 2. Share generic getters/setters/methods across all bindings. r=peterv
2014-02-07 15:56:14 -05:00
Boris Zbarsky
81a125b13c
Bug 956806 part 1. Output a list of prototype names in PrototypeList.cpp. r=peterv
2014-02-07 15:50:23 -05:00
Boris Zbarsky
abdc1f21f3
Bug 965927. [StoreInSlot] and [Cached] getters should use the reflector as the scope obj when wrapping the return value. r=peterv
2014-02-06 21:08:29 -05:00
Boris Zbarsky
86186064bf
Bug 968665. Get rid of MainThreadDictionaryBase and the dictionary bits in DummyBinding, since we now codegen a single version of dictionaries for both mainthread and workers. r=khuey
2014-02-06 21:08:28 -05:00
Ehsan Akhgari
0ba8e17a78
Bug 968643 - Part 2: Remove the [PrefControlled] WebIDL annotation; r=bzbarsky
2014-02-06 13:28:35 -05:00
Boris Zbarsky
4b86fb518b
Bug 964875 part 1. Add a WebIDL ChromeWindow interface for use in instanceof once Window is on WebIDL bindings. r=peterv
2014-02-05 23:36:57 -05:00
Boris Zbarsky
2fd5e92c4e
Bug 967694. Don't generate Xray resolveOwnProperty/enumerateOwnProperties hooks on WebIDL Xrays for plugin-loading elements, because those elements really only want to have the hook called when they're being touched by script from the same website. r=bholley
2014-02-05 13:38:18 -05:00
Boris Zbarsky
02df2cf5eb
Bug 965094. Reconcile the behavior of the JSObject* argument for Func on interfaces and on interface members. r=bholley
2014-02-05 13:38:18 -05:00
Boris Zbarsky
e11ff60eda
Bug 963380. Improve codegen for [Cached] and [StoreInSlot] attributes that have multiple wrapping paths to have less duplicated code. r=peterv
2014-02-05 13:38:17 -05:00
Boris Zbarsky
54b177544d
Bug 958667 part 5. Hook up AvailableIn for interface members. r=peterv
2014-02-05 13:38:17 -05:00