Commit Graph

25038 Commits

Author SHA1 Message Date
Tom Schuster
42f1259a20 Bug 828462 - Root Proxy/Wrapper rests in js/src. r=terrence 2013-03-21 23:23:48 +01:00
Tom Schuster
012c930168 Bug 828462 - Root Proxy/Wrapper delete. r=terrence 2013-03-21 23:23:48 +01:00
Tom Schuster
ccde5567f1 Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
30b86c5cc0 Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
fcf6a93bf4 Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence 2013-03-21 23:23:47 +01:00
Bill McCloskey
e8681242b9 Bug 852912 - Don't crash on NULL with AutoArrayRooter (r=bhackett)
--HG--
extra : rebase_source : f044831b03435b906221256611d7c01250b18ebe
2013-03-21 13:56:44 -07:00
Ryan VanderMeulen
ba2c81e50e Merge m-c to inbound. 2013-03-21 16:48:17 -04:00
Ryan VanderMeulen
c54d45c9d8 Merge inbound to m-c. 2013-03-21 16:45:23 -04:00
Gene Lian
0517e30d1d Bug 852911 - B2G MMS: fail to expose correct nsIDOMMozMmsMessage.attachments. r=smaug 2013-03-21 14:49:23 +08:00
Ryan VanderMeulen
d352a7473a Bug 852912 - Skip test on all Windows debug builds on a CLOSED TREE. 2013-03-20 20:34:20 -04:00
Bill McCloskey
443c98f6d6 Bug 852228 - Allow compartments to share zones in the shell (r=jonco) 2013-03-18 10:24:46 -07:00
Bill McCloskey
887683018f Bug 852229 - Add a comment explaining zones (r=jorendorff) 2013-03-18 11:10:23 -07:00
Nicolas B. Pierron
509db95d34 Bug 849103 - Enable IonMonkey on b2g. r=jonas sr=dvander 2013-03-20 13:33:30 -07:00
Ryan VanderMeulen
3c741a842e Bug 852912 - Skip the test on Windows 8 so the rest of the suite can finish. 2013-03-20 16:24:15 -04:00
Ryan VanderMeulen
5bae68ef81 Bug 852912 - Mark parse-array-gc.js as random on Windows 8. 2013-03-20 16:19:37 -04:00
Jon Coppeard
6d69a696e4 Bug 853028 - GC: Fix some rooting issues found by static analysis r=terrence
--HG--
extra : rebase_source : a1d340a00516ae890c98fa7420497e85526823fc
2013-03-21 12:56:58 +00:00
Jon Coppeard
d9af4c2271 Bug 853028 - Add JSID_VOIDHANDLE and JSID_EMPTYHANDLE r=terrence
--HG--
extra : rebase_source : df2040a51dff433c59356092d55dad65097b8994
2013-03-21 12:56:39 +00:00
Shu-yu Guo
c4a9f6ec4c Bug 853111 followup - Fix formatting of embedjs.py. r=me 2013-03-21 13:29:57 -07:00
Shu-yu Guo
91d34a2ca0 Bug 853111 - Kill -Wnarrowing warnings for zipped selfhosted sources. (r=till) 2013-03-21 12:07:33 -07:00
Norbert Lindenberg
7f17538311 Bug 814795 - Replace remaining use of V8 macro. r=tschneidereit
--HG--
extra : rebase_source : f0ed30349ecc95a753f390e3d56e72fe9f49eb1d
2013-03-21 12:58:00 +01:00
Till Schneidereit
1094f377f0 Bug 852789 - clear the runtime's self-hosting global on destruction of last context. r=sstangl
--HG--
extra : rebase_source : 719762b9e0647a94b3b31dafefb802952d109725
2013-03-21 19:21:13 +01:00
Bobby Holley
d4b32e491e Bug 844783 - Disable XBL scopes for XUL-whitelisted domains. r=bz 2013-03-21 09:33:34 -07:00
Bobby Holley
bd2b1b8144 Bug 851895 - Tests. r=mrbkap 2013-03-21 08:20:46 -07:00
Bobby Holley
151e14ccd2 Bug 851895 - Expand the this-fixup hack to include Cu. r=mrbkap 2013-03-21 08:20:46 -07:00
Bobby Holley
90b3cbf144 Bug 851895 - Don't assert against a failure in CanCallNow. r=mrbkap
This can definitely happen now if the |this| object is wrong. It's possible
that we should be checking this earlier, but as the code stands this assertion
is incorrect.
2013-03-21 08:20:46 -07:00
Bobby Holley
918afcbf90 Bug 658909 - Tests. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
aa9f2fe81e Bug 658909 - Port tearoff-handling guts of GWNOJO to XPCCallContext and remove GWNOJO. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
10c3ceca4a Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
643b7ac570 Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
192ef9fe65 Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap 2013-03-21 08:20:44 -07:00
Bobby Holley
cb8898b884 Bug 658909 - Remove GWNOJO from XPCVariant. r=mrbkap
The old code seems to be deciding whether we have a double-wrapped object by
checking _either_ the rv of GWNOJO _or_ the potential slim wrapper. This is
nonsensical, because double-wrapped objects are never slim wrappers.
Furthermore, that variable here is named 'proto', which further suggests
that this code is nonsensical. So let's just check for WNs.

