diff options
author | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 02:04:02 +0000 |
---|---|---|
committer | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 02:04:02 +0000 |
commit | 337e80fe8bbe234f428af00732af95cbbf433c8f (patch) | |
tree | f86c6a11d58a258d3e4d00b334aa58bef54ae4bd | |
parent | 3484b56f1defad2c882f0621e19ef191b62a59fa (diff) | |
download | chromium_src-337e80fe8bbe234f428af00732af95cbbf433c8f.zip chromium_src-337e80fe8bbe234f428af00732af95cbbf433c8f.tar.gz chromium_src-337e80fe8bbe234f428af00732af95cbbf433c8f.tar.bz2 |
Rebaseline new test added in webkit revision 44087
The differences are JavaScript exception message only.
BUG=12611
TEST=run_webkit_test LayoutTests\fast\js\exception-for-nonobject.html passes
Review URL: http://codereview.chromium.org/115766
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16965 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed, 33 insertions, 3 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/exception-for-nonobject-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/exception-for-nonobject-expected.txt new file mode 100644 index 0000000..5c3d769 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/exception-for-nonobject-expected.txt @@ -0,0 +1,11 @@ +Test for correct handling of exceptions from instanceof and 'new' expressions
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS new {}.undefined threw exception TypeError: undefined is not a function.
+PASS 1 instanceof {}.undefined threw exception TypeError: Expecting a function in instanceof check, but got 1.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/js/exception-for-nonobject-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/js/exception-for-nonobject-expected.txt new file mode 100644 index 0000000..5c3d769 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/js/exception-for-nonobject-expected.txt @@ -0,0 +1,11 @@ +Test for correct handling of exceptions from instanceof and 'new' expressions
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS new {}.undefined threw exception TypeError: undefined is not a function.
+PASS 1 instanceof {}.undefined threw exception TypeError: Expecting a function in instanceof check, but got 1.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/exception-for-nonobject-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/exception-for-nonobject-expected.txt new file mode 100644 index 0000000..5c3d769 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/exception-for-nonobject-expected.txt @@ -0,0 +1,11 @@ +Test for correct handling of exceptions from instanceof and 'new' expressions
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS new {}.undefined threw exception TypeError: undefined is not a function.
+PASS 1 instanceof {}.undefined threw exception TypeError: Expecting a function in instanceof check, but got 1.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/webkit/tools/layout_tests/test_expectations.txt b/webkit/tools/layout_tests/test_expectations.txt index f377919..bc1603c 100644 --- a/webkit/tools/layout_tests/test_expectations.txt +++ b/webkit/tools/layout_tests/test_expectations.txt @@ -2656,6 +2656,3 @@ BUG12361 : LayoutTests/http/tests/cookies/double-quoted-value-with-semi-colon.ht // webkit 44010+44027 introducted new tests BUG12477 : LayoutTests/http/tests/local/drag-over-remote-content.html = FAIL BUG12477 : LayoutTests/http/tests/security/drag-over-remote-content-iframe.html = FAIL - -// Test failures from WebKit 44065:44094 -BUG12611 : LayoutTests/fast/js/exception-for-nonobject.html = FAIL |