6494 Commits

Author SHA1 Message Date
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
bob%bclary.com
bd5cff96e0 spidermonkey version of the test
git-svn-id: svn://10.0.0.236/trunk@171958 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:15:54 +00:00
bob%bclary.com
bf316edb9b Update character ranges, bug 289640
git-svn-id: svn://10.0.0.236/trunk@171955 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 02:24:04 +00:00
bob%bclary.com
c587cd77ee Add two test cases from Martin Honnen, bug 289706, bug 289790
git-svn-id: svn://10.0.0.236/trunk@171954 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 02:15:35 +00:00
brendan%mozilla.org
c72802fb50 Fix to late-night goof in xml_contains (289790, r/a=me).
git-svn-id: svn://10.0.0.236/trunk@171925 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-10 15:21:47 +00:00
brendan%mozilla.org
2302371c63 Fix incomplete/buggy Equals (278706, reporter=Martin.Honnen@arcor.de, r/a=me).
git-svn-id: svn://10.0.0.236/trunk@171912 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-09 17:59:21 +00:00
bob%bclary.com
fce569785a add obsolete tests to spidermonkey's exclusion list, bug 289604
git-svn-id: svn://10.0.0.236/trunk@171894 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-08 20:19:21 +00:00
bob%bclary.com
a7c82e7673 add spidermonkey only tests to rhino's exclusion list, bug 289603
git-svn-id: svn://10.0.0.236/trunk@171893 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-08 20:08:57 +00:00
bob%bclary.com
4895ddad27 remove anchors from jsDriver.pl output, bug 289600
git-svn-id: svn://10.0.0.236/trunk@171892 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-08 20:02:47 +00:00
brendan%mozilla.org
01efe388a9 Revert kludge, want a general fix.
git-svn-id: svn://10.0.0.236/trunk@171865 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 19:48:57 +00:00
brendan%mozilla.org
41903388e1 Stop evals and Script object calls/execs that cross trust domains (289074, r=shaver, sr=jst, a=drivers).
git-svn-id: svn://10.0.0.236/trunk@171838 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 02:22:24 +00:00
brendan%mozilla.org
3cafb25351 Fix SetFunctionSlot to cope with the second shawdowed arg or var (289094, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@171743 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:10:43 +00:00
brendan%mozilla.org
e3f84c77fe Don't bellow, below
git-svn-id: svn://10.0.0.236/trunk@171738 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 22:47:41 +00:00
bob%bclary.com
6eb22443b4 Regress test for bug 289094, by Jonas Jonsson <mozilla.nospam@fatbrain.org>, Brendan Eich <brendan@mozilla.org>
git-svn-id: svn://10.0.0.236/trunk@171735 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 22:30:49 +00:00
bsmedberg%covad.net
be161e81a3 Static build bustage from bug 288955 - MODULE_NAME is incompatible with FORCE_SHARED_LIB in static builds.
git-svn-id: svn://10.0.0.236/trunk@171665 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 18:26:06 +00:00
bsmedberg%covad.net
d8752695a7 Bug 288955 - move jsdebugger to tier 50, integrate with libxul r=darin
git-svn-id: svn://10.0.0.236/trunk@171653 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 16:34:09 +00:00
bob%bclary.com
3538677daf Testcase for XML Descendants, by Martin Honnen <martin.honnen@gmx.de>
git-svn-id: svn://10.0.0.236/trunk@171648 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 15:22:58 +00:00
bsmedberg%covad.net
0ea03d8860 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin
git-svn-id: svn://10.0.0.236/trunk@171643 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 12:36:03 +00:00
brendan%mozilla.org
c06c3686f6 JS_FRIEND_API for js_DumpGCStats (#ifdef JS_GCMETER only, not part of build).
git-svn-id: svn://10.0.0.236/trunk@171595 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 20:43:47 +00:00
bob%bclary.com
b747c7f999 15.5.4.14 - String.prototype.split(/()/), by Karten Sperling <spiff@phreax.net
git-svn-id: svn://10.0.0.236/trunk@171562 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 15:51:25 +00:00
brendan%mozilla.org
e89702c28b Fix for regression from 288688's patch (288818, tachyonal r=shaver/sr=dbaron).
git-svn-id: svn://10.0.0.236/trunk@171521 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 07:56:54 +00:00
brendan%mozilla.org
4c85caf1e7 Followup to last patch: JS_free is null-safe.
git-svn-id: svn://10.0.0.236/trunk@171505 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 06:39:16 +00:00
bob%bclary.com
2a3d4b5356 Regression test for bug 288688
git-svn-id: svn://10.0.0.236/trunk@171503 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 06:38:32 +00:00
brendan%mozilla.org
d5d9fd7006 Fix property lookup so function::name can be found in a filtering predicate expression.
git-svn-id: svn://10.0.0.236/trunk@171502 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 06:37:45 +00:00
brendan%mozilla.org
5f64d21961 Fix 8-year-old bug with lambda replace clobbering cx->regExpStatics (288688, r=shaver, sr=dbaron).
git-svn-id: svn://10.0.0.236/trunk@171485 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 02:48:16 +00:00
brendan%mozilla.org
9e7ea0c918 Fix unique attribute {uri, localName} bug (283972) and follow the spec on escaping > (264369).
git-svn-id: svn://10.0.0.236/trunk@171459 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 17:23:12 +00:00