Also, it seems pretty wack to be innerizing here before storing the jsval,
but I'm going to leave that for now.
2013-03-21 08:20:44 -07:00
Bobby Holley
6f7077ab27 Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap 2013-03-21 08:20:44 -07:00
Bobby Holley
d8e3fbb2cc Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap 2013-03-21 08:20:44 -07:00
Bobby Holley
997097c4b3 Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap 2013-03-21 08:20:44 -07:00
Bobby Holley
c74ea6642b Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap 2013-03-21 08:20:43 -07:00
Bobby Holley
4483147fa3 Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap 2013-03-21 08:20:43 -07:00
Bobby Holley
1ab135cdf4 Bug 658909 - Add a new, much simpler API for getting WNs from JS objects. r=mrbkap 2013-03-21 08:20:43 -07:00
Bobby Holley
a5a70136e6 Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap 2013-03-21 08:20:43 -07:00
Bobby Holley
96f901c63a Bug 658909 - Add a hack to support calling nohelper XPCWN methods without the proper |this|. r=mrbkap 2013-03-21 08:20:43 -07:00
Bobby Holley
7f358d03d2 Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap 2013-03-21 08:20:42 -07:00
Bobby Holley
23505d75ea Bug 658909 - Set args at XPCCallContext construct time in XPC_WN_GetterSetter. r=mrbkap
It's not clear to me why it's done this way, but it confuses our ability to
determine during wrapper lookup whether we're doing a set or a get. This aligns
the behavior with XPC_WN_CallMethod, including passing JSID_VOID for the name
(which is safe because XPCCallContext explicitly special-cases JSID_VOID and
doesn't call SetName in that case).
2013-03-21 08:20:42 -07:00
Bobby Holley
4df5fa5f43 Bug 658909 - Initialize the same fields in both XPCCallContext constructors. r=mrbkap
This is a huge footgun. XPCCallContext is hot, but it's not too hot to be safe
here. Garbage XPCWN and JSObject pointers are bad.
2013-03-21 08:20:42 -07:00
Bobby Holley
b25c1dc9f9 Bug 658909 - Remove unnecessary ccx param. r=mrbkap 2013-03-21 08:20:42 -07:00
Bobby Holley
de62f63ad7 Bug 658909 - Make isSafeToUnwrap pseudo-dynamic for SOWs. r=mrbkap
This can go away as soon as XBL scopes are no longer behind a pref.
2013-03-21 08:20:41 -07:00
Bobby Holley
adf6253c6e Bug 658909 - Force |this| computation in SandboxCallableProxyHandler::call when using Xrays. r=bz
Comment says it all.
2013-03-21 08:20:41 -07:00
Bobby Holley
d095bf8d04 Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap 2013-03-21 08:20:41 -07:00
Ryan VanderMeulen
5a1f305fec Backed out changeset 55d19e574b86 (bug 853283) for Windows debug bustage on a CLOSED TREE. 2013-03-21 15:25:14 -04:00
Ryan VanderMeulen
0d64a1ef2b Backed out 22 changesets (bug 658909) for Windows debug bustage. 2013-03-21 15:24:54 -04:00
Ryan VanderMeulen
edebf68dc5 Backed out 3 changesets (bug 851895) for Windows debug bustage. 2013-03-21 15:24:04 -04:00
Ryan VanderMeulen
ec432af374 Backed out changesets 775abfe4876f and 1b75fab8561b (bug 844783) under suspicion of breaking Windows debug builds on a CLOSED TREE. 2013-03-21 14:15:31 -04:00