Bobby Holley
160946d7c4
Bug 658909 - Tests. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
ccc62eefea
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
3f5b7f583a
Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
472fb50da0
Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
b3797df126
Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
6142a3fd1c
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
bcac848766
Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
f6df1b589a
Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
174fac9ba4
Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
606f6b8992
Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap
2013-03-21 08:20:43 -07:00
Bobby Holley
e61c5d98a2
Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap
2013-03-21 08:20:43 -07:00
Bobby Holley
97e20a07a5
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
83c251ef6c
Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap
2013-03-21 08:20:43 -07:00
Bobby Holley
70e352f480
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
c651a918fd
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-21 08:20:42 -07:00
Bobby Holley
ef68a202d1
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
a0f79166c0
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
957a69a405
Bug 658909 - Remove unnecessary ccx param. r=mrbkap
2013-03-21 08:20:42 -07:00
Bobby Holley
821b04d2d6
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
8be761a0f4
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
b4904b5e9c
Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap
2013-03-21 08:20:41 -07: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
Gene Lian
0517e30d1d
Bug 852911 - B2G MMS: fail to expose correct nsIDOMMozMmsMessage.attachments. r=smaug
2013-03-21 14:49:23 +08:00
Ted Mielczarek
704e2319bc
bug 604039 - Add DOM Gamepad APIs. r=smaug
...
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Jan de Mooij
cc0fdd5b0d
Bug 850156 - Use separate memory reporters for Ion and baseline code. r=njn,dvander
2013-03-20 11:24:17 +01:00
Gregory Szorc
94ec89296d
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
Mike Shal
ea1d9b8ba7
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Peter Van der Beken
78dd8c7730
Fix for bug 748669 (Make JS_{Start,Stop}Profiling work with Instruments on Lion). r=sfink/ted.
...
--HG--
extra : rebase_source : 8f7add5256dde39cf165b69b0ab1ebced05d120e
2012-01-21 21:40:37 +01:00
Jon Coppeard
b9652b9f39
Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
...
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Mohit Gahlot
178c13c865
Bug 851377 - Now ResolvingId::isResolving is not called with a null object. r=bholley
2013-03-18 21:28:05 +05:30
Andrea Marchesini
c15b6499e8
Bug 841493 - Rename nsHTMLVideoElement to HTMLVideoElement, r=Ms2ger
...
--HG--
rename : content/html/content/public/nsHTMLVideoElement.h => content/html/content/public/HTMLVideoElement.h
rename : content/html/content/src/nsHTMLVideoElement.cpp => content/html/content/src/HTMLVideoElement.cpp
2013-03-19 13:27:35 +01:00
Nicholas Nethercote
002fe1c5b2
Bug 850523 (part 1) - Add a "js-main-runtime-temporary-peak" memory reporter (2nd attempt). r=wmccloskey,jlebar.
...
--HG--
extra : rebase_source : d90dcad2ed990b6e276ff38c36170b815ae9b823
2013-03-06 20:40:36 -08:00
Bobby Holley
71de982af1
Bug 851987 - QI to nsPIDOMWindow instead of nsIDOMWindow in XPCWrappedJS. r=bz
2013-03-18 14:30:23 -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
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
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
Ms2ger
aed8044ac2
Merge m-c to m-i.
2013-03-17 13:22:37 +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
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
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
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