Commit Graph

316 Commits

Author SHA1 Message Date
Eric Faust
dea30e7893 Bug 1011660 - Remove separate DOMClass struct. (r=bz) 2014-06-18 13:19:19 -07:00
Boris Zbarsky
2bb59ed300 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Bill McCloskey
d765144f56 Bug 1017310 - Rename *XBLScope to *ContentXBLScope in xpconnect (r=bholley) 2014-06-02 18:04:21 -07:00
Terrence Cole
d0eeedfb63 Bug 1013531 - Clarify the naming of the rooting analysis supression guards; r=sfink
--HG--
extra : rebase_source : 95229e907222dd7335f92ae13dd83f1065eabf58
2014-05-28 17:34:36 -07:00
Reuben Morais
24b03739fb Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz 2014-05-25 15:31:07 -03:00
Fabrice Desré
bed5c8c262 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
ac85b83f82 Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz 2014-05-25 15:31:07 -03:00
Boris Zbarsky
72c13f6d06 Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Wes Kocher
b1b2b3a291 Backed out 5 changesets (bug 1007878) for b2g build bustage r=khuey
Backed out changeset ee3bb06075f7 (bug 1007878)
Backed out changeset ab3dd51be3cd (bug 1007878)
Backed out changeset aa53ba4e64b8 (bug 1007878)
Backed out changeset ff6fd8187ff3 (bug 1007878)
Backed out changeset d631378463ac (bug 1007878)
2014-05-23 15:10:51 -07:00
Boris Zbarsky
aea41c8d2e Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Boris Zbarsky
e32f492a47 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
57472f29b6 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
f1c785425b 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
96ed00e142 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
a1e3e4475e 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
Peter Van der Beken
8119bfc066 Bug 1005978 - Add infrastructure to create main-thread WebIDL globals with XPConnect. r=bz.
--HG--
extra : rebase_source : 08c6f04e050bdd801a15883bb57d21ff93626024
2014-04-08 20:48:37 +02:00
Peter Van der Beken
4874a03840 Bug 1005898 - Make WebIDL properties on all globals own properties. r=bz.
--HG--
extra : rebase_source : 3eb201d073b090b2627814264a126a1a4281207f
2014-02-15 22:12:34 +01:00
Michael Shuen
2a4c7b090c Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug 2014-04-28 16:53:00 +02:00
Jason Orendorff
b4e94a9f46 Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo. 2014-04-25 16:11:02 -05:00
Boris Zbarsky
893f2b3907 Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley 2014-04-10 00:58:43 -04:00
Boris Zbarsky
adc450e8a7 Bug 993889 part 4. Remove the scope argument of xpc_FastGetCachedWrapper. r=bholley 2014-04-10 00:58:42 -04:00
Boris Zbarsky
a0c3167371 Bug 991742 part 9. Remove the "scope" argument of WrapNewBindingObject. r=bholley 2014-04-08 18:27:19 -04:00
Boris Zbarsky
35fca5eeeb 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
6881a9948d Bug 991742 part 4. Remove the "scope" argument of WrapCallThisObject(). r=bholley 2014-04-08 18:27:15 -04:00
Boris Zbarsky
9f72e9c2b1 Bug 991742 part 3. Remove the "scope" argument of WrapNativeParent(). r=bholley 2014-04-08 18:27:15 -04:00
Boris Zbarsky
82846a8e3e Bug 991742 part 2. Remove the "scope" argument of WrapNativeParentHelper/WrapNativeParentFallback/WrapNativeISupportsParent. r=bholley 2014-04-08 18:27:15 -04:00
Peter Van der Beken
b1b187ea5d Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
--HG--
extra : rebase_source : 4a4f368ba4f84e6e5104522181eb3043efd7ed38
2014-02-15 22:12:33 +01:00
Eric Faust
75a58dbebc Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm) 2014-04-04 16:58:08 -07:00
Peter Van der Beken
be1b9ef9a4 Bug 988363 - Outerize when wrapping nsGlobalWindow. r=bz.
--HG--
extra : rebase_source : 68b2816295a8f37fa544d8c79317794e945f2f7e
2014-02-15 22:10:25 +01:00
Ed Morley
442425ab86 Backed out changeset 8059895497c1 (bug 988363) 2014-03-28 17:14:53 +00:00
Peter Van der Beken
ebade124d5 Bug 988363 - Outerize when wrapping nsGlobalWindow. r=bz. 2014-02-15 22:10:25 +01:00
Ehsan Akhgari
0f3af82c2d Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
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
Bobby Holley
311ff27b73 Bug 958326 - Remove same-compartment security wrapper machinery. r=mrbkap 2014-03-26 10:59:20 -03: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
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
Bobby Holley
8c3d899db2 Bug 825392 - Remove SOWs. r=bz 2014-03-19 13:35:45 -03:00
Bobby Holley
a2f6cad141 Bug 825392 - Generate anonymous content reflectors in the XBL scope. r=bz 2014-03-19 13:35:45 -03: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
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
5b9a40cc0b Bug 952890 part 2. Remove the IsArrayLike method, since it no longer matches any spec concept. r=peterv 2014-02-14 10:46:09 -05:00
L. David Baron
4f04bcdc57 Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Kyle Huey
4775871523 Bug 975052. r=smaug 2014-02-26 11:00:40 -08:00
Bobby Holley
6aafbb79d5 Bug 973780 - Remove Xray expando slot from new-binding objects. r=bz 2014-02-21 11:35:49 -08:00
Phil Ringnalda
a196f2815f Back out 0f5f58d5d410:8db4d719f5f8 (bug 973780) for debug WinXP mochitest-3 assertions
CLOSED TREE
2014-02-20 20:46:50 -08:00
Bobby Holley
d1f7b89e33 Bug 973780 - Remove Xray expando slot from new-binding objects. r=bz 2014-02-20 18:24:10 -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
e56fd2f65b Bug 952890 part 2. Remove the IsArrayLike method, since it no longer matches any spec concept. r=peterv 2014-02-14 10:46:09 -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