Commit Graph

2211 Commits

Author SHA1 Message Date
Trevor Saunders
2bbbd26f99 bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bsmedberg, bholley 2013-04-09 16:00:21 -04:00
Trevor Saunders
6d48f5d792 bug 860027 - remove nsXPConnect::mInterfaceInfoManager r=bholley 2013-03-10 20:14:14 -04:00
Trevor Saunders
a54c6c7e4e bug 860027 - remove nsXPConnect::GetInterfaceInfoManager() r=bholley 2013-03-08 22:05:08 -05:00
Trevor Saunders
d61ea30a20 bug 860027 - nuke the interface info super manager r=bsmedberg 2013-03-08 15:23:31 -05:00
Terrence Cole
c92aae54d0 Bug 860572 - Use Rooted<JSPropertyDescriptor> in XPCComponents; r=bholley
--HG--
extra : rebase_source : 696cf3ac61d431188d92440bbe506852ecf3c232
2013-04-12 17:42:59 -07:00
Olli Pettay
29a9aafd3c Bug 856303 - Paris binding for MouseScrollEvent, r=peterv
--HG--
extra : rebase_source : 26aec7e5472d213615918f20168e3fd2277b0591
2013-04-15 23:37:52 +03:00
Olli Pettay
190ea4a8ff Bug 856363 - Paris binding for TouchEvent, r=peterv
--HG--
extra : rebase_source : 09fc86b555febd5adfaeebdffeb685e37c1d0823
2013-04-15 23:33:46 +03:00
Olli Pettay
f3649affbc Bug 847598 - Paris binding for NotifyPaintEvent, r=peterv
--HG--
extra : rebase_source : dcd7cc75cfc42ab5cb636093b67da057019269cb
2013-04-15 23:27:37 +03:00
Jon Coppeard
b2767312e0 Bug 861269 - GC: Continuing the rooting of XPConnect - Root XPCJSID.cpp r=bholley
--HG--
extra : rebase_source : 3702d37309dd711a6db9173d0c6ab6142ce78544
2013-04-15 15:30:05 +01:00
Jon Coppeard
af1f7cbb11 Bug 861269 - GC: Continuing the rooting of XPConnect - Root nsXPConnect.cpp r=bholley
--HG--
extra : rebase_source : 4bbe3cc3891cb4b3f820454f0f73acea99b36378
2013-04-15 15:29:51 +01:00
Jon Coppeard
32bc2e5c59 Bug 861269 - GC: Continuing the rooting of XPConnect - Convert id_ to idArg style arguments r=bholley
--HG--
extra : rebase_source : a0a88749928f3f622b5626adfc8aa23382d06611
2013-04-15 15:29:37 +01:00
Honza Bambas
f29df2e52f Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Tom Schuster
6ae8c9253f Bug 861461 - Resolve this in sandbox.importFunction. r=bholley 2013-04-14 18:45:36 +02:00
Ryan VanderMeulen
7b3c2a732d Merge m-c to inbound. 2013-04-13 08:04:05 -04:00
Ms2ger
1003281d29 Bug 858212 - Move FileReader to Paris bindings; r=bz 2013-04-13 09:06:31 +02:00
Ms2ger
6de14397b4 Bug 826740 - Part g: Remove HTMLCanvasElement quickstubs; r=khuey 2013-04-13 09:05:58 +02:00
Ms2ger
c8846c452b Bug 841488 - Part d: Move HTMLSelectElement to WebIDL bindings, remove CI and QS; r=khuey 2013-04-13 09:01:59 +02:00
Boris Zbarsky
3722421ee7 Bug 860591. Install WebIDL quickstubs for event interfaces as needed. r=smaug 2013-04-12 10:51:25 -04:00
Tom Schuster
b0284bc659 Bug 854614 - Root result and argument JS::Values. r=bz 2013-04-11 13:57:03 +02:00
Ryan VanderMeulen
454cb5b6ad No bug - Fix typo. 2013-04-12 23:04:51 -04:00
Ryan VanderMeulen
7b5cb126eb Backed out changeset 8ce65f4eb1ba (bug 820170) for suspicion of causing bug 860903 on a CLOSED TREE. 2013-04-12 13:57:46 -04:00
Boris Zbarsky
1baa79df9f Back out bug 860591 (rev 8488f69f8f91) because it causes orange, resulting in a CLOSED TREE 2013-04-12 12:50:06 -04:00
Boris Zbarsky
e650da245b Bug 860591. Install WebIDL quickstubs for event interfaces as needed. r=smaug 2013-04-12 10:51:25 -04:00
Jon Coppeard
8d0b0385b6 Bug 860777 - Part 2 - Root WrapperFactory.cpp r=bholley
--HG--
extra : rebase_source : 83a21d88d01e52ea34326388dab462efdc4252ab
2013-04-12 10:50:43 +01:00
Jon Coppeard
f1d4899b54 Bug 860777 - Part 1 - Root XPCWrappedJSClass.cpp r=bholley
--HG--
extra : rebase_source : bc2545f609d958549e3df3524dd543330362611c
2013-04-12 10:50:43 +01:00
Jon Coppeard
650580da78 Bug 860311 - GC: More rooting in XPConnect r=bholley
--HG--
extra : rebase_source : 3afba11173f0df957fe34e66b9dd443b5ed01b9a
2013-04-09 16:42:21 +01:00
Reuben Morais
b40487a192 Bug 861041 - Fix -Wunused-function error in XPCQuickStubs.h. r=bz
--HG--
extra : rebase_source : d51c372a236b67fdaf91535bc967beb9621c671d
2013-04-11 20:19:54 -07:00
Joshua Cranmer
8b560d8a3f Bug 856108 - Port static analyses to clang, part 2g: use MOZ_STACK_CLASS in xpconnect. r=bholley 2013-04-11 22:21:46 -05:00
Ryan VanderMeulen
60dbee1a3e Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00
Jacek Szpot
a38774d086 Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-11 11:50:18 -07:00
Ryan VanderMeulen
99b925f608 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
26d97547b7 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
Tom Schuster
882663feb5 Bug 854614 - Root result and argument JS::Values. r=bz 2013-04-11 13:57:03 +02:00
Gabor Krizsanits
35c3d355eb Bug 820170 - Wrapping nodes into documents compartment. r=bholley, r=enn 2013-04-11 11:59:42 +02:00
Gabor Krizsanits
1f6b12f15a Bug 851695 - PreCreate for BackstagePass. r=bholley 2013-04-10 17:35:32 +02:00
Tom Schuster
f063028249 Bug 856477 - Root XPComponents. r=bholley f=terrence 2013-04-10 20:46:59 +02:00
Jon Coppeard
50be7a6d21 Bug 858107 - GC: Some more rooting in XPConnect - misc rooting r=bholley 2013-04-03 13:43:04 +01:00
Jon Coppeard
24c5c8e40e 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
0a853900f7 Bug 854614 - Root XPCLazyCallContext. r=terrence,bholley 2013-04-05 21:59:06 +02:00
Daniel Holbert
471ef56d35 Bug 859482: Remove no-longer-used variable 'definedProperty' from xpc_qsDefineQuickStubs. r=bz 2013-04-08 15:06:27 -07:00
Daniel Holbert
50c7b3fb69 Bug 859491: Fix Wreorder build warning for XPCJSRuntime constructor. r=bholley 2013-04-08 15:06:27 -07:00
Bobby Holley
7235a8baf4 Bug 856840 - Kill FindWrapper. r=mrbkap 2013-04-08 12:51:24 -07:00
Gabor Krizsanits
07c194820d Bug 832091 - guards against crashes in resolveDOMCollectionProperty. r=bholley 2013-04-07 10:18:58 +02:00
Olli Pettay
515c075b6a Bug 858973 - Make it possible to build with --disable-webspeech, r=Ms2ger 2013-04-06 23:04:48 +03:00
Ryan VanderMeulen
4df26dd5ac Backed out changeset a85d21e394c0 (bug 854503) for bustage. 2013-04-06 14:37:33 -04:00
Jacek Szpot
ab74228011 Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-04 12:14:32 +02:00
Tom Schuster
11f16e47e7 Bug 854614 - Root xpc_qsUnwrapThis. r=terrence,bholley 2013-04-05 21:59:06 +02:00
Ryan VanderMeulen
4005b315ef 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
3301e73e1f Bug 854614 - Root XPCLazyCallContext. r=terrence,bholley 2013-04-05 21:59:06 +02:00
Tom Schuster
c503b8f01a Bug 854614 - Root xpc_qsUnwrapThis. r=terrence,bholley 2013-04-05 21:59:06 +02:00
Bobby Holley
e8aa91a4a3 Bug 858642 - Null-check the XBL scope. r=bz 2013-04-05 12:04:09 -07:00
Jon Coppeard
c57a0f9499 Bug 858108 - GC: Root the Locale interface r=terrence r=bholley 2013-04-05 10:45:50 +01:00
Eitan Isaacson
d1abd880d7 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
3451950a0e Bug 857690 - Introduce xpc::ZoneStatsExtras and xpc::CompartmentStatsExtras. r=njn 2013-04-04 11:55:56 -04:00
Ms2ger
97ae827742 Merge m-c to m-i. 2013-04-04 14:15:56 +02:00
Ms2ger
9f6231e934 Bug 856960 - Remove some quickstubs; r=bz 2013-04-04 09:05:28 +02:00
Ms2ger
7236c3b171 Bug 853818 - Remove HTMLMediaElement CI/nsIJSNativeInitializer; r=mounir 2013-04-04 09:04:29 +02:00
Ms2ger
5d894db6f7 Bug 852602 - Pass CallArgs to Proxy call() and construct() hooks; r=Waldo 2013-04-04 09:02:24 +02:00
Eitan Isaacson
998738aff3 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
61705225bc 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
c15547b548 Bug 843829 - Explicitly add a waiver in FieldGetter and FieldSetter. r=mrbkap 2013-04-03 11:41:23 -07:00
Bobby Holley
8788bdc0ee 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
a332f0164a Bug 843829 - Apply transitive waivers for nativeCall. r=mrbkap 2013-04-03 11:41:23 -07:00
Bobby Holley
38f05e866f Bug 845862 - Transitively apply waivers for accessor descriptors. r=mrbkap 2013-04-03 11:41:22 -07:00
Nathan Froyd
91e7c9d346 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
833d84e579 Merge from mozilla-central. 2013-04-03 10:25:36 +02:00
Ehsan Akhgari
eadd54865e 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
bc8fa5b7e3 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
170286774d Bug 843829 - Explicitly add a waiver in FieldGetter and FieldSetter. r=mrbkap 2013-04-02 18:51:20 -07:00
Bobby Holley
6a9d39f758 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
70b8e9c476 Bug 843829 - Apply transitive waivers for nativeCall. r=mrbkap 2013-04-02 18:51:20 -07:00
Bobby Holley
c6e721524b Bug 845862 - Transitively apply waivers for accessor descriptors. r=mrbkap 2013-04-02 18:51:19 -07:00
Jan de Mooij
cb28e58975 Merge from mozilla-inbound. 2013-04-02 19:20:31 +02:00
Jan de Mooij
296e64a371 Merge from mozilla-central. 2013-04-01 21:48:56 +02:00
Jan Varga
f6d1ba4c72 Bug 854323 - Move IDBFactory to Paris bindings. r=khuey 2013-03-31 10:18:30 +02:00
Jan de Mooij
3701cd327e Merge from mozilla-inbound. 2013-03-29 15:55:22 +01:00
Jan de Mooij
478acd0f98 Merge from mozilla-central. 2013-03-28 11:26:32 +01:00
Jan de Mooij
8793f84ed3 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
d411131381 Bug 855668 - GC: Rooting in DictionaryHelpers.cpp r=smaug
--HG--
extra : rebase_source : c4a28ae779a4432e1a20bf77501088fa8e966b73
2013-03-27 17:46:52 +00:00
Jon Coppeard
03a9c98899 Bug 854955 - GC: Rooting in XrayWrapper.cpp r=bholley
--HG--
extra : rebase_source : fdee7c16f54e1fcbf4ae96e89ffd20eb14ec2d8d
2013-03-27 11:33:30 +00:00
Guilherme Goncalves
b8efeb2286 Bug 650295 - Implement main state machine for speech recognition. r=smaug 2013-03-27 14:13:57 -07:00
Jan de Mooij
e08e42b1df Merge from mozilla-central. 2013-03-26 20:55:40 +01:00
Jan de Mooij
b645ed9bed Merge from mozilla-central. 2013-03-26 10:57:26 +01:00
Nicholas Nethercote
cc8b45cc14 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
f37f4f3255 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
1cce65663c Merge from mozilla-central. 2013-03-22 10:39:40 +01:00
Jan de Mooij
88be2d0a9e 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
7ca7a4cb72 Bug 854480 - Remove SCRIPT_ACCESS_ONLY. r=mrbkap 2013-04-01 15:17:51 -07:00
Bobby Holley
6186e7d2ce Bug 854480 - Remove old-style unwrapping infrastructure. r=mrbkap 2013-04-01 15:17:51 -07:00
Bobby Holley
d8be8f1314 Bug 854480 - Remove old-style unwrapping from GetNativeOfWrapper. r=mrbkap 2013-04-01 15:17:50 -07:00
Bobby Holley
43fa5529b2 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
90c48ae88a Bug 854480 - Remove old-style unwrapping from QuickStubs. r=mrbkap 2013-04-01 15:17:50 -07:00
Phil Ringnalda
6463b16c25 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
3961c78096 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
324bac32c7 Bug 790732 - Components shim tests. r=mrbkap 2013-03-26 22:18:56 -07:00
Bobby Holley
5a05b3aa90 Bug 790732 - Omit Components object for content scopes. r=mrbkap 2013-03-26 22:18:56 -07:00
Bobby Holley
89264d7aee Bug 790732 - Make Components console warning test pref-aware. r=mrbkap 2013-03-26 22:18:55 -07:00
Bobby Holley
77fb834b20 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
c980e62926 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
53b9848aa4 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
b72b9048cd 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
0af0c4115c 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
1e1152bd8b Merge from mozilla-inbound. 2013-03-19 10:31:21 +01:00
Bobby Holley
fa807df3d0 Bug 851987 - QI to nsPIDOMWindow instead of nsIDOMWindow in XPCWrappedJS. r=bz 2013-03-18 14:30:23 -07:00
Jan de Mooij
3bb21708c3 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
cf8475a71a Bug 855922 - Check XBL scopes per-compartment in the SOW isSafeToUnwrap hook. r=bz 2013-03-28 18:38:07 -07:00
Bobby Holley
01a87f0686 Bug 848538 - Push a cx before calling into ctypes callbacks. r=jorendorff 2013-03-18 11:04:07 -07:00
Ms2ger
93257af4d7 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
57f408ca00 Backout bug 658909 for Marionette bustage. 2013-03-17 10:44:33 +01:00
Ms2ger
1dad3019dc Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
Ms2ger
4a10101367 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
4f5fca99bc 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
4724712dda Bug 658909 - Tests. r=mrbkap 2013-03-16 22:58:17 -07:00
Bobby Holley
f2d4875baf 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
7dbf4f1fed Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
060de590ab Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
b565553284 Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
6727e6bedc 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
c190c23a80 Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
edc21daca4 Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
d92a951128 Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
39cab39988 Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
1f7069e46c Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
8909d86840 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
5dc76db245 Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
2ed6106b47 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
47f71c387a Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
37d3102c0d 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
ed9f075b74 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
1b542bebd8 Bug 658909 - Remove unnecessary ccx param. r=mrbkap 2013-03-16 22:58:13 -07:00
Bobby Holley
91b7386681 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
d5a80b8a15 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
c7ddf51a4f Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Benoit Girard
042e2c83ad 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
dc6e7e0ed8 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
d691f5e899 Merge from mozilla-central. 2013-03-13 11:38:41 +01:00
Jan de Mooij
69130bb073 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
89e86f9b21 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
510b8a85e9 Bug 849730 - Let objectClassIs through for COWs. r=mrbkap 2013-03-13 14:48:59 -07:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Jan de Mooij
2e0c6c381b Merge from mozilla-central. 2013-03-11 15:18:12 +01:00
Ms2ger
89fffd12a6 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
7826020b56 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
d270a394b9 Merge from mozilla-central. 2013-03-08 09:57:47 +01:00
Ed Morley
3091d3e2b6 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
b03f14270d 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
08aea52e66 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
ebc67de1cd Merge from mozilla-central. 2013-03-07 10:39:16 +01:00
Peter Van der Beken
9a1b39f5e4 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
203cd29378 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
213cc43ed4 Merge from mozilla-central. 2013-03-06 16:18:00 +01:00
Jan de Mooij
9b5806bc99 Bug 846733 - Add baseline compiler memory reporters. r=djvj 2013-03-05 10:53:54 +01:00
Ryan VanderMeulen
06be39f3ec 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
f18e9439d5 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
aa087f4637 Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg 2013-03-15 10:52:10 -07:00
Bobby Holley
c3a16fc943 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
62743abe48 Bug 853571 - Tests. r=bz 2013-03-24 09:27:10 -07:00
Bobby Holley
0791f9f7d2 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
69963fe3b1 Bug 851340 - Make the rooting of scripts in nsXULPrototypeCache more efficient; r=smaug 2013-03-19 10:20:21 -07:00
Terrence Cole
96e6fac9f3 Bug 848608 - Make eagerlyTraceWeakMaps an enum; r=billm
--HG--
extra : rebase_source : 20558f611dda644f966d4660b88895a0cbc5c7d1
2013-03-07 10:49:30 -08:00
Bobby Holley
6ab9134c42 Bug 813901 - Tests. r=mrbkap 2013-03-13 10:01:36 -07:00
Eddy Bruel
ac26949ffe 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
43628a7867 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
334c0800cf 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
114ddf1599 Backed out bug 789897 due to regressions. 2013-03-29 14:07:32 -04:00
Terrence Cole
72134a625d Bug 765432 - Make JS_IsAboutToBeFinalized indirect; r=bholley,billm 2013-03-28 13:27:29 -07:00
Igor Bukanov
2b973536e4 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
5f261324fc Bug 856257 - Clean up nsXPConnect sandbox API a bit. r=mrbkap 2013-04-02 09:45:01 -07:00
Matt Brubeck
b83706b89d Back out bug 839103 for build errors on a CLOSED TREE 2013-04-02 08:18:27 -07:00
Nathan Froyd
c5c2e7a70e 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
4ceb300895 Bug 825697 - Check for all wrapper types. r=mrbkap 2013-03-11 10:13:25 -07:00
Neil Deakin
9fe80b713b Bug 407983, add clipboard events constructor, r=smaug 2013-03-11 11:49:56 -04:00
Bill McCloskey
484d62d1fb Bug 846890 - Avoid check for native anonymous content when possible (r=bholley) 2013-03-08 18:49:36 -08:00
Gregory Szorc
426ac0cdd3 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Gregory Szorc
de55b5242b 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
c865547d94 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
b2eccf2f06 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
3a517af32a Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium 2013-03-10 23:00:23 +01:00
Gene Lian
fd920eef31 Bug 852911 - B2G MMS: fail to expose correct nsIDOMMozMmsMessage.attachments. r=smaug 2013-03-21 14:49:23 +08:00
Boris Zbarsky
8cfff048ee 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
3988338337 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
c952e87e03 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
e594545631 Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Boris Zbarsky
08d376c598 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
1e89bd52ab 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
8fedd090cc Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
0c8ee65118 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
aea301eee3 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
45faa95b04 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
c832d55dac Bug 784841 - Part 18s: Convert /js; r=glandium 2013-02-25 12:47:22 -08:00
Bobby Holley
0c9994db1d 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
59d3c6c36d Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
d916a1015e 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
e969932415 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
141e362856 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
b71f255ba0 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 17:58:48 -08:00
Bobby Holley
07f2fa5d3f Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
David Zbarsky
46284ae633 Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Jon Coppeard
a0a3f88913 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
3a53c22824 Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00