Steve Fink
d069c50175
Bug 700202 - Propagate exceptions from ConstructSlimWrapper (r=bholley)
...
--HG--
extra : rebase_source : 8ce6d12e100a2e3639c4d1fddbadee25e6dd12cf
2011-11-21 09:28:19 -08:00
Nicholas Nethercote
f1b6f27607
Bug 704391 - Add more JS runtime memory reporters and fix the existing ones. r=luke.
2011-12-01 19:08:20 -08:00
Bobby Holley
f2a42e56dd
Bug 705875 - Check for null IID pointers and references in XPCConvert. r=khuey
...
This is a regression from http://hg.mozilla.org/mozilla-central/rev/c428312abbc7 . The rest of the changes in that patch should be fine.
2011-12-01 18:24:28 -08:00
Felix Fung
61c8c22ee9
Bug 498543 - Null-checking JS_THIS_OBJECT Results. r=jwalden
2011-12-01 13:30:28 -08:00
Johnny Stenback
e57eb36355
Fixing bug 690952. Move window.navigator from the outer window to the inner window, and stop persisting it across same origin page navigations. r=mrbkap@gmail.com
2011-12-01 00:28:16 -08:00
Boris Zbarsky
a8e2aab4ff
Bug 705280 - (2/2) Custom quickstub nsIDOMHTMLDocument.head and change nsIDOMHTMLDocument.body custom quickstub. r=mrbkap
2011-11-29 17:32:31 +01:00
Mounir Lamouri
76ffef891d
Bug 705280 - (1/2) Quickstub nsIDOMHTMLDocument.head. r=mrbkap
2011-11-29 17:30:13 +01:00
Ryan VanderMeulen
be7e576362
Bug 705401 - Remove the rest of TraceVis. r=dvander
2011-11-28 16:08:25 -08:00
Ryan VanderMeulen
1bc3807cee
Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander
2011-11-28 14:57:31 -08:00
Terrence Cole
d0ff732f1d
Bug 699279 - Run GC_SHRINK collection cycle when under memory pressure; r=mrbkap
...
GC_SHRINK is a fairly new type of GC that does more aggressive cleanups than a
normal GC. This patch makes the browser run the GC in this mode when under
memory pressure, or when the user pushes the Minimize Memory Usage button when
on the about:memory page.
--HG--
extra : rebase_source : abdd11ee5fa5eb0e3d58122d3d72e98328d47668
2011-11-09 18:14:11 -08:00
Nicholas Nethercote
f102556f32
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
Mounir Lamouri
92c5237e1f
Backout 2040980c0792 (bug 705280) to investigate perf regression on dromaeo v8 deltablue.
2011-11-27 16:59:10 +01:00
Ms2ger
7ff45c8468
Bug 705320 - Use IDL for xpcIJSWeakReference.get; r=bholley
2011-11-26 11:32:03 +01:00
Ms2ger
8495f5a854
Bug 701467 - Remove JS_TRUE/JS_FALSE from xpconnect; r=bholley
2011-11-26 11:05:59 +01:00
Bobby Holley
d1ad4db663
Bug 692342 - Get rid of the large and unnecessary table-driven reflectability detector. r=mrbkap
...
The XPIDL machinery should never output an invalid configuration here, so all this checking is unnecessary. The only thing we have to watch out for is native types, which all get shoehorned into T_VOID. So let's make this a simple check.
2011-11-25 17:09:07 -08:00
Bobby Holley
ec85c212c8
Bug 692342 - Assert !IsArithmetic() rather than IsPointer(). r=mrbkap
...
JSval is the only different between the two, and we handle that above.
2011-11-25 17:09:07 -08:00
Bobby Holley
bcf35bd248
Bug 692342 - Coalesce cleanup flagging even further. r=mrbkap
...
This eliminates another pesky use of IsPointer().
2011-11-25 17:09:07 -08:00
Bobby Holley
79f084fc3d
Bug 692342 - Assert against arrays of jsvals, since we don't handle them. r=mrbkap
2011-11-25 17:09:07 -08:00
Bobby Holley
826ccf22a4
Bug 692342 - Coalesce cleanup flagging within ConvertDependentParam. r=mrbkap
...
The only change in functionality here is that we flag for cleanup on 'inout' sized strings in addition to 'in' sized strings. I'm pretty sure we want that.
2011-11-25 17:09:07 -08:00
Bobby Holley
73b7409e9a
Bug 692342 - Move some things below Do datum_type resolution in ConvertDependentParam. r=mrbkap
2011-11-25 17:09:07 -08:00
Bobby Holley
622f731967
Bug 692342 - Reorder in/out/inout handling in XPCWrappedNative parameter conversion. r=mrbkap
...
Apologies for the copy paste here. Fixing that will require some more serious re-architecting.
2011-11-25 17:09:07 -08:00
Bobby Holley
8d90d94448
Bug 692342 - Move a call to SetValNeedsCleanup() to an equivalent location. r=mrbkap
2011-11-25 17:09:07 -08:00
Bobby Holley
a47135d2be
Bug 692342 - Remove check for !IsInterfacePointer(), given the code a few lines above. r=mrbkap
2011-11-25 17:09:07 -08:00
Bobby Holley
73596fc292
Bug 692342 - Reindentation from previous patch (no other changes). r=mrbkap
2011-11-25 17:09:07 -08:00
Bobby Holley
b108b42814
Bug 692342 - Create a ConvertDependentParam(i) method to match ConvertIndependentParam(i) (modulo reindentation). r=mrbkap
2011-11-25 17:09:07 -08:00
Bobby Holley
ec2f70ac87
Bug 692342 - Simplify cleanup code in ConvertIndependentParameter(). r=mrbkap
...
We're not dealing with dependent parameters here. So as far as I can tell, the only behavior change that this introduces is that we flag for cleanup on T_WCHAR_STR in addition to T_CHAR_STR. This seems like something we probably want.
2011-11-25 17:09:07 -08:00
Bobby Holley
33085d10a1
Bug 692342 - Introduce deprecated_IsPointer() to handle the cases that are too mucky to figure out right now. r=mrbkap
2011-11-25 17:09:06 -08:00
Bobby Holley
17bfc88fbe
Bug 692342 - Remove the obviously superfluous uses of IsPointer(). r=mrbkap
...
These are the easy cases, which all fall into one or more of the following categories:
* A check-and-throw, followed by a switch whose default case also throws
* A check of IsPointer() &&-ed with or tightly enclosing a check that implies IsPointer()
* A check of something clearly enforced by the XPIDL compiler
2011-11-25 17:09:06 -08:00
Bobby Holley
922e8ef969
Bug 692342 - Remove use of IsReference() within XPConnect. r=mrbkap
...
All we're doing is checking that various types aren't flagged as reference. But xpidl makes sure this doesn't happen, so we should just trust it instead.
2011-11-25 17:09:06 -08:00
Mounir Lamouri
1a90c6d7f3
Bug 705280 - Quickstub nsIDOMHTMLDocument.*. r=mrbkap
...
Currently not all methods of nsIDOMHTMLDocument were quickstubbed which means
some methods like document.head were excessivly slow (see bug report).
2011-11-26 01:24:08 +01:00
Makoto Kato
c012763b5c
Bug 655658 - NetUtil.readInputStreamToString should have aCharset argument as optional. r=sdwilsh, sr=bz
2011-11-25 11:23:41 +09:00
Andrew McCreight
4453584b8b
Bug 668855, part 6: test weak maps and the cycle collector. r=gal
2011-11-24 07:35:57 -05:00
Andrew McCreight
708d4efa28
Bug 668855, part 3: hook up CC to JS WeakMap callback. r=peterv
2011-11-24 07:35:56 -05:00
David Anderson
4a1362a06f
Remove browser prefs for the tracer (bug 698201 part 7, r+sr=gal).
2011-11-22 17:41:43 -05:00
David Anderson
695b3c4833
Remove tracer from XPConnect (bug 698201 part 6, r=bholley).
2011-11-22 17:41:43 -05:00
Steve Fink
74c7863104
Bug 692722 - implement xpcshell -d for running in debug mode (r=mrbkap)
...
--HG--
extra : rebase_source : e54e3ccd8dc9da4e75629963f6702b4d3e7a95b2
2011-10-06 23:34:21 -07:00
Nicholas Nethercote
fffd4cb6c9
Bug 700992 - Fix GCC compile warnings in XPConnect. r=bholley,gal.
2011-11-20 20:10:58 -08:00
Bill McCloskey
b5df3a6e7f
Bug 703699 - Fix use-after-free problem with write barriers and XPConnect (r=bhackett)
2011-11-18 22:35:17 -08:00
Ed Morley
1c87228e23
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-16 11:02:43 +00:00
Ms2ger
d2ea6246bf
Bug 672796 - Move MOZILLA_GUARD_OBJECT_NOTIFIER_* out of AutoRestore.h; r=khuey
2011-11-16 08:50:19 +01:00
Ms2ger
b97f7f7801
Bug 702106 - Remove xpc_CloneJSFunction; r=bholley
2011-11-16 08:50:18 +01:00
Ms2ger
2424957995
Bug 701735 - xpc_qsJsvalToWcharStr shouldn't const_cast; r=bz
2011-11-16 08:50:18 +01:00
Terrence Cole
2dcbf80d34
Bug 702480 - Fix description of js-gc-heap-unused-fraction; r=njn
...
--HG--
extra : rebase_source : bf479d6df1b903b148b807757aa8702aa2db9a8d
2011-11-14 17:28:27 -08:00
Bill McCloskey
8e7a5d934a
Bug 641027 - Add snapshot-at-the-beginning write barriers for incremental GC (r=luke,bhackett)
2011-10-25 16:07:42 -07:00
Justin Lebar
a19acfd732
Bug 586010 - Send dump() output to Android device log. r=bz
...
--HG--
extra : rebase_source : f1712d831aaa6fbd8e1bfd6060fbb4aa951ccb74
2011-11-09 19:27:08 -05:00
Boris Zbarsky
233aceff84
Bug 699528. Make pausing/unpausing JSD try to turn off/on debug mode as needed. r=sfink
...
The new boolean argument to SetDebugModeWhenPossible is needed because if we allow sync-disable of debug mode we seem to crash when loading pages with Firebug active.
2011-11-09 16:11:39 -05:00
Peter Van der Beken
c8d5e65a28
Bug 700668 - Don't enumerate all compartments for every traversal of a XPCWrappedNative. r=mrbkap.
2011-11-08 18:06:40 +01:00
Boris Zbarsky
25cec39950
Bug 699826. Fix nodelist access out of bounds to correctly forward to the proto. r=peterv
2011-11-08 07:59:38 -05:00
Luke Wagner
cad36b0123
Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
...
--HG--
extra : rebase_source : f18561fff556332789e05623ab0cec2e7faacf78
2011-07-01 14:11:31 -07:00
Ed Morley
5eaf370364
Bug 700166 - Hg rm dom/interfaces/threads/ since it's no longer built; r=bent
2011-11-07 15:44:11 +00:00