Jon Coppeard
dc8b60fb14
Bug 858108 - GC: Root the Locale interface r=terrence r=bholley
2013-04-05 10:45:50 +01:00
Eitan Isaacson
d884549b65
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
447d037468
Bug 857690 - Introduce xpc::ZoneStatsExtras and xpc::CompartmentStatsExtras. r=njn
2013-04-04 11:55:56 -04:00
Ms2ger
2fef74cc6d
Merge m-c to m-i.
2013-04-04 14:15:56 +02:00
Ms2ger
906d5c820d
Bug 856960 - Remove some quickstubs; r=bz
2013-04-04 09:05:28 +02:00
Ms2ger
ce86e9a39a
Bug 853818 - Remove HTMLMediaElement CI/nsIJSNativeInitializer; r=mounir
2013-04-04 09:04:29 +02:00
Ms2ger
e38aa0d743
Bug 852602 - Pass CallArgs to Proxy call() and construct() hooks; r=Waldo
2013-04-04 09:02:24 +02:00
Eitan Isaacson
79a685a6a4
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
eb199ec0c8
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
c038c610e6
Bug 843829 - Explicitly add a waiver in FieldGetter and FieldSetter. r=mrbkap
2013-04-03 11:41:23 -07:00
Bobby Holley
43eb484613
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
2d0315508f
Bug 843829 - Apply transitive waivers for nativeCall. r=mrbkap
2013-04-03 11:41:23 -07:00
Bobby Holley
1f82d91ffb
Bug 845862 - Transitively apply waivers for accessor descriptors. r=mrbkap
2013-04-03 11:41:22 -07:00
Nathan Froyd
0a8a82bada
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
77852de9e9
Merge from mozilla-central.
2013-04-03 10:25:36 +02:00
Ehsan Akhgari
9df6dde4c7
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
b7d2424ff1
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
b8f153dab6
Bug 843829 - Explicitly add a waiver in FieldGetter and FieldSetter. r=mrbkap
2013-04-02 18:51:20 -07:00
Bobby Holley
3beb744c60
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
3b946c7d96
Bug 843829 - Apply transitive waivers for nativeCall. r=mrbkap
2013-04-02 18:51:20 -07:00
Bobby Holley
1a6a1730f5
Bug 845862 - Transitively apply waivers for accessor descriptors. r=mrbkap
2013-04-02 18:51:19 -07:00
Jan de Mooij
aaa969fc58
Merge from mozilla-inbound.
2013-04-02 19:20:31 +02:00
Jan de Mooij
0adfa075a4
Merge from mozilla-central.
2013-04-01 21:48:56 +02:00
Jan Varga
c60929486c
Bug 854323 - Move IDBFactory to Paris bindings. r=khuey
2013-03-31 10:18:30 +02:00
Jan de Mooij
918f8f0f23
Merge from mozilla-inbound.
2013-03-29 15:55:22 +01:00
Jan de Mooij
baace0968a
Merge from mozilla-central.
2013-03-28 11:26:32 +01:00
Jan de Mooij
c54687dee3
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
cc11e96a10
Bug 855668 - GC: Rooting in DictionaryHelpers.cpp r=smaug
...
--HG--
extra : rebase_source : c4a28ae779a4432e1a20bf77501088fa8e966b73
2013-03-27 17:46:52 +00:00
Jon Coppeard
acfef2ab1e
Bug 854955 - GC: Rooting in XrayWrapper.cpp r=bholley
...
--HG--
extra : rebase_source : fdee7c16f54e1fcbf4ae96e89ffd20eb14ec2d8d
2013-03-27 11:33:30 +00:00
Guilherme Goncalves
c48d442559
Bug 650295 - Implement main state machine for speech recognition. r=smaug
2013-03-27 14:13:57 -07:00
Jan de Mooij
799355e0c1
Merge from mozilla-central.
2013-03-26 20:55:40 +01:00
Jan de Mooij
78245a3e52
Merge from mozilla-central.
2013-03-26 10:57:26 +01:00
Nicholas Nethercote
5088024fa5
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
c99782e8ff
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
39b2173b9d
Merge from mozilla-central.
2013-03-22 10:39:40 +01:00
Jan de Mooij
76d5e1151c
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
ad352a027b
Bug 854480 - Remove SCRIPT_ACCESS_ONLY. r=mrbkap
2013-04-01 15:17:51 -07:00
Bobby Holley
134ea8f647
Bug 854480 - Remove old-style unwrapping infrastructure. r=mrbkap
2013-04-01 15:17:51 -07:00
Bobby Holley
cea58b1ded
Bug 854480 - Remove old-style unwrapping from GetNativeOfWrapper. r=mrbkap
2013-04-01 15:17:50 -07:00
Bobby Holley
472b87a74d
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
aaaea0d21f
Bug 854480 - Remove old-style unwrapping from QuickStubs. r=mrbkap
2013-04-01 15:17:50 -07:00
Phil Ringnalda
fd8c2d8349
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
f229655d31
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
0cd79bb341
Bug 790732 - Components shim tests. r=mrbkap
2013-03-26 22:18:56 -07:00
Bobby Holley
f82a54b6e8
Bug 790732 - Omit Components object for content scopes. r=mrbkap
2013-03-26 22:18:56 -07:00
Bobby Holley
15b3bbb91a
Bug 790732 - Make Components console warning test pref-aware. r=mrbkap
2013-03-26 22:18:55 -07:00
Bobby Holley
8382dff7f8
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
2c6c57cde8
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
8d8ebf2720
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
a9086aedc6
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
fac24ec822
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
18dfd23998
Merge from mozilla-inbound.
2013-03-19 10:31:21 +01:00
Bobby Holley
2d898008d8
Bug 851987 - QI to nsPIDOMWindow instead of nsIDOMWindow in XPCWrappedJS. r=bz
2013-03-18 14:30:23 -07:00
Jan de Mooij
6317f934e9
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
55fed95d17
Bug 855922 - Check XBL scopes per-compartment in the SOW isSafeToUnwrap hook. r=bz
2013-03-28 18:38:07 -07:00
Bobby Holley
964d540d50
Bug 848538 - Push a cx before calling into ctypes callbacks. r=jorendorff
2013-03-18 11:04:07 -07:00
Ms2ger
2ef57946b1
Merge m-c to m-i.
2013-03-17 13:22:37 +01:00
Ms2ger
0fcece12d8
Backout bug 658909 for Marionette bustage.
2013-03-17 10:44:33 +01:00
Ms2ger
7bcafadd47
Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey
2013-03-17 09:51:36 +01:00
Ms2ger
ded9d214d0
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
a2173990cc
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
b3729e720f
Bug 658909 - Tests. r=mrbkap
2013-03-16 22:58:17 -07:00
Bobby Holley
7fbc4f2469
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
55e5322189
Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap
2013-03-16 22:58:16 -07:00
Bobby Holley
2261f1ce91
Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap
2013-03-16 22:58:16 -07:00
Bobby Holley
2491e8030a
Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap
2013-03-16 22:58:16 -07:00
Bobby Holley
621e6b8496
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
9066876a33
Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
9c4d015129
Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
0d540a32dd
Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
8a60c09a1f
Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
5fbd59201c
Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
ffb73d345d
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
8160c96d4e
Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap
2013-03-16 22:58:14 -07:00
Bobby Holley
5b8d755b22
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
b458ef37b2
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-16 22:58:14 -07:00
Bobby Holley
721351e660
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
e04912b20e
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
a22cc9ffed
Bug 658909 - Remove unnecessary ccx param. r=mrbkap
2013-03-16 22:58:13 -07:00
Bobby Holley
11ee47784a
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
b3038807d1
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
a3cea08b3a
Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley)
2013-03-16 20:36:37 -07:00
Benoit Girard
fc10a7cfe4
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 : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Jan de Mooij
ce7520efef
Merge from mozilla-inbound.
...
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEPointLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEPointLightElement.h
2013-03-14 10:50:28 +01:00
Jan de Mooij
feab4ed7e8
Merge from mozilla-central.
2013-03-13 11:38:41 +01:00
Jan de Mooij
c164527574
Merge from mozilla-central.
...
--HG--
rename : content/html/content/src/nsMediaFragmentURIParser.cpp => netwerk/base/src/nsMediaFragmentURIParser.cpp
rename : content/html/content/src/nsMediaFragmentURIParser.h => netwerk/base/src/nsMediaFragmentURIParser.h
2013-03-12 10:09:17 +01:00
Gregory Szorc
09e7b06723
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
Bobby Holley
30641e3a63
Bug 849730 - Let objectClassIs through for COWs. r=mrbkap
2013-03-13 14:48:59 -07:00
Mike Shal
9680b82df6
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Jan de Mooij
0ff1c79c80
Merge from mozilla-central.
2013-03-11 15:18:12 +01:00
Ms2ger
2cf07efa15
Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
...
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Ms2ger
0b1de39abe
Bug 825285 - Part b: Move ArchiveReader to Paris bindings, remove XPCOM goop; r=khuey
2013-03-10 08:57:14 +01:00
Jan de Mooij
8ff567ce1a
Merge from mozilla-central.
2013-03-08 09:57:47 +01:00
Ed Morley
2b1775b4e9
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
664cf994b4
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
Jan de Mooij
381bda63c3
Bug 848374 - Have a single allocator per compartment for optimized stubs. r=djvj,njn
2013-03-07 11:42:24 +01:00
Jan de Mooij
a6fa56a8fe
Merge from mozilla-central.
2013-03-07 10:39:16 +01:00
Peter Van der Beken
81ba7f5b84
Fix for bug 853136 (Prepare some tests for HTMLDocument using a WebIDL binding). r=bholley.
...
--HG--
extra : rebase_source : 0a19404b8d40075488568e179088e3c41ee8c4e4
2013-03-14 14:50:46 +01:00
Boris Zbarsky
b105f502e9
Bug 855582 part 2. Make the bindings' various spec arrays const, and make the jitinfo structs static. r=khuey
2013-04-02 20:20:38 -04:00
Jan de Mooij
ee146de3c3
Merge from mozilla-central.
2013-03-06 16:18:00 +01:00
Jan de Mooij
5b01371df1
Bug 846733 - Add baseline compiler memory reporters. r=djvj
2013-03-05 10:53:54 +01:00
Ryan VanderMeulen
2e0d51cb97
Backed out changeset e44bc308642a (bug 813901) and changeset 19f154ee6f54 (bug 850000) for bustage on a CLOSED TREE.
2013-03-13 13:22:14 -04:00
Jon Coppeard
1e656de13c
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
Daniel Holbert
b76c363e13
Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg
2013-03-15 10:52:10 -07:00
Bobby Holley
bcb7ce6f0a
Bug 854019 - Continue checking the XBL bit if remote XUL disables XBL scopes. r=bz
2013-03-24 09:27:10 -07:00
Bobby Holley
014baaf697
Bug 853571 - Tests. r=bz
2013-03-24 09:27:10 -07:00
Bobby Holley
79bc02dabd
Bug 853571 - Do special detection for sandboxPrototype to make sure the source gets set up right in postMessage. r=bz
2013-03-24 09:27:10 -07:00
Terrence Cole
2ae4b3c000
Bug 851340 - Make the rooting of scripts in nsXULPrototypeCache more efficient; r=smaug
2013-03-19 10:20:21 -07:00
Terrence Cole
4e5da394ec
Bug 848608 - Make eagerlyTraceWeakMaps an enum; r=billm
...
--HG--
extra : rebase_source : 20558f611dda644f966d4660b88895a0cbc5c7d1
2013-03-07 10:49:30 -08:00
Bobby Holley
70a841abe2
Bug 813901 - Tests. r=mrbkap
2013-03-13 10:01:36 -07:00
Eddy Bruel
000c08fe71
Bug 789897 - Implement isExtensible and preventExtensions traps for proxies, including scriptable direct proxies, and in the various wrapper classes. Also move non-static JSObject::preventExtensions to static ObjectImpl::preventExtensions, for handle correctness. Patch is a semi-tag-team effort with jwalden. r=jwalden, r=ejpbruel, r=bholley, r=two-turtle-doves-and-a-partridge-in-a-pear-tree
...
--HG--
extra : rebase_source : 156d2c22499372fceb60d130e363a3685e68b9fc
2013-03-22 19:43:03 -07:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Ryan VanderMeulen
957687a97e
Backed out bug 789897 due to regressions.
2013-03-29 14:07:32 -04:00
Terrence Cole
706b867d6e
Bug 765432 - Make JS_IsAboutToBeFinalized indirect; r=bholley,billm
2013-03-28 13:27:29 -07:00
Igor Bukanov
6e38ffd2b4
Bug 743436 - remove XPCJSRuntime::mJSCycleCollectionContext and related code. r=peterv
...
The patch removes no longer used XPCJSRuntime::mJSCycleCollectionContext,
nsXPConnect::mCycleCollectionContext and related code to create/destroy
contexts. As that made nsCycleCollectionJSRuntime::FinishTraverse() empty
in all cases I removed that method as well.
2013-02-27 11:33:12 -08:00
Bobby Holley
dd167cf5db
Bug 856257 - Clean up nsXPConnect sandbox API a bit. r=mrbkap
2013-04-02 09:45:01 -07:00
Matt Brubeck
0112a4cd84
Back out bug 839103 for build errors on a CLOSED TREE
2013-04-02 08:18:27 -07:00
Nathan Froyd
2ff029b601
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
Bobby Holley
ccc319c140
Bug 825697 - Check for all wrapper types. r=mrbkap
2013-03-11 10:13:25 -07:00
Neil Deakin
615637590a
Bug 407983, add clipboard events constructor, r=smaug
2013-03-11 11:49:56 -04:00
Bill McCloskey
50f50ed54e
Bug 846890 - Avoid check for native anonymous content when possible (r=bholley)
2013-03-08 18:49:36 -08:00
Gregory Szorc
ed102f4876
Merge mozilla-central into build-system
2013-03-13 08:20:09 -07:00
Gregory Szorc
94e8454958
Merge mozilla-central into build-system
...
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Gregory Szorc
7bb3ee056b
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Benjamin Peterson
6878c00c80
Bug 779233 - Count script filenames as part of script source memory. r=njn
...
--HG--
extra : rebase_source : f8c6e2d0867f172a68bac2242dd401db89c92236
2013-03-12 21:56:57 -05:00
Julian Seward
7c8de49023
Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium
2013-03-10 23:00:23 +01:00
Gene Lian
f70fb08d9a
Bug 852911 - B2G MMS: fail to expose correct nsIDOMMozMmsMessage.attachments. r=smaug
2013-03-21 14:49:23 +08:00
Boris Zbarsky
4549dd5886
Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
...
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods. That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.
I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired... But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
09556095dd
Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
...
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Ryan VanderMeulen
ebcc7ae06a
Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
...
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Olli Pettay
fee019f92c
Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
...
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Boris Zbarsky
30f64b6cf1
Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
...
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods. That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.
I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired... But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
7015a00262
Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
...
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Ms2ger
3813557cac
Merge m-i to b-s.
2013-02-28 14:46:10 +01:00
Gregory Szorc
f0b7e3972c
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
cd9c6150fe
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
faf262c4ee
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
c1b5e29e19
Bug 784841 - Part 18s: Convert /js; r=glandium
2013-02-25 12:47:22 -08:00
Bobby Holley
c014987e4f
Bug 836301 - Hoist some assertions, remove a bunch of no-op trap overrides, and add assertions that we've entered our policy. r=mrbkap
2013-02-25 13:54:18 -08:00
Bobby Holley
f84dddd71f
Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap
2013-02-25 13:54:18 -08:00
Bobby Holley
83a57c8d91
Bug 836301 - Introduce an RAII class for entering policies. r=mrbkap
...
This will allow us to make some hard assertions that a given policy has been
entered exactly once.
2013-02-25 13:54:18 -08:00
Bobby Holley
a1a88275ee
Bug 836301 - Add Special handling to allow us to call enter() for defineProperty on Xrays. r=mrbkap
2013-02-25 13:54:17 -08:00
Bobby Holley
6f2c3cdc97
Bug 836301 - Stop using JSRESOLVE_ASSIGNING to determine GET vs SET. r=mrbkap
...
This is just a heuristic, anyway, and some of the usage is downright broken.
There are two cases here:
1 - Deciding what to do for get{Own,}PropertyDescriptor. In these cases, we can
just enter with GET and rely on the filtering machinery to filter out dangerous
setters for security wrappers.
2 - Custom Xray props. None of these make sense in a |set| context. In fact,
they generally have null setters anyway, so we can just assume GET.
The policy-entering code in XrayWrapper is super haphazard. We'll get rid of it
entirely later in these patches.
2013-02-25 13:54:17 -08:00
L. David Baron
9b9f1bc887
Bug 404077: Adjust annotations of expected assertions. CLOSED TREE
2013-02-27 17:58:48 -08:00
Bobby Holley
440bea3fd7
Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8
2013-02-25 10:43:03 -08:00
David Zbarsky
5cc0fcdcdf
Bug 847007: Remove nsIContent includes r=Ms2ger
2013-03-21 20:05:20 -04:00
Jon Coppeard
8d5fd16382
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
...
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
fe417ad697
Backed out changeset 28ef4bdff455 (bug 848395)
2013-03-07 13:03:35 +00:00
Gabor Krizsanits
4995dd1d6c
Bug 820170 - nsDOMEventTarget holds a global. r=smaug
2013-04-04 11:30:36 +02:00
Gabor Krizsanits
2c40adaf82
Bug 820170 - JunkScope. r=bholley
2013-04-04 11:27:43 +02:00
Gabor Krizsanits
580557f44a
Bug 820170 - GetNativeForGlobal. r=bholley
2013-04-04 11:27:42 +02:00
Gabor Krizsanits
fa14b1b757
Bug 820170 - Weak ref support for globals. r=bholley
2013-04-04 11:27:40 +02:00
Gabor Krizsanits
aeacc33406
Bug 820170 - assert in XPCWrappedNativeScope::SetGlobal. r=bholley
2013-04-04 11:27:39 +02:00
Gabor Krizsanits
c38a4cd7da
Bug 820170 - Turning BackstagePass into non-singleton. r=bholley
2013-04-04 11:27:38 +02:00
Gabor Krizsanits
76d19a29d3
Bug 820170 - SandboxPrivate. r=bholley
2013-04-04 11:27:36 +02:00
Jon Coppeard
fa71007e65
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
...
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Masatoshi Kimura
dd29852063
Bug 841289 - Remove prefable option from WebIDL codegen. r=bz
2013-03-06 07:09:38 +09:00
Olli Pettay
e5921ddec1
Bug 822399 - Make Event to use Paris bindings, r=peterv
2013-03-09 13:34:29 +02:00
Bill McCloskey
ba07637ef2
Back out bug 846890 for reftest orange
2013-03-08 21:27:25 -08:00
Bill McCloskey
81426160a3
Bug 846890 - Avoid check for native anonymous content when possible (r=bholley)
2013-03-08 18:49:36 -08:00
Zack Weinberg
68dac0c8ba
Bug 847181: prune unused printing-related nsresult codes, make printing error codes available in Components.results, and improve English of printing error messages. r=smaug
2013-03-08 21:45:14 -05:00
Tom Schuster
045cb0fba7
Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz
2013-03-21 23:23:48 +01:00
Tom Schuster
b8e3b65fa7
Bug 828462 - Root Proxy/Wrapper delete. r=terrence
2013-03-21 23:23:48 +01:00
Tom Schuster
097f3a1110
Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence
2013-03-21 23:23:47 +01:00
Tom Schuster
5a05e27565
Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence
2013-03-21 23:23:47 +01:00
Tom Schuster
b67362a266
Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence
2013-03-21 23:23:47 +01:00
Bobby Holley
d9f2f2585d
Bug 844783 - Disable XBL scopes for XUL-whitelisted domains. r=bz
2013-03-21 09:33:34 -07:00
Bobby Holley
fdbf86827c
Bug 851895 - Tests. r=mrbkap
2013-03-21 08:20:46 -07:00
Bobby Holley
087d013a2e
Bug 851895 - Expand the this-fixup hack to include Cu. r=mrbkap
2013-03-21 08:20:46 -07:00
Bobby Holley
4fe046507c
Bug 851895 - Don't assert against a failure in CanCallNow. r=mrbkap
...
This can definitely happen now if the |this| object is wrong. It's possible
that we should be checking this earlier, but as the code stands this assertion
is incorrect.
2013-03-21 08:20:46 -07:00
Bobby Holley
28a4f94860
Bug 658909 - Tests. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
4dcdfea519
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
b858cf9698
Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
24dbc1109a
Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
7733ab8004
Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
a1c89d029d
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
9c4154e6bc
Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
b65e2ecba7
Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
fb94cdfee3
Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap
2013-03-21 08:20:44 -07:00
Bobby Holley
fa6d248e50
Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap
2013-03-21 08:20:43 -07:00
Bobby Holley
11b5031023
Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap
2013-03-21 08:20:43 -07:00
Bobby Holley
a39e82c6c7
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
d13583047f
Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap
2013-03-21 08:20:43 -07:00
Bobby Holley
b62d1486bb
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
93d4b3e2bf
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-21 08:20:42 -07:00
Bobby Holley
5fcbe112e7
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
17ce8369ba
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
87e5d84514
Bug 658909 - Remove unnecessary ccx param. r=mrbkap
2013-03-21 08:20:42 -07:00
Bobby Holley
5c2f6cfd84
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
2bf214ff20
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
3cebc24c68
Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap
2013-03-21 08:20:41 -07:00
Ryan VanderMeulen
59aa9e54e3
Backed out changeset 55d19e574b86 (bug 853283) for Windows debug bustage on a CLOSED TREE.
2013-03-21 15:25:14 -04:00
Ryan VanderMeulen
75a33a8191
Backed out 22 changesets (bug 658909) for Windows debug bustage.
2013-03-21 15:24:54 -04:00
Ryan VanderMeulen
9bfb899cee
Backed out 3 changesets (bug 851895) for Windows debug bustage.
2013-03-21 15:24:04 -04:00
Ryan VanderMeulen
f2110c1812
Backed out changesets 775abfe4876f and 1b75fab8561b (bug 844783) under suspicion of breaking Windows debug builds on a CLOSED TREE.
2013-03-21 14:15:31 -04:00
Mike Shal
c2a9341a2e
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Bobby Holley
b9ca3f72f3
Bug 844783 - Disable XBL scopes for XUL-whitelisted domains. r=bz
2013-03-21 09:33:34 -07:00
Bobby Holley
e83099fd69
Bug 851895 - Tests. r=mrbkap
2013-03-21 08:20:46 -07:00
Bobby Holley
756ba16356
Bug 851895 - Expand the this-fixup hack to include Cu. r=mrbkap
2013-03-21 08:20:46 -07:00