Nathan Froyd
23709854ea
Bug 987457 - rename ProtoAndIfaceArray to ProtoAndIfaceCache; r=bz
2014-03-22 13:04:09 -04:00
Nathan Froyd
bfa7382195
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
7b6eb470fb
Bug 987110. Disallow dictionary members that would shadow Object.prototype properties. r=bholley
2014-03-25 22:48:46 -04:00
Jeff Walden
d3340fc45f
Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
...
--HG--
extra : rebase_source : 9e4bd270925efb155dacb91470b617f169526824
2014-03-20 23:24:21 -07:00
Boris Zbarsky
f8115c0dde
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
51d9175a36
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
4b7f853a76
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
a8103d552c
Bug 983261. Improve example codegen for non-leaf and non-root interfaces. r=khuey
2014-03-20 23:19:43 -04:00
Boris Zbarsky
0708700fcb
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
c1673141f3
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
3d1397e2b2
Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
...
--HG--
extra : rebase_source : 4a9d1d783e658648c4ff210760b38f8353631458
2014-03-11 12:03:56 -07:00
Birunthan Mohanathas
dca15fad8e
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
7ddc350148
Bug 983620 - Remove the unused aScope argument from WrapGlobalObject. r=bz.
2014-02-05 22:09:18 +01:00
Boris Zbarsky
2f0c359fd1
Bug 983228. Add a sequence tracer for sequences of unions. r=baku
2014-03-14 14:51:22 -04:00
Boris Zbarsky
6cd11c42fa
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
bbf277fb09
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
37956d4eb4
Bug 981036 followup. Actually add the comment that was asked for. DONTBUILD
2014-03-10 21:38:04 -04:00
Boris Zbarsky
bd39425edd
Bug 981036. Disallow calling DOM constructors as functions in non-release builds. r=bholley
2014-03-10 17:38:31 -04:00
Boris Zbarsky
29e21af8b1
Bug 874788. Allow WebIDL HTMLAllCollection to emulate undefined. r=peterv
2014-03-05 22:48:04 -05:00
Boris Zbarsky
94e63969a7
Bug 874787. Add support for legacycaller on proxy bindings. r=efaust,peterv
2014-03-05 22:48:03 -05:00
Masayuki Nakano
d26caa0d74
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
...
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Bobby Holley
c96d59f157
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
5a7db86560
Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence
...
--HG--
extra : rebase_source : 58b87df07373a7811136682b128aea67f04446cd
2014-02-12 23:38:36 -08:00
Boris Zbarsky
c9d6e0595e
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
27aa10cd04
Bug 965860 - patch 7 - Console API in workers, r=khuey
2014-02-27 23:39:30 +00:00
Benjamin Bouvier
470398b6d7
Bug 939843: Required changes in the rest of the tree; r=froydnj
...
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
Boris Zbarsky
6a83088182
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
54b6eab72f
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
c2283f49a9
Back out revision c35458a437cc (bug 976305) for breaking DataStore tests. r=orange
2014-02-25 18:52:21 -05:00
Boris Zbarsky
760d08fda8
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
cf34412533
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
2166b04394
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
c1aac455ec
Bug 968335 - Implement GetCallerPrincipalOverride. r=bz
2014-02-14 22:36:44 -08:00
Phil Ringnalda
d66d0a8ba2
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
87fced96fc
Bug 968335 - Implement GetCallerPrincipalOverride. r=bz
2014-02-14 16:13:38 -08:00
Boris Zbarsky
e929ede0ba
Back out bug 952890, since the dependencies aren't fixed yet.
2014-02-14 10:50:19 -05:00
Boris Zbarsky
28bfb81241
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
8136579d75
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Jon Coppeard
52381adba2
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Nathan Froyd
3edbced6b9
Bug 970507 - mark generated DOMIfaceAndProtoJSClass instances as const; r=bz
2014-02-10 15:11:58 -05:00
Nathan Froyd
7f92d77d8b
Bug 957175 - reduce relocations required by NamesOfInterfacesWithProtos; r=bz
2014-02-10 10:24:38 -05:00
Jon Coppeard
60baf94ae8
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
b32b109033
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
9ba0ae8d76
Bug 956806 part 2. Share generic getters/setters/methods across all bindings. r=peterv
2014-02-07 15:56:14 -05:00
Boris Zbarsky
2292f3d2fe
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
e698cf1909
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
0086cc6b41
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
17afb3cc47
Bug 968643 - Part 2: Remove the [PrefControlled] WebIDL annotation; r=bzbarsky
2014-02-06 13:28:35 -05:00
Boris Zbarsky
a756bb64f1
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
d725d76e5d
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