JavaScript Test - remove add ecma_3/Unicode/uc-001.js to spidermonkey-n.tests, bug 274152.js

This commit is contained in:
bclary%bclary.com 2007-02-28 22:06:39 +00:00
Родитель a5be78c8a1
Коммит e00c3c3c62
28 изменённых файлов: 89 добавлений и 78 удалений

Просмотреть файл

@ -5,24 +5,40 @@ TEST_JS = $(shell find . -name '*.js' -print)
CURRDIR=$(shell pwd)
JSDIR=$(shell basename $(CURRDIR))
all: menu.html js-list.txt e4x-list.txt lc-list.txt menu-list.txt
all: menu.html 1.8.0-list.txt 1.8.1-list.txt menu-list.txt excluded-n.tests spidermonkey-extensions-n.tests
menu.html: menuhead.html menufoot.html Makefile spidermonkey-n.tests $(TEST_JS)
menu.html: menuhead.html menufoot.html Makefile excluded-n.tests $(TEST_JS)
perl mklistpage.pl > menubody.html
cat menuhead.html menubody.html menufoot.html > menu.html
excluded-n.tests: spidermonkey-n.tests slow-n.tests
cat $^ > $@
spidermonkey-extensions-n.tests: $(TEST_JS)
find . -name '*.js' | grep -v shell.js | grep -v browser.js | grep '/extensions/' | sort > $@
menu-list.txt:
echo "http://$(TEST_HTTP)/tests/mozilla.org/$(JSDIR)/menu.html" > menu-list.txt
js-list.txt: $(TEST_JS)
./list.sh ecma ecma_2 ecma_3 js1_1 js1_2 js1_3 js1_4 js1_5 js1_6 js1_7 | sort > js-list.txt
1.8.0-list.txt: $(TEST_JS) excluded-n.tests
./list.sh e4x ecma ecma_2 ecma_3 js1_1 js1_2 js1_3 js1_4 js1_5 js1_6 | sort > 1.8.0-list.txt
e4x-list.txt: $(TEST_JS)
./list.sh e4x | sort > e4x-list.txt
1.8.1-list.txt: $(TEST_JS) 1.8.0-list.txt excluded-n.tests
cat 1.8.0-list.txt > 1.8.1-list.txt
./list.sh js1_7 | sort >> 1.8.1-list.txt
lc-list.txt: $(TEST_JS)
./list.sh lc2 lc3 | sort > lc-list.txt
#e4x-list.txt: $(TEST_JS)
# ./list.sh e4x | sort > e4x-list.txt
#lc2-list.txt: $(TEST_JS)
# ./list.sh lc2 | sort > lc2-list.txt
ecma_3/RegExp/re_tests:
curl -LsS -m 1800 "http://www.cpan.org/src/stable.tar.bz2" -o stable.tar.bz2
tar -jxvf stable.tar.bz2
cp `find . -maxdepth 1 -name 'perl-*'`/t/op/re_tests ecma_3/RegExp/re_tests
rm -fR `find . -maxdepth 1 -name 'perl-*'` stable.tar.bz2
clean:
rm -f menubody.html menu.html js-list.txt e4x-list.txt lc-list.txt menu-list.txt
rm -f menubody.html menu.html *-list.txt excluded-n.tests

Просмотреть файл

