Commit 77e48959 authored by ager@chromium.org's avatar ager@chromium.org

Remove rebaselining for numberic-conversion test. The test has been

fixed upstream to match the spec and the rebaselining is no longer needed.
Review URL: http://codereview.chromium.org/20314

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9682 0039d316-1c4b-4281-b951-d872f2087c98
parent 6fa27cff
This test checks for accuracy in numeric conversions, particularly with large or infinite values.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Number(1152921504606847105).toString() is '1152921504606847200'
PASS parseInt('1152921504606847105').toString() is '1152921504606847200'
PASS (- (- '1152921504606847105')).toString() is '1152921504606847200'
PASS Number(0x1000000000000081).toString(16) is '1000000000000100'
PASS parseInt('0x1000000000000081', 16).toString(16) is '1000000000000100'
PASS (- (- '0x1000000000000081')).toString(16) is '1000000000000100'
PASS Number(0100000000000000000201).toString(8) is '100000000000000000400'
PASS parseInt('100000000000000000201', 8).toString(8) is '100000000000000000400'
PASS (- 'infinity').toString() is 'NaN'
PASS parseInt('1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000').toString() is 'Infinity'
PASS parseInt('0x100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', 16).toString() is 'Infinity'
PASS parseInt('100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', 8).toString() is 'Infinity'
PASS parseInt('9007199254740992e2000').toString() is '9007199254740992'
PASS parseInt('9007199254740992.0e2000').toString() is '9007199254740992'
FAIL parseInt(NaN) should be 0. Was NaN.
FAIL parseInt(-Infinity) should be 0. Was NaN.
FAIL parseInt(Infinity) should be 0. Was NaN.
PASS successfullyParsed is true
TEST COMPLETE
This test checks for accuracy in numeric conversions, particularly with large or infinite values.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Number(1152921504606847105).toString() is '1152921504606847200'
PASS parseInt('1152921504606847105').toString() is '1152921504606847200'
PASS (- (- '1152921504606847105')).toString() is '1152921504606847200'
PASS Number(0x1000000000000081).toString(16) is '1000000000000100'
PASS parseInt('0x1000000000000081', 16).toString(16) is '1000000000000100'
PASS (- (- '0x1000000000000081')).toString(16) is '1000000000000100'
PASS Number(0100000000000000000201).toString(8) is '100000000000000000400'
PASS parseInt('100000000000000000201', 8).toString(8) is '100000000000000000400'
PASS (- 'infinity').toString() is 'NaN'
PASS parseInt('1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000').toString() is 'Infinity'
PASS parseInt('0x100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', 16).toString() is 'Infinity'
PASS parseInt('100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', 8).toString() is 'Infinity'
PASS parseInt('9007199254740992e2000').toString() is '9007199254740992'
PASS parseInt('9007199254740992.0e2000').toString() is '9007199254740992'
FAIL parseInt(NaN) should be 0. Was NaN.
FAIL parseInt(-Infinity) should be 0. Was NaN.
FAIL parseInt(Infinity) should be 0. Was NaN.
PASS successfullyParsed is true
TEST COMPLETE
...@@ -1596,8 +1596,6 @@ LINUX WIN : LayoutTests/fast/events/init-events.html = FAIL ...@@ -1596,8 +1596,6 @@ LINUX WIN : LayoutTests/fast/events/init-events.html = FAIL
// Note: this failed before the merge on Windows, just not crashed (brettw saw // Note: this failed before the merge on Windows, just not crashed (brettw saw
// this on his machine once so is marking it as so). // this on his machine once so is marking it as so).
WIN : LayoutTests/fast/borders/border-image-omit-right-slice.html = FAIL CRASH WIN : LayoutTests/fast/borders/border-image-omit-right-slice.html = FAIL CRASH
// Bug 6733: This test is wrong: it is testing a Safari regression.
LayoutTests/fast/js/numeric-conversion.html = FAIL
// Bug 6735: Merge 39894:39913 - new test. // Bug 6735: Merge 39894:39913 - new test.
LayoutTests/plugins/netscape-throw-exception.html = FAIL LayoutTests/plugins/netscape-throw-exception.html = FAIL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment