Commit Graph

6607 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
0f335ce290 More fixes for bug 294893. When a XPCWrappedNative's scope is cleared, make sure we clear the scope for all of its XPCNativeWrappers as well. r+sr=bzbarsky@mit.edu, a=drivers 2005-05-26 19:30:36 +00:00
bzbarsky%mit.edu
03b49b6c9f Better version of last patch -- don't pin the atoms, and clean up nicely when
they're finalized so as not to crash.  Bug 294893, assumed future r=brendan,
a=drivers
2005-05-26 17:21:29 +00:00
bzbarsky%mit.edu
0944128967 Backing out to fix orange till I can sort it out. 2005-05-26 14:41:34 +00:00
bzbarsky%mit.edu
1a63d106a8 Don't pin object atoms, since those can entrain all sorts of other stuff. Bug
294893 some more, r=brendan, sr=jst, a=brendan
2005-05-26 13:27:57 +00:00
brendan%mozilla.org
71ea03eb0c Fix null deref crash on s.match.apply (295052, r=shaver). 2005-05-25 23:28:00 +00:00
jst%mozilla.jstenback.com
4095b0c95f More fixes for leak bug 294893. Make sure to clear the scope of the native wrapper when a wrapped native's scope is cleared. r+sr=bzbarsky@mit.edu, a=drivers 2005-05-25 03:40:24 +00:00
jst%mozilla.jstenback.com
6568039cd1 More attempts at fixing leak bug 294893 by fixing up parenting of XPCNativeWrapper objects, and fixing problem with accessing a deleted wrapper in some cases. r+sr=bzbarsky@mit.edu, a=asa@mozilla.org 2005-05-24 20:05:43 +00:00
jst%mozilla.jstenback.com
f79c3e5216 Fixing (hopefully) leak bug 294893. Don't mark mNativeWrapper when an XPCWrappedNative is marked, let XPCNativeWrapper's die when all script references to them are gone even if their XPCWrappedNative is still referenced. r/sr/a=asa@mozilla.org (will get real reviews once people are reachable). 2005-05-24 06:42:30 +00:00
bzbarsky%mit.edu
689485bfbc Fix deep-wrapping to reuse existing wrappers if it can. Bug 295301, r+sr=jst,
a=asa
2005-05-24 05:11:20 +00:00
timeless%mozdev.org
f19bba4e9c Bug 293992 printf passed user controlled buffer
r=shaver sr=bz a=asa
2005-05-23 21:00:06 +00:00
jst%mozilla.jstenback.com
9a3106a766 More fixes for bug 295101. Don't leave *pob2 dangling (caught by bz). r+sr=bzbarsky@mit.edu, a=brendan@mozilla.org (on irc) 2005-05-23 16:59:29 +00:00
bzbarsky%mit.edu
5e4147b68a Check in jst's patch to auto-mark our new objects before we do things that
might trigger gc.  Bug 295101 partial patch, r+sr=bzbarsky/brendan, a=brendan
2005-05-23 14:14:45 +00:00
brendan%mozilla.org
e51d59600b Bypass XPCNativeWrapper's delProperty hook (295122, r+sr=jst). 2005-05-23 05:58:05 +00:00
bzbarsky%mit.edu
1864138655 Stop forwarding addProperty to the wrapped native. That's not the right thing
to do in general (since we use OBJ_DEFINE_PROPERTY in this case in resolve
anyway), and it breaks some things.  Bug 295122, r/sr=jst/brendan, a=brendan
2005-05-22 20:48:00 +00:00
brendan%mozilla.org
4ce9258492 Fix UMR regression introduced in 3.110 (295116, tachyonal r=shaver). 2005-05-22 18:25:08 +00:00
bob%bclary.com
7a3f63044e Add testcase for bug 295052, by David James. Do not crash on String.prototype.match.apply 2005-05-21 21:28:43 +00:00
brendan%mozilla.org
8d6926d579 Fix 294957 for good. 2005-05-21 17:35:16 +00:00
brendan%mozilla.org
37525372bf Fix from bz for glitch in last checkin. 2005-05-21 14:55:54 +00:00
brendan%mozilla.org
9aae66357d Fix stale comment added in last rev. 2005-05-21 06:32:12 +00:00
brendan%mozilla.org
742852d623 Fix adblock and many other non-system chrome users of sytem-chrome xbl (294960, r+sr=bz). 2005-05-21 06:24:08 +00:00
brendan%mozilla.org
df79c67c6e Argh, I made JS_IsSystemObject return a bogo-boolean -- thanks to bz for catching this. 2005-05-21 05:52:20 +00:00
brendan%mozilla.org
f303211ec9 Fix frames[0] case where DOM doesn't use an item method (294960, r+sr=bz). 2005-05-20 21:46:24 +00:00
brendan%mozilla.org
7292f808d8 Fix 294957, fallout from the 281988 landing (r+sr=bz). 2005-05-20 20:06:22 +00:00
bzbarsky%mit.edu
6a53f6896a Flag our private as ISUPPORTS so object principals, etc, become happy. Bug
281988 ongoing, r+sr+a=brendan.
2005-05-20 19:00:14 +00:00
brendan%mozilla.org
2bad9d00d6 Followup for 281988, r+sr=bz, to make deep XPCNativeWrapper __parent__ mirror wrapped-native parent linkage. 2005-05-20 18:51:57 +00:00
bzbarsky%mit.edu
a932baafd8 Make sure to not use an XPCNativeWrapper as the parent for an
XPCWrappedNative.  Get its underlying XPCWrappedNative and use that instead.
Bug 281988 fun continues, r+sr+a=brendan
2005-05-20 17:35:11 +00:00
bzbarsky%mit.edu
13039d7334 Make GetScopeOfObject() know about XPCNativeWrapper and get the scope of the
underlying XPCWrappedNative.  Bug 281988, r+sr+a=brendan
2005-05-20 05:09:56 +00:00
bzbarsky%mit.edu
14f26e8513 Fixing build bustage. Thanks to swalker for the heads-up 2005-05-20 04:47:28 +00:00
brendan%mozilla.org
c5ad16e086 Big patch from jst and me to beef up and automate, configurably, XPCNativeWrapper (281988, r+sr=bz/shaver, a=drivers). 2005-05-20 03:12:22 +00:00
brendan%mozilla.org
c1d82771b1 Unregress __noSuchMethod__ for 1.8b2. 2005-05-17 20:01:28 +00:00
brendan%mozilla.org
40e8b7f18a Another 293782 followup, to restore lost perf in call_enumerate (called from js_PutCallObject, imp. for closure perf). 2005-05-17 17:44:57 +00:00
brendan%mozilla.org
4d82ed6841 Comment tweak. 2005-05-17 03:00:49 +00:00
brendan%mozilla.org
79033ae9c0 Remove harmless but not-ready-for-prime-time stuff that tagged along with the last checkin. 2005-05-17 02:57:26 +00:00
brendan%mozilla.org
2b9ce38fd0 Duh. 2005-05-17 02:41:04 +00:00
brendan%mozilla.org
71f828e98c Followup patch for bug 293782 etc., to unregress 137000 (r/a=shaver). 2005-05-17 01:06:35 +00:00
brendan%mozilla.org
2049578262 Fast followup to last checkin (bug 293782) to unregress 238881. 2005-05-15 22:38:12 +00:00
brendan%mozilla.org
5cd5bba496 Hide function arg/var properties, to hide pre-ECMA design decision that horks ECMA-conformance and sanity in multiple cases (293782 and its deps, r+a=shaver). 2005-05-15 18:24:31 +00:00
bob%bclary.com
91ba84e306 Function arguments, variables should be hidden as Function properties, test by Jonathan Watt 2005-05-15 17:26:52 +00:00
bob%bclary.com
d9f0464cd2 Test crash during String.replace when accessing String methods on backreferences 2005-05-15 17:04:00 +00:00
bob%bclary.com
c08ce4e7ee Test crash bug 294191, testcase by shutdown@ayassi.zzn.com 2005-05-15 16:38:46 +00:00
brendan%mozilla.org
9715e2d8b6 Fix another scripts+runtime survive a zero-context condition bug reported by MikeM@RetekSolutions.com. 2005-05-13 17:47:04 +00:00
brendan%mozilla.org
fa5b34223d Flag Script-object compilation so it deoptimizes fully (291213, r=shaver, a=me). 2005-05-12 19:34:13 +00:00
timeless%mozdev.org
3cbbf6f820 Bug 293846 NS_IMETHODIMP nsJSRuntimeServiceImpl::GetBackstagePass returns nsnull on failure
r=shaver sr=shaver a=shaver
2005-05-12 03:55:41 +00:00
shaver%mozilla.org
3ab1e26262 Bug 293546: No way to do "a instanceof b" using the Spidermonkey API.
r+sr+a=brendan.
2005-05-10 19:53:44 +00:00
db48x%yahoo.com
0e1391f88e bug 291861: XPCDispInterface.cpp fails to compile with Microsoft Visual Studio 2005 Beta 2
patch by Stephen Walker <sdwalker@myrealbox.com>, r=shaver, a=shaver
2005-05-07 06:12:54 +00:00
timeless%mozdev.org
2aedf5913e Bug 292397 JS_VERSION 130 doesn't build
r=brendan a=asa
2005-05-06 21:44:32 +00:00
timeless%mozdev.org
e4740df8be Bug 292400 JS_VERSION 148 doesn't build
r=brendan a=asa
2005-05-06 21:42:39 +00:00
timeless%mozdev.org
b5e78ba1b6 Bug 292398 JS_VERSION 140 doesn't build
r=brendan a=asa
2005-05-06 21:25:45 +00:00
bob%bclary.com
2f64a99c34 undeclaring namespace should cause parse error, bug 292863 by Martin Honnen 2005-05-06 01:16:23 +00:00
bob%bclary.com
6d8c4e97d1 for-in statements should not invoke valueOf method, bug 292731, by Bryant Chen 2005-05-06 01:05:18 +00:00