From 71ec9b3675eac190fb8c3625aef1244b4d16c81e Mon Sep 17 00:00:00 2001 From: Bob Clary Date: Tue, 20 Jan 2009 02:16:22 -0800 Subject: [PATCH] bug 450275 - remove __count__ tests from js1_5/extensions/regress-434837-01.js and do not exclude it for 1.9.0 or later branches. --- .../js1_5/extensions/regress-434837-01.js | 45 ------------------- js/tests/public-failures.txt | 9 ++++ js/tests/spidermonkey-n-1.9.0.tests | 2 - js/tests/spidermonkey-n-1.9.1.tests | 2 - js/tests/spidermonkey-n-1.9.2.tests | 2 - 5 files changed, 9 insertions(+), 51 deletions(-) diff --git a/js/tests/js1_5/extensions/regress-434837-01.js b/js/tests/js1_5/extensions/regress-434837-01.js index 0a0e1832893..8b9a834e9f1 100755 --- a/js/tests/js1_5/extensions/regress-434837-01.js +++ b/js/tests/js1_5/extensions/regress-434837-01.js @@ -119,50 +119,5 @@ function test() } reportCompare(expect, actual, summary + ': x.test3 (2)'); - try - { - var y = ['a', 'b', 'c', 'd']; - expect = 4; - actual = y.__count__; - } - catch(ex) - { - actual = ex + ''; - } - reportCompare(expect, actual, summary + ': y.__count__'); - - try - { - expect = 0; - actual = [].__count__; - } - catch(ex) - { - actual = ex + ''; - } - reportCompare(expect, actual, summary + ': [].__count__'); - - try - { - expect = 1; - actual = [1].__count__; - } - catch(ex) - { - actual = ex + ''; - } - reportCompare(expect, actual, summary + ': [1].__count__'); - - try - { - expect = 9; - actual = [1,2,3,4,5,6,7,8,9].__count__; - } - catch(ex) - { - actual = ex + ''; - } - reportCompare(expect, actual, summary + ': [1].__count__'); - exitFunc ('test'); } diff --git a/js/tests/public-failures.txt b/js/tests/public-failures.txt index 2806ff9c36e..34a34551b10 100644 --- a/js/tests/public-failures.txt +++ b/js/tests/public-failures.txt @@ -463,6 +463,15 @@ TEST_ID=js1_5/extensions/regress-421621.js, TEST_BRANCH=1.9.0, TEST_REPO=.*, TES TEST_ID=js1_5/extensions/regress-422592.js, TEST_BRANCH=1.8.1, TEST_REPO=.*, TEST_BUILDTYPE=debug, TEST_TYPE=shell, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=No test results reported TEST_ID=js1_5/extensions/regress-422592.js, TEST_BRANCH=1.9.0, TEST_REPO=.*, TEST_BUILDTYPE=debug, TEST_TYPE=shell, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=No test results reported TEST_ID=js1_5/extensions/regress-432075.js, TEST_BRANCH=1.9.0, TEST_REPO=.*, TEST_BUILDTYPE=.*, TEST_TYPE=shell, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=ABNORMAL 3, TEST_DESCRIPTION=`.``*`TypeError: gTestcases[i].dump is not a function +TEST_ID=js1_5/extensions/regress-434837-01.js, TEST_BRANCH=1.9.1, TEST_REPO=mozilla-1.9.1, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=|this| in accessors in prototype chain of array: x.test1 reason: Expected value 'true', Actual value 'false' +TEST_ID=js1_5/extensions/regress-434837-01.js, TEST_BRANCH=1.9.1, TEST_REPO=mozilla-1.9.1, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=|this| in accessors in prototype chain of array: x.test2 reason: Expected value 'false', Actual value 'true' +TEST_ID=js1_5/extensions/regress-434837-01.js, TEST_BRANCH=1.9.1, TEST_REPO=mozilla-1.9.1, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=|this| in accessors in prototype chain of array: x.test3 (1) reason: Expected value 'true', Actual value 'false' +TEST_ID=js1_5/extensions/regress-434837-01.js, TEST_BRANCH=1.9.1, TEST_REPO=tracemonkey, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=|this| in accessors in prototype chain of array: x.test1 reason: Expected value 'true', Actual value 'false' +TEST_ID=js1_5/extensions/regress-434837-01.js, TEST_BRANCH=1.9.1, TEST_REPO=tracemonkey, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=|this| in accessors in prototype chain of array: x.test2 reason: Expected value 'false', Actual value 'true' +TEST_ID=js1_5/extensions/regress-434837-01.js, TEST_BRANCH=1.9.1, TEST_REPO=tracemonkey, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=|this| in accessors in prototype chain of array: x.test3 (1) reason: Expected value 'true', Actual value 'false' +TEST_ID=js1_5/extensions/regress-434837-01.js, TEST_BRANCH=1.9.2, TEST_REPO=mozilla-central, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=|this| in accessors in prototype chain of array: x.test1 reason: Expected value 'true', Actual value 'false' +TEST_ID=js1_5/extensions/regress-434837-01.js, TEST_BRANCH=1.9.2, TEST_REPO=mozilla-central, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=|this| in accessors in prototype chain of array: x.test2 reason: Expected value 'false', Actual value 'true' +TEST_ID=js1_5/extensions/regress-434837-01.js, TEST_BRANCH=1.9.2, TEST_REPO=mozilla-central, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=|this| in accessors in prototype chain of array: x.test3 (1) reason: Expected value 'true', Actual value 'false' TEST_ID=js1_5/extensions/regress-435345-01.js, TEST_BRANCH=1.9.0, TEST_REPO=.*, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=Watch the length property of arrays: 1 reason: Expected value 'watcher: propname=length, oldval=0, newval=1; ', Actual value '' TEST_ID=js1_5/extensions/regress-435345-01.js, TEST_BRANCH=1.9.0, TEST_REPO=.*, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=Watch the length property of arrays: 2 reason: Expected value 'watcher: propname=length, oldval=1, newval=2; watcher: propname=length, oldval=2, newval=2; ', Actual value 'watcher: propname=length, oldval=undefined, newval=2; ' TEST_ID=js1_5/extensions/regress-435345-01.js, TEST_BRANCH=1.9.0, TEST_REPO=.*, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=Watch the length property of arrays: 3 reason: Expected value 'watcher: propname=length, oldval=2, newval=1; ', Actual value 'watcher: propname=length, oldval=undefined, newval=1; ' diff --git a/js/tests/spidermonkey-n-1.9.0.tests b/js/tests/spidermonkey-n-1.9.0.tests index f24f2c8b102..9428ba788a7 100755 --- a/js/tests/spidermonkey-n-1.9.0.tests +++ b/js/tests/spidermonkey-n-1.9.0.tests @@ -90,8 +90,6 @@ js1_5/Regress/regress-106244.js ecma_3/Unicode/uc-001.js # bug 408002 js1_5/Regress/regress-320119.js -# bug 450275 -js1_5/extensions/regress-434837-01.js # bug 380469 js1_7/geniter/regress-347739.js js1_7/geniter/regress-349012-01.js diff --git a/js/tests/spidermonkey-n-1.9.1.tests b/js/tests/spidermonkey-n-1.9.1.tests index f4b7320455c..3c8fbdbd416 100755 --- a/js/tests/spidermonkey-n-1.9.1.tests +++ b/js/tests/spidermonkey-n-1.9.1.tests @@ -106,8 +106,6 @@ js1_7/extensions/regress-353214-01.js js1_7/lexical/regress-346642-03.js js1_5/extensions/regress-432075.js js1_5/extensions/regress-421621.js -# bug 450275 -js1_5/extensions/regress-434837-01.js # bug 408002 js1_5/Regress/regress-320119.js # bug 380469 diff --git a/js/tests/spidermonkey-n-1.9.2.tests b/js/tests/spidermonkey-n-1.9.2.tests index e6deb16e5f7..12778048335 100644 --- a/js/tests/spidermonkey-n-1.9.2.tests +++ b/js/tests/spidermonkey-n-1.9.2.tests @@ -106,8 +106,6 @@ js1_7/extensions/regress-353214-01.js js1_7/lexical/regress-346642-03.js js1_5/extensions/regress-432075.js js1_5/extensions/regress-421621.js -# bug 450275 -js1_5/extensions/regress-434837-01.js # bug 408002 js1_5/Regress/regress-320119.js # bug 380469