Boris Zbarsky
f4496f1213
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Peter Van der Beken
f8bdcc83b0
Bug 1016960 - make |instanceof WebIDLInterface| work with outer windows. r=bz.
2014-05-28 22:45:37 +02:00
Reuben Morais
2d48305b9f
Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz
2014-05-25 15:31:07 -03:00
Fabrice Desré
e5f8ec9184
Bug 952486 - backout for breaking all device and emulator builds (keeping dom reviewer to land the backout...) r=bz
2014-05-26 12:11:52 -07:00
Reuben Morais
567a90fb0a
Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz
2014-05-25 15:31:07 -03:00
Birunthan Mohanathas
9f41043f62
Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan
2014-05-22 06:48:51 +03:00
Peter Van der Beken
39de678672
Bug 1013796 - Make TraceGlobal deal with partially created global object. r=bz.
2014-05-20 21:44:49 +02:00
Boris Zbarsky
7f77b58b3c
Bug 1010658 part 2. Stop storing a DOMClass* in a slot on DOM prototypes. r=peterv
2014-05-19 16:37:59 -04:00
Boris Zbarsky
77c0244798
Bug 1010658 part 1. Stop using the DOMClass stored in DOM_PROTO_INSTANCE_CLASS_SLOT for doing type checks in the jit, and do them directly on the instance classes instead. r=efaust
2014-05-19 16:37:59 -04:00
Boris Zbarsky
de424c29ee
Bug 1008236. Assert that binding generic getters/setters/methods return values that match the return type claimed in the jitinfo. r=smaug
2014-05-15 10:26:23 -07:00
Bill McCloskey
0f7f7b7bb9
Bug 996785 - Move global CPOW functions to top level (r=mrbkap)
2014-05-16 16:40:35 -07:00
Ryan VanderMeulen
be6ccfea53
Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE.
2014-05-16 12:29:37 -04:00
Boris Zbarsky
546b2b5241
Bug 1008236. Assert that binding generic getters/setters/methods return values that match the return type claimed in the jitinfo. r=smaug
2014-05-15 10:26:23 -07:00
Ryan VanderMeulen
60a495241a
Backed out 4 changesets (bug 1008236, bug 1010344, bug 1004458, bug 1008719) for mochitest crashes on a CLOSED TREE.
...
Backed out changeset 28ecab881472 (bug 1008719)
Backed out changeset 7eebcecb7e26 (bug 1004458)
Backed out changeset 17ea7f2276ac (bug 1010344)
Backed out changeset 184ead7f6e37 (bug 1008236)
2014-05-15 14:24:12 -04:00
Boris Zbarsky
0bd67fbdc2
Bug 1008236. Assert that binding generic getters/setters/methods return values that match the return type claimed in the jitinfo. r=smaug
2014-05-15 10:26:23 -07:00
Nick Lebedev
73bcee2ac4
Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley
2014-05-13 11:58:00 +02:00
Peter Van der Beken
b972223634
Bug 1005978 - Add infrastructure to create main-thread WebIDL globals with XPConnect. r=bz.
2014-04-08 20:48:37 +02:00
Peter Van der Beken
cd35514e94
Bug 1005898 - Make WebIDL properties on all globals own properties. r=bz.
2014-02-15 22:12:34 +01:00
Alexandre Lissy
b956e240f1
Bug 967475 - Implement mozChromeNotifications API. r=mhenretty,bent
2014-05-08 23:16:00 +02:00
Wes Kocher
8f6d0bb569
Backed out changeset 21d743a319c6 (bug 967475) for apparently introducing two hazards to the build
2014-05-08 16:06:40 -07:00
Alexandre Lissy
bfb764e5b6
Bug 967475 - Implement mozChromeNotifications API. r=mhenretty, r=bent
2014-05-08 10:07:00 -04:00
Rodrigo Rodriguez Jr.
ed3320f992
Bug 952650 (part 8) - Remove JSVAL_TO_STRING. r=njn.
2014-04-27 19:45:46 -07:00
Jason Orendorff
f2f8b6fca8
Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo.
2014-04-25 16:11:02 -05:00
Terrence Cole
ccf4d8dd9b
Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
2014-01-21 18:11:17 -08:00
Jon Coppeard
e22060b314
Bug 912581 - Make JS_Add*Root APIs take Heap<T> r=terrence r=bz r=bholley
2014-04-16 09:47:57 +01:00
Bobby Holley
efd3ebcfce
Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz
2014-04-14 20:27:00 -07:00
Boris Zbarsky
603825e452
Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley
2014-04-10 00:58:43 -04:00
Boris Zbarsky
9462dfc340
Bug 991742 part 9. Remove the "scope" argument of WrapNewBindingObject. r=bholley
2014-04-08 18:27:19 -04:00
Boris Zbarsky
b95c359828
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
1ee5502763
Bug 991742 part 1. Enter the compartment of the current wrapper before we try to reparent objects. r=bholley
...
This lets us preserve some invariants about our current compartment matching the scope we want to wrap into.
2014-04-08 18:27:15 -04:00
Peter Van der Beken
85f57eac94
Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL, followup to deal with review comment. r=bz.
2014-04-08 20:39:38 +02:00
Peter Van der Beken
24d04f8dba
Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
2014-02-15 22:12:33 +01:00
Ehsan Akhgari
5d3695b5e5
Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky
2014-03-28 00:03:03 -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
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
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
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
Birunthan Mohanathas
b4e6f2a0bb
Bug 984112 - Part 1: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...}, argc in dom/. r=bz
2014-03-19 13:05:04 -04:00
Bobby Holley
60d1981574
Bug 825392 - Remove SOWs. r=bz
2014-03-19 13:35:45 -03:00
Peter Van der Beken
f6e3a94725
Backout 8aca83520a91 (bug 983619) to fix orange/red on a CLOSED TREE.
2014-03-17 20:27:53 +01:00
Peter Van der Beken
d55b5178dd
Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
2014-02-15 22:12:33 +01:00
Jon Coppeard
d6bc187672
Bug 959787 - Handlify some friend and debug APIs r=sfink r=bholley
2014-03-17 16:17:58 +00: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
Bobby Holley
267e117ca2
Bug 969441 - Check for recursion outside of the hairy transplant callsites. r=billm
2014-03-06 15:26:17 -08:00
Kyle Huey
102668c886
Bug 978602: Caching the global's nsISupports* off the main thread. r=bz
2014-03-06 13:05:11 -08:00
Bobby Holley
bcb2b82645
Bug 976938 - Add a way to identify the Xray parent (if any) of a given function. r=bz
2014-03-04 10:05:07 -08:00
Jeff Walden
135d591c4f
Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence
2014-02-12 23:38:36 -08:00
Kyle Huey
9c46ca15f6
Bug 974120: Add helpers for using Promse::MaybeResolve/MaybeReject from C++. r=bz
...
Using JSAPI is tedious and error-prone. It's much better to handle that once in the Promise code and allow callers to pass C++ objects.
2014-02-25 13:34:55 -08:00
Bobby Holley
911ee5ac4c
Bug 973780 - Remove Xray expando slot from new-binding objects. r=bz
2014-02-21 11:35:49 -08:00