@ -231,7 +231,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -288,7 +288,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -749,7 +749,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -806,7 +806,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -313,7 +313,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -370,7 +370,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -380,7 +380,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -437,7 +437,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -198,10 +198,9 @@ function version(v) {
function gc()
{
// Thanks to igor.bukanov@gmail.com
var tmp = Math.PI * 1e500, tmp2;
for (var i = 0; i != 1 << 15; ++i)
for (var i = 0; i != 100000; ++i)
{
tmp2 = tmp * 1.5;
var tmp = new Object();
}
}

Просмотреть файл

@ -262,7 +262,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -319,7 +319,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -200,10 +200,9 @@ function version(v)
function gc()
{
// Thanks to igor.bukanov@gmail.com
var tmp = Math.PI * 1e500, tmp2;
for (var i = 0; i != 1 << 15; ++i)
for (var i = 0; i != 100000; ++i)
{
tmp2 = tmp * 1.5;
var tmp = new Object();
}
}

Просмотреть файл

@ -236,7 +236,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -293,7 +293,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -198,10 +198,9 @@ function version(v)
function gc()
{
// Thanks to igor.bukanov@gmail.com
var tmp = Math.PI * 1e500, tmp2;
for (var i = 0; i != 1 << 15; ++i)
for (var i = 0; i != 100000; ++i)
{
tmp2 = tmp * 1.5;
var tmp = new Object();
}
}

Просмотреть файл

@ -284,7 +284,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -341,7 +341,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -200,10 +200,9 @@ function version(v)
function gc()
{
// Thanks to igor.bukanov@gmail.com
var tmp = Math.PI * 1e500, tmp2;
for (var i = 0; i != 1 << 15; ++i)
for (var i = 0; i != 100000; ++i)
{
tmp2 = tmp * 1.5;
var tmp = new Object();
}
}

Просмотреть файл

@ -285,7 +285,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -342,7 +342,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -19,8 +19,7 @@
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* L. David Baron <dbaron@dbaron.org>,
* pschwartau@netscape.com
* dbaron@fas.harvard.edu, pschwartau@netscape.com
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or

Просмотреть файл

@ -182,10 +182,9 @@ reportFailure = function (msg, page, line)
function gc()
{
// Thanks to igor.bukanov@gmail.com
var tmp = Math.PI * 1e500, tmp2;
for (var i = 0; i != 1 << 15; ++i)
for (var i = 0; i != 100000; ++i)
{
tmp2 = tmp * 1.5;
var tmp = new Object();
}
}

Просмотреть файл

@ -379,7 +379,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -436,7 +436,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -186,10 +186,9 @@ reportFailure = function (msg, page, line)
function gc()
{
// Thanks to igor.bukanov@gmail.com
var tmp = Math.PI * 1e500, tmp2;
for (var i = 0; i != 1 << 15; ++i)
for (var i = 0; i != 100000; ++i)
{
tmp2 = tmp * 1.5;
var tmp = new Object();
}
}

Просмотреть файл

@ -380,7 +380,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -437,7 +437,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -186,10 +186,9 @@ reportFailure = function (msg, page, line)
function gc()
{
// Thanks to igor.bukanov@gmail.com
var tmp = Math.PI * 1e500, tmp2;
for (var i = 0; i != 1 << 15; ++i)
for (var i = 0; i != 100000; ++i)
{
tmp2 = tmp * 1.5;
var tmp = new Object();
}
}

Просмотреть файл

@ -386,7 +386,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -443,7 +443,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -223,10 +223,9 @@ function version(v)
function gc()
{
// Thanks to igor.bukanov@gmail.com
var tmp = Math.PI * 1e500, tmp2;
for (var i = 0; i != 1 << 15; ++i)
for (var i = 0; i != 100000; ++i)
{
tmp2 = tmp * 1.5;
var tmp = new Object();
}
}

Просмотреть файл

@ -308,7 +308,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -365,7 +365,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -215,10 +215,9 @@ function version(v)
function gc()
{
// Thanks to igor.bukanov@gmail.com
var tmp = Math.PI * 1e500, tmp2;
for (var i = 0; i != 1 << 15; ++i)
for (var i = 0; i != 100000; ++i)
{
tmp2 = tmp * 1.5;
var tmp = new Object();
}
}

Просмотреть файл

@ -320,7 +320,7 @@ function JavaScriptOptions()
}
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);
@ -377,7 +377,7 @@ function (optionName, optionValue)
options(optionName);
}
}
else if (typeof document != 'undefined')
else if (typeof netscape != 'undefined' && 'security' in netscape)
{
// browser
netscape.security.PrivilegeManager.enablePrivilege(this.privileges);

Просмотреть файл

@ -21,7 +21,7 @@ find $dirs \
sed 's/^\.\///' | \
while read jsfile
do
result=`grep $jsfile spidermonkey-n.tests`
result=`grep $jsfile excluded-n.tests`
if [[ -z $result ]]; then
result=`echo $jsfile | sed 's/.*js\([0-9]\)_\([0-9]\).*/\1.\2/'`
case $result in
@ -32,7 +32,6 @@ find $dirs \
1.5) version=";version=1.5";;
1.6) version=";version=1.6";;
1.7) version=";version=1.7";;
*) version="";;
esac
echo "http://${TEST_HTTP}/tests/mozilla.org/$jsdir/js-test-driver-standards.html?test=$jsfile;language=type;text/javascript$version"

