summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-02 12:36:22 +0000
committerager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-02 12:36:22 +0000
commit64dc6bf1b0d06163e07c63354d3aae18bd5605a2 (patch)
treec906471418c13f5e5ff4c96913fa05e9ab5f413d
parent040ea9e9e07cfb1845875852771fe9db8d2b4592 (diff)
downloadchromium_src-64dc6bf1b0d06163e07c63354d3aae18bd5605a2.zip
chromium_src-64dc6bf1b0d06163e07c63354d3aae18bd5605a2.tar.gz
chromium_src-64dc6bf1b0d06163e07c63354d3aae18bd5605a2.tar.bz2
Rebaseline fast\js\function-toString-object-literals.html.
The only difference is parse error messages. JSC has moved closer to us and are now printing the source that was input the same way we do. Review URL: http://codereview.chromium.org/5668 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2789 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/data/layout_test_results/v8/LayoutTests/fast/js/README3
-rw-r--r--webkit/data/layout_test_results/v8/LayoutTests/fast/js/function-toString-object-literals-expected.txt15
-rw-r--r--webkit/tools/layout_tests/test_lists/tests_fixable.txt1
3 files changed, 11 insertions, 8 deletions
diff --git a/webkit/data/layout_test_results/v8/LayoutTests/fast/js/README b/webkit/data/layout_test_results/v8/LayoutTests/fast/js/README
index a56f530..a19c67b4 100644
--- a/webkit/data/layout_test_results/v8/LayoutTests/fast/js/README
+++ b/webkit/data/layout_test_results/v8/LayoutTests/fast/js/README
@@ -101,3 +101,6 @@ Our behavior is consistent with Firefox (and is what the test
expects). In addition, KJS has an inconsistent error message
for out of range arguments to toExponential.
+function-toString-object-literals
+--------------------------
+Only difference is the parse error message.
diff --git a/webkit/data/layout_test_results/v8/LayoutTests/fast/js/function-toString-object-literals-expected.txt b/webkit/data/layout_test_results/v8/LayoutTests/fast/js/function-toString-object-literals-expected.txt
index 68a1175..219526b 100644
--- a/webkit/data/layout_test_results/v8/LayoutTests/fast/js/function-toString-object-literals-expected.txt
+++ b/webkit/data/layout_test_results/v8/LayoutTests/fast/js/function-toString-object-literals-expected.txt
@@ -5,15 +5,15 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS compileAndSerialize('a = { 1: null }') is 'a = { 1: null }'
PASS compileAndSerialize('a = { 0: null }') is 'a = { 0: null }'
-FAIL compileAndSerialize('a = { 1.0: null }') should be a = { 1: null }. Was a = { 1.0: null }.
+PASS compileAndSerialize('a = { 1.0: null }') is 'a = { 1.0: null }'
PASS compileAndSerialize('a = { "1.0": null }') is 'a = { "1.0": null }'
-FAIL compileAndSerialize('a = { 1e-500: null }') should be a = { 0: null }. Was a = { 1e-500: null }.
+PASS compileAndSerialize('a = { 1e-500: null }') is 'a = { 1e-500: null }'
PASS compileAndSerialize('a = { 1e-300: null }') is 'a = { 1e-300: null }'
-FAIL compileAndSerialize('a = { 1e300: null }') should be a = { 1e+300: null }. Was a = { 1e300: null }.
-FAIL compileAndSerialize('a = { 1e500: null }') should be a = { "Infinity": null }. Was a = { 1e500: null }.
-FAIL compileAndSerialize('a = { NaN: null }') should be a = { "NaN": null }. Was a = { NaN: null }.
-FAIL compileAndSerialize('a = { Infinity: null }') should be a = { "Infinity": null }. Was a = { Infinity: null }.
-FAIL compileAndSerialize('a = { "1": null }') should be a = { 1: null }. Was a = { "1": null }.
+PASS compileAndSerialize('a = { 1e300: null }') is 'a = { 1e300: null }'
+PASS compileAndSerialize('a = { 1e500: null }') is 'a = { 1e500: null }'
+PASS compileAndSerialize('a = { NaN: null }') is 'a = { NaN: null }'
+PASS compileAndSerialize('a = { Infinity: null }') is 'a = { Infinity: null }'
+PASS compileAndSerialize('a = { "1": null }') is 'a = { "1": null }'
PASS compileAndSerialize('a = { "1hi": null }') is 'a = { "1hi": null }'
PASS compileAndSerialize('a = { "\'": null }') is 'a = { "\'": null }'
PASS compileAndSerialize('a = { "\\"": null }') is 'a = { "\\"": null }'
@@ -27,3 +27,4 @@ PASS compileAndSerialize('a = { -Infinity: null }') threw exception SyntaxError:
PASS successfullyParsed is true
TEST COMPLETE
+
diff --git a/webkit/tools/layout_tests/test_lists/tests_fixable.txt b/webkit/tools/layout_tests/test_lists/tests_fixable.txt
index ac69d76..e4c5d6c 100644
--- a/webkit/tools/layout_tests/test_lists/tests_fixable.txt
+++ b/webkit/tools/layout_tests/test_lists/tests_fixable.txt
@@ -809,7 +809,6 @@ V8 # LayoutTests/fast/js/pic/cached-prototype-setter.html = FAIL
V8 # LayoutTests/fast/js/removing-Cf-characters.html = FAIL
V8 # LayoutTests/fast/js/static-scope-object.html = FAIL
V8 # LayoutTests/fast/js/delete-getters-setters.html = FAIL
-V8 # LayoutTests/fast/js/function-toString-object-literals.html = FAIL
# Console output won't have line numbers until V8 gives us a way to get that
# information. <http://crbug.com/2960>