summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-22 20:15:55 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-22 20:15:55 +0000
commitefe8834cdc46f8c8a011ab598315a33c0ed5b71e (patch)
tree778f2f22aacd297ce94d5e23757909c9fc12c181
parent007ba7de674ad4d8ab0a55e66c11e195229f4057 (diff)
downloadchromium_src-efe8834cdc46f8c8a011ab598315a33c0ed5b71e.zip
chromium_src-efe8834cdc46f8c8a011ab598315a33c0ed5b71e.tar.gz
chromium_src-efe8834cdc46f8c8a011ab598315a33c0ed5b71e.tar.bz2
Rebaseline a layout-test for v8.
The purpose of this layout test is to verify that certain malformed JS attribute doesn't cause crash. V8 passes. The outputs differ because v8 additionally throws a syntaxerror exception. Review URL: http://codereview.chromium.org/7861 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3756 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/data/layout_test_results/v8/LayoutTests/fast/js/invalid-syntax-for-function-expected.txt3
-rw-r--r--webkit/tools/layout_tests/test_lists/win/tests_fixable.txt1
2 files changed, 3 insertions, 1 deletions
diff --git a/webkit/data/layout_test_results/v8/LayoutTests/fast/js/invalid-syntax-for-function-expected.txt b/webkit/data/layout_test_results/v8/LayoutTests/fast/js/invalid-syntax-for-function-expected.txt
new file mode 100644
index 0000000..73c4816
--- /dev/null
+++ b/webkit/data/layout_test_results/v8/LayoutTests/fast/js/invalid-syntax-for-function-expected.txt
@@ -0,0 +1,3 @@
+CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token ILLEGAL
+This test ensures we don't crash when we are given garbage for an attribute expecting a function.
+https://bugs.webkit.org/show_bug.cgi?id=19025
diff --git a/webkit/tools/layout_tests/test_lists/win/tests_fixable.txt b/webkit/tools/layout_tests/test_lists/win/tests_fixable.txt
index d486a06..7aebfd3 100644
--- a/webkit/tools/layout_tests/test_lists/win/tests_fixable.txt
+++ b/webkit/tools/layout_tests/test_lists/win/tests_fixable.txt
@@ -764,7 +764,6 @@ V8 # LayoutTests/fast/js/exception-sequencing-binops2.html = FAIL
V8 # LayoutTests/fast/js/exception-try-finally-scope-error.html = FAIL
V8 # LayoutTests/fast/js/function-dot-arguments-and-caller.html = FAIL
V8 # LayoutTests/fast/js/global-recursion-on-full-stack.html = FAIL
-V8 # LayoutTests/fast/js/invalid-syntax-for-function.html = FAIL
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