brendan%mozilla.org
4fe60f85ec
Fix dumb copy-paste bug jst pointed out, whose symptom bz reported (r+sr=jst, a=me).
...
git-svn-id: svn://10.0.0.236/trunk@174630 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 16:42:31 +00:00
nboyd%atg.com
a833982cc7
Add Magoo Software.
...
git-svn-id: svn://10.0.0.236/trunk@174628 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 16:12:35 +00:00
dbaron%dbaron.org
927c4a609b
Fix releasing of nsISupportsWeakReference wrapped JS objects so it doesn't crash when we do multiple iterations of JS GC. b=292027 r=jst sr=brendan a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@174611 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 00:23:32 +00:00
dbaron%dbaron.org
ab677a4f68
I only want part of DEBUG_xpc_hacker; fix spelling. b=292027 r=jst sr=brendan a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@174610 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 00:21:26 +00:00
bob%bclary.com
15e9bac2a9
function local variables should not be enumerable properties of the function object, bug 293782, by Jonathan Watt
...
git-svn-id: svn://10.0.0.236/trunk@174569 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-14 16:49:49 +00:00
brendan%mozilla.org
a623619716
Forgot to remove JSPROP_ENUMERATE in one case for bug 293782 (thanks to jwatt for catching this).
...
git-svn-id: svn://10.0.0.236/trunk@174567 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-14 16:20:27 +00:00
brendan%mozilla.org
cb3723a702
One more followup fix: __defineProperty__ should probably be global.
...
git-svn-id: svn://10.0.0.236/trunk@174489 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-12 18:45:53 +00:00
brendan%mozilla.org
a94fe847b7
Followup to last checkin to delete constructor from Activation.prototype.
...
git-svn-id: svn://10.0.0.236/trunk@174488 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-12 18:28:33 +00:00
brendan%mozilla.org
f1136d18e4
Mirror fix for bug 290774 from SpiderMonkey to Narcissus.
...
git-svn-id: svn://10.0.0.236/trunk@174483 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-12 16:08:21 +00:00
brendan%mozilla.org
8d733707be
Better fix for 296397 (r=shaver, sr=jst).
...
git-svn-id: svn://10.0.0.236/trunk@174462 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-11 01:33:44 +00:00
bob%bclary.com
c9ca3bac27
remove keyword tests from spidermonkey-n.tests, add options('strict', 'werror') to force exceptions.
...
git-svn-id: svn://10.0.0.236/trunk@174405 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-10 05:22:15 +00:00
brendan%mozilla.org
a60cd55a53
Remove JSPROP_ENUMERATE from function args/vars hidden property attributes (followup for 293782).
...
git-svn-id: svn://10.0.0.236/trunk@174388 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 23:45:54 +00:00
brendan%mozilla.org
29c455b85d
Check access when accessing function and regexp __proto__, etc. (296397, r=shaver, a=me).
...
git-svn-id: svn://10.0.0.236/trunk@174332 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 01:02:36 +00:00
brendan%mozilla.org
4200bff7c3
Followup fix for 255555 (r=mrbkap, a=me).
...
git-svn-id: svn://10.0.0.236/trunk@174306 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 18:08:53 +00:00
mrbkap%gmail.com
3b98800073
bug 255555: undefined and missing values are passed to Array.sort()'s comparison function. r+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@174297 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 16:38:38 +00:00
bob%bclary.com
f0f5478256
XML.setNamespace() should affect in-scope namespaces, per brendan. No bug, not part of build.
...
git-svn-id: svn://10.0.0.236/trunk@174282 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 05:03:12 +00:00
bob%bclary.com
ef7edf4206
remove extra newline which breaks mklistpage.pl, no bug, not part of build
...
git-svn-id: svn://10.0.0.236/trunk@174281 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 04:57:33 +00:00
bob%bclary.com
f913e60b4e
add invalid test e4x/Regress/regress-278112.js to spidermonkey-n.tests, rhino-n.tests
...
git-svn-id: svn://10.0.0.236/trunk@174278 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 04:39:06 +00:00
bob%bclary.com
a2dc61c4f9
test is testing for a crash. catch exception to prevent erroneous failure, no bug, not part of build.
...
git-svn-id: svn://10.0.0.236/trunk@174275 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 03:12:49 +00:00
bob%bclary.com
12ef3e1022
rename function to eliminate possible collisions, no bug, not part of build
...
git-svn-id: svn://10.0.0.236/trunk@174274 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 03:03:13 +00:00
bob%bclary.com
980041503e
increase global/local ratio to 2.5 to reduce noise, no bug, not part of build
...
git-svn-id: svn://10.0.0.236/trunk@174272 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 03:01:30 +00:00
bob%bclary.com
b4dfe6f6b5
e4x 10.2.1.js XML.toXMLString test coverage, bug 297025
...
git-svn-id: svn://10.0.0.236/trunk@174271 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 02:54:39 +00:00
bob%bclary.com
e64adc7883
e4x 10.1.2.js xmllist.toString test coverage, bug 297024
...
git-svn-id: svn://10.0.0.236/trunk@174269 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 02:45:15 +00:00
bob%bclary.com
466ed7d7ec
e4x 10.1.1.js xml.toString test coverage, bug 297018
...
git-svn-id: svn://10.0.0.236/trunk@174268 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 02:23:01 +00:00
brendan%mozilla.org
77b50686dd
Fix bugs 296772 and 262948 (r=shaver, sr=jst, a=me).
...
git-svn-id: svn://10.0.0.236/trunk@174267 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 02:13:10 +00:00
bob%bclary.com
5f96c0ecc2
mklistpage.pl - exclude tests in spidermonkey-n.tests from menu.html, bug 296978
...
git-svn-id: svn://10.0.0.236/trunk@174266 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 01:05:34 +00:00
mrbkap%gmail.com
cddd6462c7
bug 294195: Remove an old dependence on null-terminated strings in favor of an end-pointer to fix a crash trying to interpret regexp dollar backrefs. r+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@174248 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-07 22:16:48 +00:00
bob%bclary.com
b1c0f25743
Add newline after modeline, no bug, not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@174229 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-07 19:54:01 +00:00
brendan%mozilla.org
405b7a618a
Update comment to track tricky AVL tree reference.
...
git-svn-id: svn://10.0.0.236/trunk@174215 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-07 16:22:58 +00:00
jst%mozilla.jstenback.com
a57c008905
Fixing tinderbox orangeness (Thunderbird) and bug 296467. Get the function object off of the stack frame through fp->argv[-2] and not through fp->fun->object as the latter may be null if the function on the frame is a clone and the real function object no longer exists. reviews and approval pending.
...
git-svn-id: svn://10.0.0.236/trunk@174109 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 04:16:14 +00:00
jst%mozilla.jstenback.com
08a7614911
Fixing bug 294795. Don't leave references from cloned member functions to the scope where xpconnect creates the functions (safe context). r=bzbarsky@mit.edu, sr=brendan@mozilla.org, a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@174082 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 21:33:18 +00:00
shaver%mozilla.org
aa3ddd4807
Bug 296006: correctly handle the re-locking of shallow GCThings. r+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@174055 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 12:17:51 +00:00
bzbarsky%mit.edu
7204a6d40e
Log creation of XPCNativeWrapper and XPCWrappedNative objects if
...
DEBUG_XPCNativeWrapper is defined. Bug 295435, r+sr=jst, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@173963 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 19:26:24 +00:00
timeless%mozdev.org
6857a9e298
Bug 295636 OOM Crash [@ Init]
...
r=jst sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@173951 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 18:36:25 +00:00
bzbarsky%mit.edu
9792b7f6d0
Fix toString on the XPCNativeWrapper prototype to return something sane instead
...
of crashing. Bug 295430, r+sr=jst, a=shaver
git-svn-id: svn://10.0.0.236/trunk@173914 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 15:20:29 +00:00
cls%seawood.org
448f178000
Use dashes instead of backslashes for program options to avoid msys shell expansion.
...
Thanks to Howard Chu <hyc@symas.com> for the patch.
Bug #294122 r=cls a=shaver
git-svn-id: svn://10.0.0.236/trunk@173906 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 14:28:35 +00:00
bzbarsky%mit.edu
676af6aabc
Separate out deep-ness and auto-unwrapping of native wrappers (base the latter
...
on whether the wrapper is explicit). Bug 295782, r+sr+a=brendan
git-svn-id: svn://10.0.0.236/trunk@173870 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 01:46:01 +00:00
bzbarsky%mit.edu
b1ca81d879
Don't return XPCNativeWrappers from an nsIXPConnect::WrapNative call. Bug
...
295152, r+sr=jst, a=brendan
git-svn-id: svn://10.0.0.236/trunk@173868 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 01:21:23 +00:00
brendan%mozilla.org
330492fd04
Fix gcPoke management to cope with nesty destroy-context order (296119, r=shaver, a=me).
...
git-svn-id: svn://10.0.0.236/trunk@173867 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 01:16:06 +00:00
jst%mozilla.jstenback.com
a50c8e3c94
Fixing crash introduced with my earlier changes for bug 294893. Make nw and wn finalizers order independent. r+sr=bzbarsky@mit.edu, a=drivers
...
git-svn-id: svn://10.0.0.236/trunk@173798 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-26 21:35:27 +00:00
jst%mozilla.jstenback.com
d235d374a2
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
...
git-svn-id: svn://10.0.0.236/trunk@173788 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-26 19:30:36 +00:00
bzbarsky%mit.edu
71e216d36e
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
git-svn-id: svn://10.0.0.236/trunk@173787 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-26 17:21:29 +00:00
bzbarsky%mit.edu
b683cb9ca0
Backing out to fix orange till I can sort it out.
...
git-svn-id: svn://10.0.0.236/trunk@173785 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-26 14:41:34 +00:00
bzbarsky%mit.edu
3413d8b3ce
Don't pin object atoms, since those can entrain all sorts of other stuff. Bug
...
294893 some more, r=brendan, sr=jst, a=brendan
git-svn-id: svn://10.0.0.236/trunk@173784 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-26 13:27:57 +00:00
brendan%mozilla.org
5eae8a7eb6
Fix null deref crash on s.match.apply (295052, r=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@173777 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-25 23:28:00 +00:00
jst%mozilla.jstenback.com
cecf7d93c3
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
...
git-svn-id: svn://10.0.0.236/trunk@173767 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-25 03:40:24 +00:00
jst%mozilla.jstenback.com
bdc14f292e
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
...
git-svn-id: svn://10.0.0.236/trunk@173756 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-24 20:05:43 +00:00
jst%mozilla.jstenback.com
45fa959fe1
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).
...
git-svn-id: svn://10.0.0.236/trunk@173733 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-24 06:42:30 +00:00
bzbarsky%mit.edu
05b41d7b59
Fix deep-wrapping to reuse existing wrappers if it can. Bug 295301, r+sr=jst,
...
a=asa
git-svn-id: svn://10.0.0.236/trunk@173730 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-24 05:11:20 +00:00
timeless%mozdev.org
fd16d3ef3a
Bug 293992 printf passed user controlled buffer
...
r=shaver sr=bz a=asa
git-svn-id: svn://10.0.0.236/trunk@173714 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-23 21:00:06 +00:00