dougt%meer.net
3d7bcc8055
Windows CE build changes. This addresses most of the outstanding Windows
...
CE compilation issues.
This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript. This change is based on bug 242518. See comment 36.
This patch also removes the unused enum in transformiix . See bug
292118.
r/sr = dveditz/shaver
b = 291229
a = asa
git-svn-id: svn://10.0.0.236/trunk@172870 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 13:33:49 +00:00
bob%bclary.com
c5929014cb
Add regression test for bug 234389, by Alex Vincent
...
git-svn-id: svn://10.0.0.236/trunk@172858 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 03:33:45 +00:00
bob%bclary.com
0c9ba17ffa
for-each-in should not affect outer for-in statements, bug 292020, test by jmsachs@gmail.com
...
git-svn-id: svn://10.0.0.236/trunk@172783 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-27 19:48:02 +00:00
timeless%mozdev.org
2f1f999ab5
Bug 281489 js.mak contains no rules for jsxml.*
...
patch by nallen@acm.org r=brendan
git-svn-id: svn://10.0.0.236/trunk@172774 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-27 13:42:46 +00:00
brendan%mozilla.org
424fe5df5d
Clear foreach flag when running off the prototype chain of the object being enumerated (292020, r/a=me, thanks to jmsachs@gmail.com for the report).
...
git-svn-id: svn://10.0.0.236/trunk@172756 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 22:42:53 +00:00
brendan%mozilla.org
8bcad27cf8
Add JS_Get[UC]*PropertyAttrsGetterAndSetter for fast-back bug (274784, r/a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172726 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 04:11:59 +00:00
bsmedberg%covad.net
27cb763cae
Bug 290995 - Add Components.reportError() (allow JS exception handlers to report errors to the JS console but then continue about their business) r+sr=shaver a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@172695 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-25 18:45:11 +00:00
brendan%mozilla.org
40e9f8a25f
Improve error reporting for too many array initialisers (276289, r/a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172647 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 06:10:25 +00:00
brendan%mozilla.org
aae99a8a67
Allow up to 2^23 literals in a script (155081, r=shaver, a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172641 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 02:14:20 +00:00
brendan%mozilla.org
874c041f9d
Check in timeless's patch to protect against last-ditch GCs under JS_InitClass (291439, r/a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172630 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 00:07:35 +00:00
timeless%mozdev.org
ec6c3e8e6a
fix GC_MARK_DEBUG for !JS_HAS_XML_SUPPORT
...
git-svn-id: svn://10.0.0.236/trunk@172629 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-22 23:53:40 +00:00
igor%mir2.org
49831e3c61
Fixing String.replace(re, function) where function doing regexps on its own would alter regexp data used by the regexp itself.
...
git-svn-id: svn://10.0.0.236/trunk@172606 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-22 15:28:19 +00:00
mconnor%steelgryphon.com
ee4fcdc66e
land jst's fix for bug 289675, r=bz/dveditz, sr=brendan, a=chase
...
git-svn-id: svn://10.0.0.236/trunk@172575 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 21:05:10 +00:00
brendan%mozilla.org
488387cbd2
Patch from Bob Clary <moz@bclary.com> to fix ancient iloop inherited from java.util.Date (273292, r/a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172534 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 05:04:44 +00:00
bob%bclary.com
f52d4a30da
15.9.3.2 new Date(value), bug 273292
...
git-svn-id: svn://10.0.0.236/trunk@172509 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 21:44:34 +00:00
bob%bclary.com
c935617531
Fix crashMe2 testcase to check for SyntaxError instead of just not crashing
...
git-svn-id: svn://10.0.0.236/trunk@172492 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 16:34:20 +00:00
brendan%mozilla.org
bae88eb206
Checking in patch from James Ross <silver@warwickcompsoc.co.uk (257751, r/a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172451 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 21:44:23 +00:00
brendan%mozilla.org
ec3743ae74
Limit args passed via Function ctor (290575, r/a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172449 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 21:06:26 +00:00
bob%bclary.com
8f9ef563db
Add new testcase for bug 290575, by Erik Fabert
...
git-svn-id: svn://10.0.0.236/trunk@172448 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 20:44:06 +00:00
bob%bclary.com
c4d596b6d7
Regression test for bug 290656 by Andrew Schultz, bug 290656
...
git-svn-id: svn://10.0.0.236/trunk@172415 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 00:43:19 +00:00
bob%bclary.com
18d428dadd
Do not crash when calling function with more than 32768 arguments by Erik Fabert, Bug 290575
...
git-svn-id: svn://10.0.0.236/trunk@172414 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 00:26:12 +00:00
bob%bclary.com
935d11cb44
Additional test for ECMA 3 10.6.1 by Bryant Chen, Bug 290774
...
git-svn-id: svn://10.0.0.236/trunk@172413 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 00:12:21 +00:00
brendan%mozilla.org
7ee0a94226
Don't delegate activation objects to Object.prototype (290774, r=shaver a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172405 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 21:39:00 +00:00
bob%bclary.com
4a0c930a50
Additional test from Martin Honnen, Bug 290715
...
git-svn-id: svn://10.0.0.236/trunk@172404 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 21:04:23 +00:00
bob%bclary.com
3ac3aac71d
Updated test from Brendan, bug 290488
...
git-svn-id: svn://10.0.0.236/trunk@172402 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 20:47:45 +00:00
bob%bclary.com
0ce398d4e9
Additional tests by Martin Honnen, Bug 290481
...
git-svn-id: svn://10.0.0.236/trunk@172400 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 20:02:20 +00:00
brendan%mozilla.org
c577d9d9ea
Follow ECMA when .call is passed zero args (290488, r=shaver, a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172377 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-17 20:15:32 +00:00
brendan%mozilla.org
4e5a031388
Add it.bindMethod for testing of DOM and XPConnect bound methods.
...
git-svn-id: svn://10.0.0.236/trunk@172376 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-17 19:59:13 +00:00
shaver%mozilla.org
cb7a38af39
Bug 290592: Add |forEach|, |indexOf|, |filter|, |map|, |some| and |every| to
...
Array.prototype, for greater Lispy righteousness. r+a=brendan.
git-svn-id: svn://10.0.0.236/trunk@172375 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-17 18:31:59 +00:00
brendan%mozilla.org
b00be2c34e
Use 64-bit-friendly ptr/int macros.
...
git-svn-id: svn://10.0.0.236/trunk@172374 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-17 18:17:23 +00:00
brendan%mozilla.org
bac15332de
Clamp fun->{nargs,nvars}, an old bug laid to rest (290575, r=shaver, a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172371 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-17 16:01:28 +00:00
brendan%mozilla.org
34f783aecc
Fast followup to uninitialized ok blunder in last checkin.
...
git-svn-id: svn://10.0.0.236/trunk@172360 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-17 04:30:30 +00:00
brendan%mozilla.org
d39010e14b
Finish implementing Descendants, handle the neglected XMLList case (290481, r/a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172308 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 20:32:15 +00:00
brendan%mozilla.org
82b9fb67eb
Fix empty-XMLList-literal basis case bug (290499, r/a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172306 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 20:08:33 +00:00
bob%bclary.com
27ead2e63a
Regression test for bug 290499, by Martin Honnen
...
git-svn-id: svn://10.0.0.236/trunk@172299 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 18:29:53 +00:00
bob%bclary.com
b2c6358d8b
Fix typo, thanks to Erik Fabert for pointing it out
...
git-svn-id: svn://10.0.0.236/trunk@172293 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 17:56:18 +00:00
bob%bclary.com
06a3c203e3
Function.prototype.call() for closures should default scope to the global object, bug 290488
...
git-svn-id: svn://10.0.0.236/trunk@172290 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 17:22:46 +00:00
brendan%mozilla.org
f7ab6ff29e
Fix js_AllocStack to null new space (cheapest way to save last-ditch GC from scanning uninitialized stack space; 290476, r=shaver, a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172286 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 16:01:20 +00:00
bob%bclary.com
20a18d91cf
Add regression test for bug 290056, by Martin Honnen
...
git-svn-id: svn://10.0.0.236/trunk@172087 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-13 18:44:22 +00:00
kairo%kairo.at
1dfba50b48
bug 289326 - hangs when clicking on "Satellite" link on Google maps (linux-ia64 only), patch by David Mosberger <davidm@hpl.hp.com> r=brendan sr=shaver a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172074 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-13 12:47:20 +00:00
brendan%mozilla.org
dcec8e9b6a
Fix bugs due to errata in ECMA-357 10.2.1, 13.4.4.35 and 13.4.4.36 (290056, r/a=me).
...
git-svn-id: svn://10.0.0.236/trunk@172048 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 22:42:57 +00:00
brendan%mozilla.org
b8b4468654
Defense in depth for eval on what should be an inaccessible scope (217195, r+sr=jst, a=chase).
...
git-svn-id: svn://10.0.0.236/trunk@172014 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 01:35:05 +00:00
jst%mozilla.jstenback.com
f78c062383
Fixing bug 286629. Allow access to Components.lookupMethod() and .isSuccessCode() from untrusted script. r=dveditz@cruzio.com, sr=brendan@mozilla.org, a=chofmann@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@171992 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 20:41:12 +00:00
bob%bclary.com
48c5dc61f5
revert stupid mistake
...
git-svn-id: svn://10.0.0.236/trunk@171987 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 17:49:45 +00:00
bob%bclary.com
9ae40e7bdd
/b(?=(b+))/.exec(baaabac) == null
...
git-svn-id: svn://10.0.0.236/trunk@171964 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:39:26 +00:00
bob%bclary.com
49783750da
Generalize test to use regular expression to prevent false failure in rhino
...
git-svn-id: svn://10.0.0.236/trunk@171963 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:37:52 +00:00
bob%bclary.com
2f8521387d
Catch exception if indirect eval calls are not allowed in the engine
...
git-svn-id: svn://10.0.0.236/trunk@171962 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:36:25 +00:00
bob%bclary.com
01961ddc25
Don't call gc() if it is not defined the the engine being tested
...
git-svn-id: svn://10.0.0.236/trunk@171961 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:35:19 +00:00
bob%bclary.com
c1a79424c7
Change expected typeof new Script() to 'object', since it is not callable
...
git-svn-id: svn://10.0.0.236/trunk@171960 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:33:44 +00:00
bob%bclary.com
44eea6cee0
Escape >, bug 289634
...
git-svn-id: svn://10.0.0.236/trunk@171959 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:27:48 +00:00