Tom Schuster
b6725433ce
Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence
2013-03-21 23:23:47 +01:00
Tom Schuster
aaa3687e9b
Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence
2013-03-21 23:23:47 +01:00
Tom Schuster
950e87f7e8
Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence
2013-03-21 23:23:47 +01:00
Bill McCloskey
2c636e23fe
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
14c2102033
Merge m-c to inbound.
2013-03-21 16:48:17 -04:00
Ryan VanderMeulen
770e0ab1c9
Merge inbound to m-c.
2013-03-21 16:45:23 -04:00
Gene Lian
fd920eef31
Bug 852911 - B2G MMS: fail to expose correct nsIDOMMozMmsMessage.attachments. r=smaug
2013-03-21 14:49:23 +08:00
Ryan VanderMeulen
e79f4dfe69
Bug 852912 - Skip test on all Windows debug builds on a CLOSED TREE.
2013-03-20 20:34:20 -04:00
Bill McCloskey
991a7a0eca
Bug 852228 - Allow compartments to share zones in the shell (r=jonco)
2013-03-18 10:24:46 -07:00
Bill McCloskey
772866c92a
Bug 852229 - Add a comment explaining zones (r=jorendorff)
2013-03-18 11:10:23 -07:00
Nicolas B. Pierron
83d4d9ebbb
Bug 849103 - Enable IonMonkey on b2g. r=jonas sr=dvander
2013-03-20 13:33:30 -07:00
Ryan VanderMeulen
56845519e4
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
7f60ab631b
Bug 852912 - Mark parse-array-gc.js as random on Windows 8.
2013-03-20 16:19:37 -04:00
Jon Coppeard
f18e9439d5
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
5ed2766709
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
67a657cb5c
Bug 853111 followup - Fix formatting of embedjs.py. r=me
2013-03-21 13:29:57 -07:00
Shu-yu Guo
416ab7d0dc
Bug 853111 - Kill -Wnarrowing warnings for zipped selfhosted sources. (r=till)
2013-03-21 12:07:33 -07:00
Norbert Lindenberg
18fd21136e
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
4d056bc6e4
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
97c5514e25
Bug 844783 - Disable XBL scopes for XUL-whitelisted domains. r=bz
2013-03-21 09:33:34 -07:00
Bobby Holley
1b5cf28332
Bug 851895 - Tests. r=mrbkap
2013-03-21 08:20:46 -07:00
Bobby Holley
f9f113418b
Bug 851895 - Expand the this-fixup hack to include Cu. r=mrbkap
2013-03-21 08:20:46 -07:00
Bobby Holley
cc9efcfbd5
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
7b89d994f6
Bug 658909 - Tests. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
5c5dc4aefd
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
6f5fa45dfc
Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
5d587a2a1e
Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
310ca265e9
Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
0229eafa97
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
da3798e16c
Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
063fa22514
Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
155c7bef82
Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
86a0d9c06c
Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap
2013-03-21 08:20:43 -07:00
Bobby Holley
c495e32e38
Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap
2013-03-21 08:20:43 -07:00
Bobby Holley
33e2ccc726
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
419fe960c7
Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap
2013-03-21 08:20:43 -07:00
Bobby Holley
a7773c48e1
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
b945d5623d
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-21 08:20:42 -07:00
Bobby Holley
f3e1e6c5a8
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
7191b4876d
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
2959d31120
Bug 658909 - Remove unnecessary ccx param. r=mrbkap
2013-03-21 08:20:42 -07:00
Bobby Holley
dace71a951
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
98277c3a3f
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
da800d21ef
Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap
2013-03-21 08:20:41 -07:00
Ryan VanderMeulen
24149ccf41
Backed out changeset 55d19e574b86 (bug 853283) for Windows debug bustage on a CLOSED TREE.
2013-03-21 15:25:14 -04:00
Ryan VanderMeulen
318dfacf98
Backed out 22 changesets (bug 658909) for Windows debug bustage.
2013-03-21 15:24:54 -04:00
Ryan VanderMeulen
bc1fb5dbbc
Backed out 3 changesets (bug 851895) for Windows debug bustage.
2013-03-21 15:24:04 -04:00
Ryan VanderMeulen
bbc5be3164
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
Mike Shal
e3efc3a646
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Bobby Holley
89770792f4
Bug 844783 - Disable XBL scopes for XUL-whitelisted domains. r=bz
2013-03-21 09:33:34 -07:00
Bobby Holley
9b58500952
Bug 851895 - Tests. r=mrbkap
2013-03-21 08:20:46 -07:00
Bobby Holley
ea6308cde2
Bug 851895 - Expand the this-fixup hack to include Cu. r=mrbkap
2013-03-21 08:20:46 -07:00
Bobby Holley
002ad43296
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
a702987369
Bug 658909 - Tests. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
012ac82802
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
97ae3186ae
Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
f89657fd7e
Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
96a23fc4f8
Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
5844094a9c
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
1c4e97a132
Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
26b4385eba
Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
9d8bb86c94
Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
dac3560b11
Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap
2013-03-21 08:20:43 -07:00
Bobby Holley
6f60fa30eb
Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap
2013-03-21 08:20:43 -07:00
Bobby Holley
9ba67d5e88
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
cb91c9c2b7
Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap
2013-03-21 08:20:43 -07:00
Bobby Holley
f7c5df64f8
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
9a8ea3591c
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-21 08:20:42 -07:00
Bobby Holley
fe71006245
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
b85f0eb164
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
46c2c76e3a
Bug 658909 - Remove unnecessary ccx param. r=mrbkap
2013-03-21 08:20:42 -07:00
Bobby Holley
13040f7556
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
1ee0eb91c2
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
8e9287775b
Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap
2013-03-21 08:20:41 -07:00
Ted Mielczarek
281489a00e
bug 604039 - Add DOM Gamepad APIs. r=smaug
...
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Kannan Vijayan
614ee78879
Bug 849388 - Allow js::ion::InlineFrameIterator to be used in NoGC contexts. r=nbp,dvander
2013-03-20 14:11:08 -04:00
Nicolas B. Pierron
049551c70c
Bug 852342 - Clone CallInfo as it is mutated by addTypeBarrier. r=h4writer
2013-03-20 10:42:50 -07:00
Jason Orendorff
01a27f96c1
Fix breakage caused by 9e684559ec7f (bug 852761) by making inline method JSFunction::getBoundFunctionTarget available to the shell. rs=luke on a CLOSED TREE.
2013-03-20 09:59:47 -07:00
Jason Orendorff
baf0449c6a
Bug 852761 - dis() doesn't work on arrow functions. r=luke.
2013-03-20 09:37:33 -07:00
Boris Zbarsky
b615891a47
Bug 748669 followup. Only build Instruments.cpp if we're doing --enable-instruments. r=peterv
2013-03-20 12:22:25 -04:00
Christian Holler
f1f86ceb12
Bug 787283 - Add missing test for bug 787283. r=needed-tests
2013-03-20 16:41:26 +01:00
Jon Coppeard
caf100b9a8
Bug 781070 - make NullPtr public r=terrence
...
--HG--
extra : rebase_source : d59f24956708178c310cfca220bfd77d237e8f19
2013-03-20 10:41:20 +00:00
Jan de Mooij
ad2e07d4b8
Bug 850156 - Use separate memory reporters for Ion and baseline code. r=njn,dvander
2013-03-20 11:24:17 +01:00
Shu-yu Guo
5529db8ed1
Bug 814795 - Remove v8-specific tools for selfhosted code in favor of CPP (r=till)
2013-03-19 23:26:08 -07:00
Phil Ringnalda
ec19f32da0
Back out fe29b2ae604b, 8c6ec2899d89 and 6b2f3cb031da (bug 851964) for test hangs
...
CLOSED TREE
2013-03-19 21:44:48 -07:00
Christian Holler
3f78b114b0
Bug 616009 - Add missing test for bug 616009. r=needed-tests
2013-03-20 03:58:09 +01:00
Christian Holler
673eef1aab
Bug 566136 - Add missing test for bug 566136. r=needed-tests
2013-03-20 03:58:09 +01:00
Christian Holler
acfd469b11
Bug 572232 - Add missing test for bug 572232. r=needed-tests
2013-03-20 03:58:09 +01:00
Christian Holler
2fd1ad0ece
Bug 558531 - Add missing test for bug 558531. r=needed-tests
2013-03-20 03:58:09 +01:00
Christian Holler
bfa9beb92f
Bug 563243 - Add missing test for bug 563243. r=needed-tests
2013-03-20 03:58:09 +01:00
Christian Holler
dc25f1b58e
Bug 576891 - Add missing test for bug 576891. r=needed-tests
2013-03-20 03:58:09 +01:00
Christian Holler
93ad810cbd
Bug 593611 - Add missing test for bug 593611. r=needed-tests
2013-03-20 03:58:09 +01:00
Christian Holler
2766befc87
Bug 696748 - Add missing test for bug 696748. r=needed-tests
2013-03-20 03:58:09 +01:00
Christian Holler
84ea0a2208
Bug 718852 - Add missing test for bug 718852. r=needed-tests
2013-03-20 03:58:09 +01:00
Christian Holler
6bc2bd5ca9
Bug 720070 - Add missing test for bug 720070. r=needed-tests
2013-03-20 03:58:09 +01:00
Brian Hackett
d4b4e6c241
Bug 839209 - Relax CanFakeSync, r=dvander.
2013-03-19 20:53:47 -06:00
Nicholas Nethercote
492e3d3ea7
Bug 849367 (part 1) - Speed up TokenStream::matchChar(). r=jorendorff.
...
--HG--
extra : rebase_source : 1527af5e38158a69f74d252320a899d9208055c6
2013-03-11 22:43:23 -07:00
Nicholas D. Matsakis
7614deb458
Bug 829602 - Enable self-hosted parallelarray r=dvander,till
2013-03-19 22:12:27 -04:00
Vladimir Vukicevic
6fb3ef9fa8
b=851964; Odin/OSX, part 3. enable AsmJS on OSX by using new Breakpad user handler, r=luke
2013-03-18 19:07:07 -04:00
Gregory Szorc
89e86f9b21
Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
...
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00