Commit Graph

34031 Commits

Author SHA1 Message Date
Luke Wagner
c70770f87c Don't assert asm.js validation errors with --disable-ion (no bug, r=me)
--HG--
extra : rebase_source : b3b6f8c8b6323f72a97973d56dd6ea79e8f35eae
2013-03-18 15:56:15 -07:00
David Anderson
bd87704821 Diagnostic patch for bug 837370 topcrash (r=bhackett). 2013-03-13 18:03:27 -07:00
Jason Orendorff
83ae4ff56b Bug 848062 - Make arrow functions inherit the value of 'this' from the enclosing scope. r=bhackett. 2013-03-18 15:32:29 -07:00
Jason Orendorff
7d1836dd4e Bug 846406 - Implement arrow functions. r=bhackett. Changes to Y.js r=brendan. 2013-03-17 20:42:36 -07:00
Jan de Mooij
2bd1ec6b05 Bug 851109 - Add NAME IC for invoking getters on the global object. r=djvj
--HG--
extra : rebase_source : 4a4fa5be4a6ee0dc24f309ead094f90a420c6bab
2013-03-18 22:34:34 +01:00
Bobby Holley
fa807df3d0 Bug 851987 - QI to nsPIDOMWindow instead of nsIDOMWindow in XPCWrappedJS. r=bz 2013-03-18 14:30:23 -07:00
Ed Morley
19d94654ef Bug 851842 - Make jit-tests log output more suited to TBPL bug suggestions; r=terrence 2013-03-18 21:13:47 +00:00
Kyle Huey
62c6138093 Back out Bug 462463 for massively regressing pymake depend build speed. CLOSED TREE 2013-03-18 12:57:35 -07:00
Luke Wagner
93dc121b06 Fix OdinMonkey when --disable-ion (no bug, r=me)
--HG--
extra : rebase_source : 3536acf09aecbdcb2ca9156873fc39571328975a
2013-03-18 11:14:56 -07:00
Bobby Holley
01a87f0686 Bug 848538 - Push a cx before calling into ctypes callbacks. r=jorendorff 2013-03-18 11:04:07 -07:00
Hannes Verschore
8e21159b61 Bug 850534: Various Yarr performance improvements, r=dmandelin 2013-03-18 16:40:49 +01:00
Ed Morley
3091d3e2b6 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
b03f14270d Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Phil Ringnalda
dfb8bff6a5 Back out e0038e628250 and 02b242697afb (bug 850523) for test_memoryReporters.xul crashes
CLOSED TREE
2013-03-17 22:15:25 -07:00
Bobby Holley
a133332670 Bug 813901 - Tests. r=mrbkap 2013-03-17 21:44:42 -07:00
Bobby Holley
b846f66210 Bug 850000 - Don't clobber exceptions set in security wrapper check() hooks. r=mrbkap 2013-03-17 21:44:41 -07:00
Nicholas Nethercote
59579d6d63 Bug 850523 (part 2) - Use C++ comments in LifoAlloc.{cpp,h}. r=wmccloskey.
--HG--
extra : rebase_source : 395321642042559ef2484445fa13c03ba22e8390
2013-03-14 15:10:39 -07:00
Nicholas Nethercote
b381a3dc72 Bug 850523 (part 1) - Add a "js-main-runtime-temporary-peak" memory reporter. r=wmccloskey,jlebar.
--HG--
extra : rebase_source : d183213c48b9d07fb62fce830998bcb8bb044f47
2013-03-06 20:40:36 -08:00
Phil Ringnalda
e654f61f94 Merge m-c to m-i 2013-03-17 17:14:58 -07:00
Luke Wagner
a41722b114 Disable OdinMonkey on OSX until we can get Breakpad to cooperate (no bug, r=me) 2013-03-17 15:14:50 -07:00
Nicholas Nethercote
f0d83aff80 Bug 845175 - Lazily allocate the bytecode and srcnote Vectors' storage. r=jorendorff.
--HG--
extra : rebase_source : f39db7bf439b9f86419cb9fdf4f899c052ae7638
2013-03-17 15:10:51 -07:00
Ms2ger
93257af4d7 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
6cbba7b443 Merge backout. 2013-03-17 10:44:57 +01:00
Ms2ger
57f408ca00 Backout bug 658909 for Marionette bustage. 2013-03-17 10:44:33 +01:00
Ms2ger
1dad3019dc Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
Ms2ger
5e0fed468f Bug 851108 - Stop exporting ds/BitArray.h; r=billm 2013-03-17 08:55:17 +01:00
Ms2ger
4a10101367 Bug 850817 - Move ClientRect to Paris bindings; r=bz
--HG--
rename : dom/interfaces/base/nsIDOMClientRect.idl => dom/webidl/ClientRect.webidl
2013-03-17 08:55:17 +01:00
Ms2ger
669cc4360c Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
4f5fca99bc Bug 845374 - Part l: Stop including nsIDocument.h in nsContentUtils.h and fix two nits; r=khuey 2013-03-17 08:55:15 +01:00
Mike Hommey
b8333c7486 Bug 648407 - Support expandlibs_exec.py --extract on windows. r=ted 2013-03-17 07:44:57 +01:00
Mike Hommey
3a35c07850 Bug 462463 - Stop using mddepend.pl. r=ted 2013-03-17 07:43:35 +01:00
Bobby Holley
4724712dda Bug 658909 - Tests. r=mrbkap 2013-03-16 22:58:17 -07:00
Bobby Holley
f2d4875baf Bug 658909 - Port tearoff-handling guts of GWNOJO to XPCCallContext and remove GWNOJO. r=mrbkap 2013-03-16 22:58:17 -07:00
Bobby Holley
7dbf4f1fed Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
060de590ab Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
b565553284 Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
6727e6bedc 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-16 22:58:16 -07:00
Bobby Holley
c190c23a80 Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
edc21daca4 Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
d92a951128 Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
39cab39988 Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
1f7069e46c Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
8909d86840 Bug 658909 - Add a new, much simpler API for getting WNs from JS objects. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
5dc76db245 Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
2ed6106b47 Bug 658909 - Add a hack to support calling nohelper XPCWN methods without the proper |this|. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
47f71c387a Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
37d3102c0d 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-16 22:58:13 -07:00
Bobby Holley
ed9f075b74 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-16 22:58:13 -07:00
Bobby Holley
1b542bebd8 Bug 658909 - Remove unnecessary ccx param. r=mrbkap 2013-03-16 22:58:13 -07:00
Bobby Holley
91b7386681 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-16 22:58:13 -07:00