Commit Graph

2081 Commits

Author SHA1 Message Date
Ryan VanderMeulen
19152f52a8 Backed out changeset 2ceca4816688 (bug 854614) for intermittent mochitest-a11y crashes on a CLOSED TREE. 2013-04-11 13:09:58 -04:00
Honza Bambas
52e949bcbc Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
Tom Schuster
7bc9986ba1 Bug 854614 - Root result and argument JS::Values. r=bz 2013-04-11 13:57:03 +02:00
Gabor Krizsanits
16f48f59cf Bug 820170 - Wrapping nodes into documents compartment. r=bholley, r=enn 2013-04-11 11:59:42 +02:00
Gabor Krizsanits
144044e96e Bug 851695 - PreCreate for BackstagePass. r=bholley 2013-04-10 17:35:32 +02:00
Tom Schuster
137e96050e Bug 856477 - Root XPComponents. r=bholley f=terrence 2013-04-10 20:46:59 +02:00
Jon Coppeard
a460db7906 Bug 858107 - GC: Some more rooting in XPConnect - misc rooting r=bholley 2013-04-03 13:43:04 +01:00
Jon Coppeard
82246073de Bug 858107 - GC: Some more rooting in XPConnect - root XPCCallContext r=bholley
--HG--
rename : dom/mobilemessage/src/fallback/MmsService.h => dom/mobilemessage/src/SmsServicesFactory.h
extra : rebase_source : b8e5887bf6c54f776b238100cd0362ea0ed52980
2013-04-09 12:04:32 +01:00
Tom Schuster
b93dfd732b Bug 854614 - Root XPCLazyCallContext. r=terrence,bholley 2013-04-05 21:59:06 +02:00
Daniel Holbert
84282689ce Bug 859482: Remove no-longer-used variable 'definedProperty' from xpc_qsDefineQuickStubs. r=bz 2013-04-08 15:06:27 -07:00
Daniel Holbert
5bfef28510 Bug 859491: Fix Wreorder build warning for XPCJSRuntime constructor. r=bholley 2013-04-08 15:06:27 -07:00
Bobby Holley
fed42f57d6 Bug 856840 - Kill FindWrapper. r=mrbkap 2013-04-08 12:51:24 -07:00
Gabor Krizsanits
5c879a14bf Bug 832091 - guards against crashes in resolveDOMCollectionProperty. r=bholley 2013-04-07 10:18:58 +02:00
Olli Pettay
9627cef5cc Bug 858973 - Make it possible to build with --disable-webspeech, r=Ms2ger 2013-04-06 23:04:48 +03:00
Ryan VanderMeulen
9420af6638 Backed out changeset a85d21e394c0 (bug 854503) for bustage. 2013-04-06 14:37:33 -04:00
Jacek Szpot
ccadc1da47 Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-04 12:14:32 +02:00
Tom Schuster
c0840f1999 Bug 854614 - Root xpc_qsUnwrapThis. r=terrence,bholley 2013-04-05 21:59:06 +02:00
Ryan VanderMeulen
057e2ec64f Backed out changesets 2b47c18653da and b9d17aa000e7 (bug 854614) for Windows bustage on a CLOSED TREE. 2013-04-05 17:14:51 -04:00
Tom Schuster
f52d43a890 Bug 854614 - Root XPCLazyCallContext. r=terrence,bholley 2013-04-05 21:59:06 +02:00
Tom Schuster
8674f5655c Bug 854614 - Root xpc_qsUnwrapThis. r=terrence,bholley 2013-04-05 21:59:06 +02:00
Bobby Holley
cb51c6f934 Bug 858642 - Null-check the XBL scope. r=bz 2013-04-05 12:04:09 -07:00
Jon Coppeard
f9136f9ea1 Bug 858108 - GC: Root the Locale interface r=terrence r=bholley 2013-04-05 10:45:50 +01:00
Eitan Isaacson
5848b6c1b9 Bug 858136 - Rename nsIDOMSpeechSynthesisGetter as nsISpeechSynthesisGetter. r=smaug
--HG--
rename : dom/interfaces/base/nsIDOMSpeechSynthesisGetter.idl => dom/interfaces/base/nsISpeechSynthesisGetter.idl
2013-04-04 15:12:34 -07:00
Nils Maier
07c9ba1608 Bug 857690 - Introduce xpc::ZoneStatsExtras and xpc::CompartmentStatsExtras. r=njn 2013-04-04 11:55:56 -04:00
Ms2ger
a1093b2662 Merge m-c to m-i. 2013-04-04 14:15:56 +02:00
Ms2ger
ce1d91d023 Bug 856960 - Remove some quickstubs; r=bz 2013-04-04 09:05:28 +02:00
Ms2ger
4f80fe5028 Bug 853818 - Remove HTMLMediaElement CI/nsIJSNativeInitializer; r=mounir 2013-04-04 09:04:29 +02:00
Ms2ger
991aaf298f Bug 852602 - Pass CallArgs to Proxy call() and construct() hooks; r=Waldo 2013-04-04 09:02:24 +02:00
Eitan Isaacson
2ed120291b Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Bobby Holley
d80334f7f0 Bug 843829 - Wrap unwaived content JS objects in opaque wrappers for XBL scopes. r=mrbkap 2013-04-03 11:41:23 -07:00
Bobby Holley
b2e573cb36 Bug 843829 - Explicitly add a waiver in FieldGetter and FieldSetter. r=mrbkap 2013-04-03 11:41:23 -07:00
Bobby Holley
1c8f85c192 Bug 843829 - Stop using IsTransparent for XBL field access, and explicitly waive instead. r=mrbkap 2013-04-03 11:41:23 -07:00
Bobby Holley
50147ced7b Bug 843829 - Apply transitive waivers for nativeCall. r=mrbkap 2013-04-03 11:41:23 -07:00
Bobby Holley
8d6a81f763 Bug 845862 - Transitively apply waivers for accessor descriptors. r=mrbkap 2013-04-03 11:41:22 -07:00
Nathan Froyd
f6e14570a7 Bug 839103 - part 3 - send StyleSheet{Added,Removed} chrome notifications when stylesheets are added/removed; r=bz 2013-03-27 14:16:50 -04:00
Jan de Mooij
b6b53ab331 Merge from mozilla-central. 2013-04-03 10:25:36 +02:00
Ehsan Akhgari
5a4d41b75f Backed out 6 changesets (bug 843829, bug 845862) because of broken mochitest-5
Backed out changeset 1df3bdadb7ce (bug 843829)
Backed out changeset 64f001fe04fb (bug 843829)
Backed out changeset 57652d8f0827 (bug 843829)
Backed out changeset 2e889cd77a48 (bug 843829)
Backed out changeset 97d16e7beb27 (bug 843829)
Backed out changeset 6c6ab0e54917 (bug 845862)

