diff options
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> |