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
Birunthan Mohanathas
411a8639b4
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
586ab29b04
Bug 1013796 - Make TraceGlobal deal with partially created global object. r=bz.
...
--HG--
extra : rebase_source : b487663d8d80c88a389d377b027683255460dd48
2014-05-20 21:44:49 +02: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
Bill McCloskey
380ef2b5f4
Bug 996785 - Move global CPOW functions to top level (r=mrbkap)
2014-05-16 16:40:35 -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
Ryan VanderMeulen
686a50e920
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
54c6bb85b3
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
b7223435b4
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
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
Alexandre Lissy
cb57a71f64
Bug 967475 - Implement mozChromeNotifications API. r=mhenretty,bent
2014-05-08 23:16:00 +02:00
Wes Kocher
835be078b9
Backed out changeset 21d743a319c6 (bug 967475) for apparently introducing two hazards to the build
2014-05-08 16:06:40 -07:00
Alexandre Lissy
6427efb2cf
Bug 967475 - Implement mozChromeNotifications API. r=mhenretty, r=bent
...
--HG--
extra : rebase_source : 595b53c85f031784bd77591d4e0593e60b39ccfd
2014-05-08 10:07:00 -04:00
Rodrigo Rodriguez Jr.
0a5bccece7
Bug 952650 (part 8) - Remove JSVAL_TO_STRING. r=njn.
...
--HG--
extra : rebase_source : 61ab9459c00849027498904863647e65453a1a43
2014-04-27 19:45:46 -07:00
Jason Orendorff
b4e94a9f46
Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo.
2014-04-25 16:11:02 -05:00
Terrence Cole
c97877c686
Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
...
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Jon Coppeard
a775e98530
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
f223b1107f
Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz
2014-04-14 20:27:00 -07: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
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
d3234363d3
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
f2423cc257
Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL, followup to deal with review comment. r=bz.
...
--HG--
extra : rebase_source : a0e0fa6d59c9edb9b346a5cb8b062144198a87c2
2014-04-08 20:39:38 +02: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
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
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
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
Birunthan Mohanathas
fdd8ac908b
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
8c3d899db2
Bug 825392 - Remove SOWs. r=bz
2014-03-19 13:35:45 -03:00
Peter Van der Beken
6e079aacea
Backout 8aca83520a91 (bug 983619) to fix orange/red on a CLOSED TREE.
2014-03-17 20:27:53 +01:00
Peter Van der Beken
bb1ee2a3ab
Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
2014-02-15 22:12:33 +01:00
Jon Coppeard
9adcde9134
Bug 959787 - Handlify some friend and debug APIs r=sfink r=bholley
2014-03-17 16:17:58 +00: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
Bobby Holley
8c2b8ca542
Bug 969441 - Check for recursion outside of the hairy transplant callsites. r=billm
2014-03-06 15:26:17 -08:00
Kyle Huey
5700ee0b43
Bug 978602: Caching the global's nsISupports* off the main thread. r=bz
2014-03-06 13:05:11 -08:00
Bobby Holley
f25679417d
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
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
Kyle Huey
566ed0b282
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
6aafbb79d5
Bug 973780 - Remove Xray expando slot from new-binding objects. r=bz
2014-02-21 11:35:49 -08:00
Luke Wagner
4eed36705e
Bug 797126 - Remove tinyid/shortid/userid (r=terrence)
...
--HG--
extra : rebase_source : d3cee5e71ca02708e91419b209b5914ce9fd2f9f
2014-02-21 10:24:26 -06: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