Landed on a CLOSED TREE
2013-04-02 23:05:48 -04:00
Bobby Holley
6e2393b436 Bug 843829 - Wrap unwaived content JS objects in opaque wrappers for XBL scopes. r=mrbkap 2013-04-02 18:51:20 -07:00
Bobby Holley
d77249c1d5 Bug 843829 - Explicitly add a waiver in FieldGetter and FieldSetter. r=mrbkap 2013-04-02 18:51:20 -07:00
Bobby Holley
848f672828 Bug 843829 - Stop using IsTransparent for XBL field access, and explicitly waive instead. r=mrbkap 2013-04-02 18:51:20 -07:00
Bobby Holley
a5e9f39c6d Bug 843829 - Apply transitive waivers for nativeCall. r=mrbkap 2013-04-02 18:51:20 -07:00
Bobby Holley
bb1bf870fc Bug 845862 - Transitively apply waivers for accessor descriptors. r=mrbkap 2013-04-02 18:51:19 -07:00
Jan de Mooij
535222fd17 Merge from mozilla-inbound. 2013-04-02 19:20:31 +02:00
Jan de Mooij
119f5c8bc7 Merge from mozilla-central. 2013-04-01 21:48:56 +02:00
Jan Varga
e8149cfe6e Bug 854323 - Move IDBFactory to Paris bindings. r=khuey 2013-03-31 10:18:30 +02:00
Jan de Mooij
630dcd34a8 Merge from mozilla-inbound. 2013-03-29 15:55:22 +01:00
Jan de Mooij
10e8947dd3 Merge from mozilla-central. 2013-03-28 11:26:32 +01:00
Jan de Mooij
c6166684f6 Merge from mozilla-central.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMorphologyElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMorphologyElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFETurbulenceElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFETurbulenceElement.h
rename : xpcom/stub/dependentlibs.py => toolkit/library/dependentlibs.py
rename : xpcom/stub/nsXPComStub.cpp => xpcom/build/FrozenFunctions.cpp
2013-03-27 19:51:50 +01:00
Jon Coppeard
86ed2f4bb4 Bug 855668 - GC: Rooting in DictionaryHelpers.cpp r=smaug
--HG--
extra : rebase_source : c4a28ae779a4432e1a20bf77501088fa8e966b73
2013-03-27 17:46:52 +00:00
Jon Coppeard
d5e636b996 Bug 854955 - GC: Rooting in XrayWrapper.cpp r=bholley
--HG--
extra : rebase_source : fdee7c16f54e1fcbf4ae96e89ffd20eb14ec2d8d
2013-03-27 11:33:30 +00:00
Guilherme Goncalves
a9d0df345c Bug 650295 - Implement main state machine for speech recognition. r=smaug 2013-03-27 14:13:57 -07:00
Jan de Mooij
172cf314e4 Merge from mozilla-central. 2013-03-26 20:55:40 +01:00
Jan de Mooij
10ce141c07 Merge from mozilla-central. 2013-03-26 10:57:26 +01:00
Nicholas Nethercote
b339bee5d5 Bug 854763 - Add a memory reporter for asm.js array buffers. r=luke.
--HG--
extra : rebase_source : 7710041552c96677344c85849cb6a7409a95edd2
2013-03-25 20:39:28 -07:00
Jan de Mooij
4c6bace32c Merge from mozilla-inbound.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEOffsetElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEOffsetElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpotLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpotLightElement.h
2013-03-25 10:27:13 +01:00
Jan de Mooij
eedb10f1f3 Merge from mozilla-central. 2013-03-22 10:39:40 +01:00
Jan de Mooij
ed188a5c93 Merge from mozilla-central.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEGaussianBlurElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEGaussianBlurElement.h
2013-03-21 11:23:12 +01:00
Bobby Holley
2c4c7e714f Bug 854480 - Remove SCRIPT_ACCESS_ONLY. r=mrbkap 2013-04-01 15:17:51 -07:00
Bobby Holley
a28b2e9eee Bug 854480 - Remove old-style unwrapping infrastructure. r=mrbkap 2013-04-01 15:17:51 -07:00
Bobby Holley
e475a79e28 Bug 854480 - Remove old-style unwrapping from GetNativeOfWrapper. r=mrbkap 2013-04-01 15:17:50 -07:00
Bobby Holley
c20af63f3a Bug 854480 - Remove old-style unwrapping from XPCWrappedJSClass. r=mrbkap
I don't claim to really understand why we can end up with a security wrapper
here, but this change should be equivalent.
2013-04-01 15:17:50 -07:00
Bobby Holley
d24acb3173 Bug 854480 - Remove old-style unwrapping from QuickStubs. r=mrbkap 2013-04-01 15:17:50 -07:00
Phil Ringnalda
9df92a2118 Back out 8e59146e161e:29acf1494fed (bug 790732) for failing in exactly the same way it failed on the tryserver
CLOSED TREE
2013-03-26 23:40:45 -07:00
Nicholas Nethercote
5bd34085b0 Bug 831588 - Don't measure decommitted GC arenas in the "explicit" tree. r=terrence,jlebar.
--HG--
extra : rebase_source : a35d978b8884e25169cca8ffc93f96e532e82320
2013-03-26 15:07:33 -07:00
Bobby Holley
431554b6fe Bug 790732 - Components shim tests. r=mrbkap 2013-03-26 22:18:56 -07:00
Bobby Holley
a29395359a Bug 790732 - Omit Components object for content scopes. r=mrbkap 2013-03-26 22:18:56 -07:00
Bobby Holley
6839db4fa1 Bug 790732 - Make Components console warning test pref-aware. r=mrbkap 2013-03-26 22:18:55 -07:00
Bobby Holley
ee27d4fb73 Bug 790732 - Stop attaching Components in InitClasses. r=mrbkap
This method is larely deprecated. The only two consumers are JSD and the setup
for the safe JSContext, neither of which use system principal and thus neither
of which should have |Components|.
2013-03-26 22:18:55 -07:00
Bobby Holley
0db9939247 Bug 790732 - Remove the aTarget parameter from AttachComponentsObject. r=mrbkap
I added this when I thought we'd be defining Components on an object on the XBL
scope chain. At this point, it's not necessary anymore.
2013-03-26 22:18:55 -07:00
Bobby Holley
a5c437d499 Bug 854604 - Null-check funobj. r=mrbkap
I've audited all the places where we instantiate an XPCCallContext with more
than just (cx, {NATIVE,JS}_CALLER), and the toString hook is the only place
where we don't check IsValid() or something that depends on it.
2013-03-26 22:08:10 -07:00
Jan de Mooij
d0d422295b Merge from mozilla-central.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEColorMatrixElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEColorMatrixElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFECompositeElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFECompositeElement.h
2013-03-20 12:54:47 +01:00
Nathan Froyd
5e0270cdc1 Bug 855302 - don't use PR_FALSE in dictionary_helper_gen.py; r=smaug 2013-03-27 11:00:44 -04:00
Jan de Mooij
21b5546d27 Merge from mozilla-inbound. 2013-03-19 10:31:21 +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
Jan de Mooij
c1a255d93e Merge from mozilla-central.
--HG--
rename : content/svg/content/src/SVGFEPointLightElement.cpp => content/svg/content/src/SVGFEComponentTransferElement.cpp
rename : content/svg/content/src/SVGFEPointLightElement.cpp => content/svg/content/src/SVGFEComponentTransferElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDistantLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDistantLightElement.h
2013-03-18 16:53:57 +01:00
Bobby Holley
d802dea1db Bug 855922 - Check XBL scopes per-compartment in the SOW isSafeToUnwrap hook. r=bz 2013-03-28 18:38:07 -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
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