Jason Orendorff
9bcd8b30c0
Bug 725907 - for-of improvements, part 3: Implement .iterator() for arraylike DOM objects. r=bzbarsky.
2012-07-03 16:34:56 -05:00
Mounir Lamouri
a849186201
Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking
2012-07-18 21:25:19 -07:00
Mounir Lamouri
8b371aed8a
Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar
2012-07-18 15:27:02 -07:00
Mounir Lamouri
ff9d427dc7
Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking
2012-07-19 10:49:17 -07:00
Justin Lebar
2170f814d5
Bug 773980 - Add Components.utils.isDeadWrapper. r=bholley
...
--HG--
rename : js/xpconnect/tests/Makefile.in => js/xpconnect/tests/browser/Makefile.in
2012-07-19 12:39:43 -04:00
Terrence Cole
8778e3d28d
Bug 772292 - Convert JSObject2WrappedJSMap to a new-style HashTable; r=mrbkap
...
--HG--
extra : rebase_source : a51ae61fde535ba18e84bec484509099101247ab
2012-07-07 16:11:54 -07:00
Jim Mathies
031c062b8b
Bug 762519 - Send xpconnect stack dump output and javascript dump output to the win debugger when attached. r=ehsan, mrbkap
2012-07-19 09:58:44 -05:00
Makoto Kato
2a4902ee1b
Bug 771401 - Change PRTime in IDL to signed long long. r=bholley sr=bsmedberg
2012-07-19 18:53:30 +09:00
Ed Morley
bb507d18ac
Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange
2012-07-19 08:29:48 +01:00
Mounir Lamouri
147b74c44a
Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking
2012-07-18 21:25:19 -07:00
Mounir Lamouri
30741d2c3a
Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar
2012-07-18 15:27:02 -07:00
Mounir Lamouri
2b7700d07d
Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking
2012-07-18 13:35:15 -07:00
Ryan VanderMeulen
1289c5333c
Backout 61d052e202c8 (bug 647367) due to Windows bustage.
2012-07-18 22:33:41 -04:00
Nicholas Nethercote
1f182688f1
Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/. r=luke.
...
--HG--
rename : js/src/jshash.cpp => js/jsd/jshash.cpp
rename : js/src/jshash.h => js/jsd/jshash.h
extra : rebase_source : 22311241bc356e2c724c28f4199cfa8008d594a9
2012-07-18 17:38:10 -07:00
Andrew McCreight
e82547c80d
Bug 761831 - Be less ambitious in GetMemberInfo. r=bholley
2012-07-18 13:28:58 -07:00
Bobby Holley
2d242e094b
Bug 774245 - Remove unnecessary memset. r=mccr8
2012-07-18 14:56:54 +02:00
Bobby Holley
b4fc3bcfe8
Bug 774245 - Tests. r=mrbkap
2012-07-18 13:51:28 +02:00
Bobby Holley
0a7b5241fb
Bug 774245 - Reimplement LookupMethod. r=mrbkap
2012-07-18 13:51:28 +02:00
Bobby Holley
217bf3edb0
Bug 774245 - Add WrapperFactory and XrayWrapper machinery to allow same-compartment Xray wrapping. r=mrbkap
2012-07-18 13:51:28 +02:00
Chris Jones
17dd1fb32e
Bug 774139, part 0: Rename 'NO' typename because that's a constant in Objective-C++. r=bz
2012-07-17 16:01:56 -07:00
Gabor Krizsanits
0b4bc96f9f
Bug 769273 - part4: avoiding innerization in NukeCrossCompartmentWrappers. r=bholley
2012-07-17 17:51:21 +02:00
Gabor Krizsanits
ce3fab5c93
Bug 769273 - part3: Cu.nukeSandbox. r=bholley
2012-07-17 17:41:07 +02:00
Peter Van der Beken
629bad9698
Fix for bug 769464 (Check mDOMObjectIsISupports when unwrapping). r=bz.
...
--HG--
extra : rebase_source : 26d0508b8a11d75164ae4b27af8c64e8845166f9
2012-07-16 16:52:59 +02:00
Ehsan Akhgari
5a262d0761
Bug 749101 - Move window.performance to the new DOM bindings; r=bzbarsky
2012-07-16 21:42:18 -04:00
Nicholas Nethercote
54e1cc8b68
Bug 772615 (part 2) - Enter compartments before calling GetNativeOfWrapper() in the JS memory reporter. r=bholley.
2012-07-15 19:59:47 -07:00
Nicholas Nethercote
1603d4d6fc
Bug 772615 (part 1) - Use the safe JSContext in the JS memory reporter. r=bholley.
2012-07-15 21:03:27 -07:00
Rafael Ávila de Espíndola
899f483355
Bug 774120 - #ifdef fields only used in debug builds. r=terrence.
2012-07-16 16:39:31 -04:00
Ed Morley
c23835f558
Backout 29104ecddc3a (bug 769464) for crashtest assertions
2012-07-16 18:49:14 +01:00
Gabor Krizsanits
d5f97a1ca6
Bug 771081 - part3: Rename WaiveXrayWrapperWrapper. r=gal
2012-07-16 19:28:17 +02:00
Gabor Krizsanits
a9011adbd5
Bug 771081 - part2: Rename CrossOriginWrapper files. r=gal
...
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-16 19:22:51 +02:00
Gabor Krizsanits
c39841ecfc
Bug 771081 - part1: Rename CrossOriginWrapper. r=gal
2012-07-16 17:53:16 +02:00
Peter Van der Beken
f6f14ba82b
Fix for bug 769464 (Check mDOMObjectIsISupports when unwrapping). r=bz.
...
--HG--
extra : rebase_source : 1bdf15c06e0e1e89a877a0f74300bf212de5b60e
2012-07-16 16:52:59 +02:00
Ryan VanderMeulen
a997433ec6
Merge m-c to inbound.
2012-07-14 08:48:58 -04:00
Olli Pettay
6e882d2abe
Bug 773803 - Remove nsIScriptObjectOwner, r=bz
...
--HG--
rename : dom/base/nsIScriptObjectOwner.h => dom/base/nsIScriptEventHandlerOwner.h
2012-07-14 01:23:59 +03:00
Bobby Holley
473b4a8aa9
Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv
2012-07-13 14:33:25 +02:00
Bobby Holley
f3dc2d0945
Bug 771202 - Add a PostTransplant nsIXPCScriptable hook. r=peterv
2012-07-13 10:55:14 +02:00
Bobby Holley
4262204785
Bug 601277 - Better tests for document.domain. r=mrbkap
2012-07-12 10:10:15 +02:00
Bobby Holley
15d867f5bd
Bug 655649 - Stop doing dynamic security checks for document.domain. r=mrbkap
2012-07-12 10:10:15 +02:00
Bobby Holley
4a5e0d850d
Bug 655649 - Use Subsumes Rather than Equals in XPConnect wrapper computation. r=mrbkap
...
Now that we have nsExpandedPrincipal, the current way of doing things is wrong. For some reason, the old document.domain hackery was hiding the failures here.
2012-07-12 10:10:15 +02:00
Eddy Bruel
38a59d2484
Bug 771908 - Get rid of Wrapper::leave; r=bholley, sr=mrbkap
2012-07-11 14:01:10 +02:00
Boris Zbarsky
ab6fc58420
Bug 771429. Instead of using bound functions for the functions we get off the sandbox proto, use a function proxy. That allows property gets on the functions to get through. r=bholley
2012-07-13 19:29:13 -04:00
Andrew McCreight
745479e48c
Bug 704623 - Track memory used by orphan DOM nodes. code=mccr8,njn. r=njn,mccr8.
...
--HG--
extra : rebase_source : f4a4b6e1b1de35a08e86130110a6fbd588093867
2012-04-20 14:01:33 +10:00
Luke Wagner
b844e5f326
Bug 772285 - rm JSPD_ARGUMENT/JSPD_VARIABLE (r=sfink)
...
--HG--
extra : rebase_source : 7be9ea3e5e90be9abd65f7d5268741e453cc717b
2012-07-10 15:34:12 -07:00
Nathan Froyd
5b30baa4c3
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Eddy Bruel
e445b70867
Bug 703537: Rename AbstractWrapper to IndirectWrapper + adding comments; r=bholley
2012-07-08 19:04:14 +02:00
Alex Crichton
f491495a41
Bug 761261 - Add JS profiling to SPS (r=luke,ehsan)
...
--HG--
extra : rebase_source : 328a82697aa9a9f63d18c7a30a813f436e163922
2012-06-20 17:58:55 -07:00
Rafael Ávila de Espíndola
323044e9af
Bug 771683 - Mark some functions MOZ_ALWAYS_INILINE. r=bzbarsky.
...
When compiling with gcc 4.2 these functions get inlined, but then
again, gcc 4.2 inlines almost anything.
With clang, newer versions of gcc and msvc marking these functions
with MOZ_ALWAYS_INLINE is a win. I assume part of the perf win
gcc 4.5 and msvc get with pgo is from noticing these are hot
and inlining them.
Without PGO it is hard for the compiler to know that this is a
win. With clang this does increase the codesize by about 6%.
The wins from inlining are
* Stack variables (rv in particular) which have their address taken
and are passed as outparams to these functions can go in registers.
* We find that nothing set mCcxToDestroy and ~XPCLazyCallContext
(which is already inlined) can be simplified.
2012-07-06 21:18:17 -04:00
Kyle Huey
d1532c7382
Bug 765936. r=bent,peterv
2012-07-06 10:28:51 -07:00
Nicholas Nethercote
f77ae85d64
Bug 687724 (part 4) - Re-indent JSMemoryMultiReporter's methods. r=bholley.
...
--HG--
extra : rebase_source : deba800edfc3f55a9016d29acfd91d07a56e2e62
2012-07-05 21:16:11 -07:00
Nicholas Nethercote
d9d85b82d7
Bug 687724 (part 3) - Report JS memory consumption for compartments that are associated with |window| objects under "window-objects". r=bholley,jlebar,luke.
...
--HG--
extra : rebase_source : 20329a698154ef61cea74247d3dccc9f01899829
2012-07-05 21:12:37 -07:00
Bill McCloskey
943f752751
Bug 770759 - Add mutable handles (r=bhackett)
2012-07-04 11:12:16 -07:00
Ehsan Akhgari
cabe04854b
Backout changeset 4313740f1adc (bug 725907 part 3) under the suspicion of breaking Linux32 mochitest-chrome without framepointers
2012-07-04 19:25:56 -04:00
Ehsan Akhgari
f32943d99a
Backout changeset 20b0bce4c165 (bug 703537) under the suspicion of breaking Linux32 mochitest-chrome without framepointers
2012-07-04 19:24:04 -04:00
Eddy Bruel
4109621aae
Bug 703537 - Rename AbstractWrapper to IndirectWrapper; r=bholley
2012-07-04 01:20:35 +02:00
Jason Orendorff
2b0768c375
Bug 725907 - for-of improvements, part 3: Implement .iterator() for arraylike DOM objects. r=bzbarsky.
...
--HG--
extra : rebase_source : 0820d3654318f217b8836a086234736d3aba3819
2012-07-03 16:34:56 -05:00
David Zbarsky
cd3c58ee76
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Bill McCloskey
0dd01290a1
Bug 758034 - Clean up browser GC API (r=smaug)
2012-06-30 14:16:32 -07:00
Masatoshi Kimura
b320c84c6a
Bug 769119 - Treat null or undefined as an empty dictionary; r=sicking
2012-06-30 16:03:27 +02:00
Mark Banner
44847aaf72
Bug 766269 - Thunderbird Permanent orange: TEST_UNEXPECTED_FAIL | test_0030_general.js. Correctly handle MOZ_APP_BASENAME and MOZ_APP_VENDOR being unset when determining the update location for unit tests on Windows. r=ehsan, test-only
2012-06-29 07:24:33 +01:00
Bobby Holley
70050366ad
Bug 754202 - Remove NoWaiverWrapper. r=mrbkap
...
No more principal pushing!
2012-06-28 23:47:55 +02:00
Bobby Holley
fb16bc5a98
Bug 754202 - Remove context pushing/popping API. r=mrbkap Each one of these uses grabs the principal off of an object for pushing, but also enters the compartment of that object. So we shouldn't need this anymore.
...
Can I get a 'hell yeah'?
2012-06-28 23:47:55 +02:00
Blake Kaplan
99bfdd86fe
Bug 769265 - Fix these calls. r=bent
2012-06-28 16:14:11 +02:00
Eddy Bruel
4cc46d10d1
Bug 70357 - Add Wrapper base class; r=bholley
2012-06-28 04:10:37 +02:00
Bill McCloskey
69c7d77f6b
Bug 715761 - Followup fix for xpconnect tracing (r=bholley)
2012-06-27 13:45:52 -07:00
Andrew McCreight
a6de5e039d
Bug 754495, part 4 - Define CompartmentParticipant. r=smaug,billm
2012-06-27 08:09:50 -07:00
Andrew McCreight
0712620ffd
Bug 754495, part 3 - Add shim for NoteJSChild to allow it to be reused. r=smaug
2012-06-27 08:09:45 -07:00
Andrew McCreight
d2a2edb057
Bug 754495, part 2 - Add flag to control JS traversal behavior. r=smaug
2012-06-27 08:09:35 -07:00
Peter Van der Beken
f52cfd0a51
Fix for bug 768669 (Move remaining DOM list proxy bindings from behind the pref). r=bz.
...
--HG--
extra : rebase_source : 738cd6df3aa353b682f931beaabde74de8c1a2bd
2012-06-22 12:34:26 +02:00
Bobby Holley
552229b617
Bug 758344 - Make ContextHolder implement nsIScriptContextPrincipal. r=mrbkap
2012-06-26 22:54:18 +02:00
Nicholas Nethercote
daf67b675e
Bug 711130 (part 6) - Improve the measurement of decommitted GC memory. r=terrence.
...
--HG--
extra : rebase_source : ad344b58798cb6837a59f3d48f57880b036c300e
2012-06-25 17:09:00 -07:00
Nicholas Nethercote
688fb0d230
Bug 711130 (part 5) - Overhaul the "other measurements" measurements for JS memory consumption. r=terrence.
...
--HG--
extra : rebase_source : 492af75618c40eb2a92be2756f67db93834729cf
2012-06-25 17:08:59 -07:00
Nicholas Nethercote
722acb79a1
Bug 711130 (part 4) - Treeify the non-compartment gc-heap-XYZ measurements. r=terrence.
...
--HG--
extra : rebase_source : ba3ff507e05829ad574e7283c7f3ab48b2416ac1
2012-06-25 17:06:50 -07:00
Nicholas Nethercote
d8c8dc869d
Bug 711130 (part 3) - Use consistent names for reports of unused JS memory. r=terrence.
...
--HG--
extra : rebase_source : a8e5a7d77355539f84a7fbb4d312fa66d2fe5ba6
2012-06-25 17:06:50 -07:00
Nicholas Nethercote
28934b1f94
Bug 711130 (part 2) - Merge "arena/unused" and "arena/padding" into "arena-admin". r=terrence.
...
--HG--
extra : rebase_source : 1c9d318e86eb27c2e40f2ef95554afefb8a6c653
2012-06-25 17:06:50 -07:00
Boris Zbarsky
9fa48b7247
Bug 766796. Make IDL conversions to 64-bit ints treat NaN and Infinity as 0 instead of whatever the compiler decides to do in that undefined-behavior case. r=peterv
2012-06-25 23:37:47 -04:00
Bobby Holley
d3655aa616
Bug 767948 - Make assertion nonfatal. r=me
2012-06-25 15:24:21 +02:00
Luke Wagner
6a04bcb53c
Bug 756864 - Decrease MAX_FRAMES in XPCJSStackFrame::CreateStack (r=bhackett)
2012-06-23 20:47:10 -07:00
Luke Wagner
0c274df8bd
Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
...
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Luke Wagner
5d7c3690be
Bug 755186 - rm JS_NewGlobalObject (r=jorendorff)
...
--HG--
extra : rebase_source : d9ba442572836406e165cdff11a646e6fd498c03
2012-06-20 08:57:29 -07:00
Steve Fink
222b385266
Bug 764184 - Fix GC_REASON telemetry bucket count (r=froydnj)
...
--HG--
extra : rebase_source : 790f6727878f44e7cf424d9e32a85347416df625
2012-06-15 15:21:56 -07:00
Steve Fink
bb8f1d1cc9
Backed out changeset c33a30aedb3b (bug 764184)
2012-06-22 12:22:00 -07:00
Bill McCloskey
995b63640b
Bug 715761 - Fix build error
2012-06-22 12:12:49 -07:00
Bill McCloskey
ac4296dd82
Bug 715761 - Rename XPCWrappedNativeScope::TraceJS (r=bholley)
2012-06-22 11:37:22 -07:00
Bill McCloskey
352704a8a6
Bug 715761 - De-insanify xpconnect wrapper tracing (r=bholley)
2012-06-22 11:34:51 -07:00
Steve Fink
e0bf7c92f3
Bug 764184 - Fix GC_REASON telemetry bucket count (r=froydnj)
...
--HG--
extra : rebase_source : b4b9015caab404d8a4b674349fc27ade09dd3ec5
2012-06-15 15:21:56 -07:00
Bobby Holley
3a4cddc21b
Bug 767306 - Temporarily make assertion from bug 766641 non-fatal. r=me
2012-06-22 12:01:18 +02:00
Jeff Walden
fdc16c2d6a
Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
...
--HG--
extra : rebase_source : d42f8bcf462de54ff6cc7d9054b2561bdd67686a
2012-06-14 19:13:27 -07:00
Bobby Holley
34bf2a92a6
Bug 755255 - Rename XPCThreadContext.cpp to XPCJSContextStack.cpp, since that's all that's left. r=mrbkap
...
--HG--
rename : js/xpconnect/src/XPCThreadContext.cpp => js/xpconnect/src/XPCJSContextStack.cpp
2012-06-21 16:14:49 +02:00
Bobby Holley
db2c1b417f
Bug 755255 - Remove XPCPerThreadData. r=mrbkap
...
\o/
2012-06-21 16:14:49 +02:00
Bobby Holley
25a83a9ffb
Bug 755255 - Remove thread iteration in XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
dbfd454b32
Bug 755255 - Remove mThreadData from XPCCallContext. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
6e85f24e95
Bug 755255 - Remove threadsafety checking machinery. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
7fbbe863c9
Bug 755255 - Hoist Resolving* machinery into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
d12bcc07cc
Bug 755255 - Remove Usage of XPCPerThreadData::IsMainThread. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
2ac86947b8
Bug 755255 - Hoist auto root list into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
e673afa8f2
Bug 755255 - Hoist pending exception junk into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
718b02a083
Bug 755255 - Make consumers of mCallContext go through XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
1b1b37d7aa
Bug 755255 - Hoist mCallContext into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
d2e4d37f1e
Bug 755255 - Make consumers of GetJSContextStack go through XPCJSRuntime. r=mrbkap
2012-06-21 16:14:48 +02:00
Bobby Holley
e5ccf7ea31
Bug 755255 - Add a convenience function to grab the JS runtime. r=mrbkap
...
I started getting sick of typing nsXPConnect::GetXPConnect()->GetRuntime().
2012-06-21 16:14:48 +02:00