Просмотреть файл

@ -1,16 +1,16 @@
# Rhino skip list
# These tests are skipped by Rhino either because a bug with a regression
# These tests are skipped by Rhino either because a bug with a regression
# test has yet to be fixed, or because the test is not applicable to Rhino.
#
#
# Unfixed bugs:
#
# bug 152646 Will not fix this in Rhino; too much of a corner case
js1_5/Regress/regress-152646.js
# bug 59861
ecma/Date/15.9.4.3.js
#See bug number 94506
#See bug number 94506
ecma_3/Function/regress-94506.js
#Verify error for bad branch
#Verify error for bad branch
js1_5/Regress/regress-96526-001.js
js1_5/Regress/regress-96526-002.js
js1_5/Regress/regress-96526-003.js
@ -60,7 +60,7 @@ js1_5/Regress/regress-80981.js
js1_5/Regress/regress-89443.js
js1_5/Regress/regress-90445.js
js1_5/Regress/regress-111557.js
#Rhino relies on JVM to throw StackOverflow exception and does not
#Rhino relies on JVM to throw StackOverflow exception and does not
#detect too deep recursion explicitly.
js1_5/extensions/regress-192465.js
#Skip these two; see http://bugzilla.mozilla.org/show_bug.cgi?id=81086
@ -99,14 +99,14 @@ js1_5/Regress/regress-240317.js
# watch is not implemented in Rhino
#
js1_5/Regress/regress-240577.js
#
#
# import, export not implemented in rhino
#
js1_5/Regress/regress-249211.js
#
# Spidermonkey now defaults lineNumber and fileName
# to the location and file where the exception occured.
# exclude new test which assumes the defaults are
# exclude new test which assumes the defaults are
# set according to Spidermonkey.
#
js1_5/extensions/regress-50447-1.js

Просмотреть файл

@ -16,13 +16,14 @@ js1_5/Array/regress-350256-03.js
js1_5/Function/regress-338121-01.js
js1_5/Function/regress-338121-02.js
js1_5/GC/regress-346794.js
js1_5/Object/regress-335700.js
js1_5/Regress/regress-271716-n.js
js1_5/Regress/regress-312588.js
js1_5/extensions/regress-335700.js
js1_5/extensions/regress-336409-1.js
js1_5/extensions/regress-336409-2.js
js1_5/extensions/regress-336410-1.js
js1_5/extensions/regress-342960.js
js1_5/extensions/regress-336410-2.js
js1_5/extensions/regress-342960.js
js1_5/extensions/regress-345967.js
js1_5/extensions/regress-350531.js
js1_7/iterable/regress-341815.js

Просмотреть файл

@ -13,7 +13,7 @@ js1_5/Regress/regress-119719.js
#
# Spidermonkey now defaults lineNumber and fileName
# to the location and file where the exception occured.
# exclude original test which assumes the defaults are
# exclude original test which assumes the defaults are
# 0 and ''
#
js1_5/extensions/regress-50447.js
@ -32,7 +32,7 @@ js1_5/Regress/regress-173067.js
#
ecma_3/Statements/regress-121744.js
#
# remove version dependent tests
# remove version dependent tests
# see bug 325921
#
js1_2/Array/array_split_1.js
@ -84,4 +84,9 @@ ecma_2/String/replace-001.js
#
# pre ecma warnings are doa
#
js1_5/Regress/regerss-106244.js
js1_5/Regress/regress-106244.js
#
# do not ignore unicode formatting chars/trunk - bug 274152
#
ecma_3/Unicode/uc-001.js