Bill McCloskey
9b03949476
Bug 996785 - Move global CPOW functions to top level (r=mrbkap)
2014-05-16 16:40:35 -07:00
Ryan VanderMeulen
63cd113b5a
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
86dd4dbe2c
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
8065df607f
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
36b45d89c9
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
7d585aca9e
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
36aecd43e6
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
05e48c378e
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
9576612895
Bug 967475 - Implement mozChromeNotifications API. r=mhenretty,bent
2014-05-08 23:16:00 +02:00
Wes Kocher
09226c1b69
Backed out changeset 21d743a319c6 (bug 967475) for apparently introducing two hazards to the build
2014-05-08 16:06:40 -07:00
Alexandre Lissy
0d48a7242e
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.
015d9c906c
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
409179b8a6
Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo.
2014-04-25 16:11:02 -05:00
Terrence Cole
21e586caba
Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
...
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Jon Coppeard
6e3781aa06
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
a81ce7e83c
Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz
2014-04-14 20:27:00 -07:00
Boris Zbarsky
7038a736e9
Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley
2014-04-10 00:58:43 -04:00
Boris Zbarsky
172c0446fa
Bug 991742 part 9. Remove the "scope" argument of WrapNewBindingObject. r=bholley
2014-04-08 18:27:19 -04:00
Boris Zbarsky
fdbb455d4f
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
3b4c77d08b
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
88b96b8b8c
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
7b5ecff2b8
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
e3c6df3e5f
Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky
2014-03-28 00:03:03 -04:00
Nathan Froyd
b937ecac05
Bug 987457 - rename ProtoAndIfaceArray to ProtoAndIfaceCache; r=bz
2014-03-22 13:04:09 -04:00
Nathan Froyd
6593dd9255
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
4bd43b9136
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
9008df762f
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
7032aa60e3
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
42dc35ee32
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
4fb8ea865c
Bug 825392 - Remove SOWs. r=bz
2014-03-19 13:35:45 -03:00
Peter Van der Beken
4dd7dfb6d0
Backout 8aca83520a91 (bug 983619) to fix orange/red on a CLOSED TREE.
2014-03-17 20:27:53 +01:00
Peter Van der Beken
e1aaa947c3
Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
2014-02-15 22:12:33 +01:00
Jon Coppeard
dd7bb24003
Bug 959787 - Handlify some friend and debug APIs r=sfink r=bholley
2014-03-17 16:17:58 +00:00
Boris Zbarsky
2ba220035e
Bug 981036. Disallow calling DOM constructors as functions in non-release builds. r=bholley
2014-03-10 17:38:31 -04:00
Bobby Holley
e1330dec0a
Bug 969441 - Check for recursion outside of the hairy transplant callsites. r=billm
2014-03-06 15:26:17 -08:00
Kyle Huey
55429a2cd8
Bug 978602: Caching the global's nsISupports* off the main thread. r=bz
2014-03-06 13:05:11 -08:00
Bobby Holley
a811f156cf
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
7741787e99
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
78598892f4
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
71122e3004
Bug 973780 - Remove Xray expando slot from new-binding objects. r=bz
2014-02-21 11:35:49 -08:00
Luke Wagner
c9ee8e82c3
Bug 797126 - Remove tinyid/shortid/userid (r=terrence)
...
--HG--
extra : rebase_source : d3cee5e71ca02708e91419b209b5914ce9fd2f9f
2014-02-21 10:24:26 -06:00
Phil Ringnalda
7732675ab7
Back out 0f5f58d5d410:8db4d719f5f8 (bug 973780) for debug WinXP mochitest-3 assertions
...
CLOSED TREE
2014-02-20 20:46:50 -08:00
Bobby Holley
863ecca599
Bug 973780 - Remove Xray expando slot from new-binding objects. r=bz
2014-02-20 18:24:10 -08:00
Michael Shuen
40ac6a7a5d
Bug 934817 - Part 2.5: Remove 0-length string check in dom/bindings/BindingUtils.cpp. r=bz
2014-02-14 11:15:43 -05:00
Jon Coppeard
0eac977006
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Nathan Froyd
d92e1a4ee5
Bug 957175 - reduce relocations required by NamesOfInterfacesWithProtos; r=bz
2014-02-10 10:24:38 -05:00
Jon Coppeard
2cf0941496
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
Boris Zbarsky
ffb3f403df
Bug 956806 part 2. Share generic getters/setters/methods across all bindings. r=peterv
2014-02-07 15:56:14 -05:00
Boris Zbarsky
0a8b70c8dd
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
Boris Zbarsky
c4212635c0
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