Commit Graph

24886 Commits

Author SHA1 Message Date
Luke Wagner
d347cb307a 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
e3034906c8 Diagnostic patch for bug 837370 topcrash (r=bhackett). 2013-03-13 18:03:27 -07:00
Jason Orendorff
17cbc269fd 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
7471460fe5 Bug 846406 - Implement arrow functions. r=bhackett. Changes to Y.js r=brendan. 2013-03-17 20:42:36 -07:00
Jan de Mooij
d824ce1336 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
71de982af1 Bug 851987 - QI to nsPIDOMWindow instead of nsIDOMWindow in XPCWrappedJS. r=bz 2013-03-18 14:30:23 -07:00
Ed Morley
92ece27af3 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
006e7997f5 Back out Bug 462463 for massively regressing pymake depend build speed. CLOSED TREE 2013-03-18 12:57:35 -07:00
Luke Wagner
bbf744c5b2 Fix OdinMonkey when --disable-ion (no bug, r=me)
--HG--
extra : rebase_source : 3536acf09aecbdcb2ca9156873fc39571328975a
2013-03-18 11:14:56 -07:00
Bobby Holley
10fdccc415 Bug 848538 - Push a cx before calling into ctypes callbacks. r=jorendorff 2013-03-18 11:04:07 -07:00
Hannes Verschore
67407d53cb Bug 850534: Various Yarr performance improvements, r=dmandelin 2013-03-18 16:40:49 +01:00
Ed Morley
47bc17c5f5 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
90f13c7e56 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
3dbc683edc Back out e0038e628250 and 02b242697afb (bug 850523) for test_memoryReporters.xul crashes
CLOSED TREE
2013-03-17 22:15:25 -07:00
Bobby Holley
b3e868d07a Bug 813901 - Tests. r=mrbkap 2013-03-17 21:44:42 -07:00
Bobby Holley
c6bd0db474 Bug 850000 - Don't clobber exceptions set in security wrapper check() hooks. r=mrbkap 2013-03-17 21:44:41 -07:00
Nicholas Nethercote
918908f379 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
1aad0e70c2 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
8423cc2cfc Merge m-c to m-i 2013-03-17 17:14:58 -07:00
Luke Wagner
9308dad673 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
809243ab18 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
aed8044ac2 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
be03887422 Merge backout. 2013-03-17 10:44:57 +01:00
Ms2ger
d8a7fada3c Backout bug 658909 for Marionette bustage. 2013-03-17 10:44:33 +01:00
Ms2ger
947d25f1a8 Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
Ms2ger
547f96abe0 Bug 851108 - Stop exporting ds/BitArray.h; r=billm 2013-03-17 08:55:17 +01:00
Ms2ger
5dd8d9d4d2 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
ecaff4e0d2 Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
24bcddcf77 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
90d6c70d7c Bug 648407 - Support expandlibs_exec.py --extract on windows. r=ted 2013-03-17 07:44:57 +01:00
Mike Hommey
20c634cb74 Bug 462463 - Stop using mddepend.pl. r=ted 2013-03-17 07:43:35 +01:00
Bobby Holley
5bc91d7db4 Bug 658909 - Tests. r=mrbkap 2013-03-16 22:58:17 -07:00
Bobby Holley
d550f0d79d 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
874f086851 Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
d8cb9aeca4 Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
d0cd3ac168 Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
3d757075f3 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
8e8f39d378 Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
a8c785d855 Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
e2dd3437b4 Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
5d5d5bcfac Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
acebe495da Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
d09761116c 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
d18489beb3 Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
0517579b24 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
6db2f10d4c Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
0ac4a08fc8 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
3e05c5d01b 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
7d252db9d9 Bug 658909 - Remove unnecessary ccx param. r=mrbkap 2013-03-16 22:58:13 -07:00
Bobby Holley
98ec54a6bc 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