bob%bclary.com
0a6bd82422
Modify js/tests/js1_2/function/Function_object.js, js/tests/js1_2/function/tostring-1.js, js/tests/js1_2/function/tostring-2.js, js/tests/js1_5/Regress/regress-245795.js, js/tests/js1_5/Regress/regress-252892.js to remove expectation of leading and trailing newline in Function.prototype.toString. bug 111816
...
git-svn-id: svn://10.0.0.236/trunk@175168 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-27 15:16:45 +00:00
igor%mir2.org
eb4d98d0a2
1. Added ContextFactory.getApplicationClassLoader()/initApplicationClassLoader() for simpler class loader customization.
...
2. Context.getApplicationClassLoader() now uses ContextFactory.getApplicationClassLoader() and also tries ContextFactory subclass as the last resort of loader guessing.
git-svn-id: svn://10.0.0.236/trunk@175160 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-26 22:57:31 +00:00
igor%mir2.org
3537a00756
Added XML and XMLList to the exclusion list
...
git-svn-id: svn://10.0.0.236/trunk@175159 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-26 22:51:49 +00:00
igor%mir2.org
006744f62c
Fix for bug 290034: JavaScriptException should not be wrapped inside
...
Context.throwAsScriptRuntimeEx
git-svn-id: svn://10.0.0.236/trunk@175155 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-26 21:32:42 +00:00
igor%mir2.org
2c19264f37
When printing parse tree for debugging, include node number with target printout
...
git-svn-id: svn://10.0.0.236/trunk@175089 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 10:43:44 +00:00
igor%mir2.org
176aef80b2
Optimezer-only token are moved back to Token for simpler debugging.
...
git-svn-id: svn://10.0.0.236/trunk@175088 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 09:40:09 +00:00
igor%mir2.org
26b5f933a0
Patch from Attila Szegedi <szegedia@freemail.hu> based on the suggestion from Grzegorz Lukasik <hauserx@gmail.com> to fix bug 292324 "ArrayIndexOutOfBoundsException while compiling a script".
...
git-svn-id: svn://10.0.0.236/trunk@175086 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 09:10:52 +00:00
igor%mir2.org
dc33c1f75b
Patch from Michael Scott <mscott@ti.com>, Texas Instruments:
...
> I work in a group that re-packages the Rhino Debugger as part of a set
> of "C"/JavaScript-based configuration tools for developing embedded
> software. We have had a long-standing problem with setting
> breakOnException, breakOnEnter, and breakOnReturn flags within the debug
> engine and not having them in sync with the gui debug menu checkboxes. I
> have fixed this for our use and have attached the updated Main.java
> file. The change simply sets the checkbox selected state along with the
> dim flags.
git-svn-id: svn://10.0.0.236/trunk@175085 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 08:57:38 +00:00
mrbkap%gmail.com
1fbc85ce3b
bug 111816: Function.prototype.toString returns extra newlines. Moving the newlines into Decompile to preserve the output of new Script().toString(). r=shaver sr+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@175050 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 16:30:25 +00:00
timeless%mozdev.org
5a66d98b91
Bug 280234 [FIX]sometimes get ###!!! ASSERTION: tearoff not empty in dtor: '!(GetInterface()||GetNative()||GetJSObject())'
...
patch by bz r=dbradley sr=brendan a=brendan
git-svn-id: svn://10.0.0.236/trunk@175046 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 08:46:49 +00:00
dougt%meer.net
e0cdf3a25b
Removing CheckStackGrowthDirection. bug 242518. r=brendan, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@174963 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 21:51:17 +00:00
brendan%mozilla.org
c3376c183f
Use runtime-wide access check hook as a default per-object (296397, r=shaver, sr=jst, a=drivers).
...
git-svn-id: svn://10.0.0.236/trunk@174960 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 21:31:26 +00:00
mrbkap%gmail.com
f39c884ed5
bug 173067: Fix unterminated character class error messages to use flat (single byte) strings instead of wide ones, so that the whole class is output, and not just the first character. r+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@174905 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 23:43:56 +00:00
mrbkap%gmail.com
21dd84d4c6
Remove tabs introduced by my checkin for bug 287630. rs+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@174859 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 19:07:30 +00:00
brendan%mozilla.org
10f7496902
Fast followup to last patch: use 2, not 1.5, as base for exponential growth (note ida->length >= 8, so no need to JS_MAX here).
...
git-svn-id: svn://10.0.0.236/trunk@174826 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-19 15:53:31 +00:00
brendan%mozilla.org
bdb1e64ac2
Fix transition from 0 length JSIdArray bug, and old over-allocating loop body order bug in JS_Enumerate to boot (r=bryner).
...
git-svn-id: svn://10.0.0.236/trunk@174824 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-19 07:26:20 +00:00
brendan%mozilla.org
387e19d3b7
After > 10 years, fix the mistake whereby scripted-functions compiled from native code lack the enumerate flag (292953, r=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@174809 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-18 01:13:46 +00:00
mrbkap%gmail.com
1dc39e8021
bug 287630: When using an empty capturing regexp, String.prototype.split() appends an extra element to the result. r+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@174776 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 16:25:51 +00:00
brendan%mozilla.org
00a70b539f
js/src part of 2nd patch for 292903, r+sr=bryner/jst.
...
git-svn-id: svn://10.0.0.236/trunk@174729 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 21:43:15 +00:00
brendan%mozilla.org
6efbc91649
Fix regression from 292903's first patch, which results in JS_DEFAULT_XML_NAMESPACE_ID being enumerated! Thanks to bc for noticing.
...
git-svn-id: svn://10.0.0.236/trunk@174722 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 20:27:11 +00:00
brendan%mozilla.org
fd99a24062
Add JS_EnumerateResolvedStandardClasses, and fix a few lazy-standard-class-init glitches hindering it (292903, r=shaver, a=me).
...
git-svn-id: svn://10.0.0.236/trunk@174675 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 04:24:03 +00:00
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