Commit Graph

1844 Commits

Author SHA1 Message Date
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
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
Bobby Holley
b2282e03e7 Bug 658909 - Force |this| computation in SandboxCallableProxyHandler::call when using Xrays. r=bz
Comment says it all.
2013-03-16 22:58:12 -07:00
Bill McCloskey
bfa3037d1f Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Daniel Holbert
0d1377f7a3 Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg 2013-03-15 10:52:10 -07:00
Luke Wagner
26b31ecf0a Bug 840282 - OdinMonkey (sr=dmandelin)
--HG--
extra : rebase_source : 4a3869dca32755abb58bbd3d9a06599e61b397f2
2013-03-15 02:29:02 -07:00
Aryeh Gregor
a5c75c91bc Bug 801562 - Remove Node.isSupported; r=bz
--HG--
rename : content/svg/content/test/test_isSupported.xhtml => content/svg/content/test/test_hasFeature.xhtml
2013-03-15 12:21:52 +02:00
Gene Lian
1aab17284e Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 6, dispatch MMS events). r=vicamo,mounir sr=sicking a=leo+ 2013-03-09 15:22:42 +08:00
Gene Lian
9fe417700a Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 4-2, nsIMmsService.send()). r=vicamo a=leo+ 2013-03-09 15:22:25 +08:00
Gene Lian
af36186707 Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 3-1, s/nsISmsRequest/nsIMobileMessageCallback). r=vicamo a=leo+
--HG--
rename : dom/mobilemessage/interfaces/nsISmsRequest.idl => dom/mobilemessage/interfaces/nsIMobileMessageCallback.idl
2013-03-09 15:22:02 +08:00
Gene Lian
3e9ced94a8 Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 2, nsIDOMMozMmsMessage). r=vicamo,mounir,mrbkap sr=sicking a=leo+ 2013-03-09 15:21:55 +08:00
Bobby Holley
876133f6c7 Bug 850517 - Support named window access via Xray. r=mrbkap 2013-03-14 22:38:26 -07:00