From c07e97c914b3defcbf02445a650f01aa57ec04aa Mon Sep 17 00:00:00 2001 From: "ager@chromium.org" Date: Tue, 12 May 2009 14:08:47 +0000 Subject: Rebaseline the instance of test that we pass. The only difference is the error message text. Review URL: http://codereview.chromium.org/113265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15852 0039d316-1c4b-4281-b951-d872f2087c98 --- .../fast/js/instance-of-immediates-expected.txt | 24 ++++++++++++++++++++++ .../fast/js/instance-of-immediates-expected.txt | 24 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/js/instance-of-immediates-expected.txt create mode 100644 webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/instance-of-immediates-expected.txt (limited to 'webkit/data') diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/js/instance-of-immediates-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/js/instance-of-immediates-expected.txt new file mode 100644 index 0000000..ce2b8ff --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/js/instance-of-immediates-expected.txt @@ -0,0 +1,24 @@ +This test makes sure that instance of behaves correctly when the value, constructor, or its prototype are immediates. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + + +PASS (1 instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got 1. +PASS ({} instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got #. +PASS (obj instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got #. +PASS (1 instanceof Constructor) is false +PASS ({} instanceof Constructor) is false +PASS (obj instanceof Constructor) is true +PASS (1 instanceof Constructor) is false +PASS ({} instanceof Constructor) threw exception TypeError: Function has non-object prototype '1' in instanceof check. +PASS (obj instanceof Constructor) threw exception TypeError: Function has non-object prototype '1' in instanceof check. +PASS (1 instanceof Constructor) is false +PASS ({} instanceof Constructor) is false +PASS (obj instanceof Constructor) is false +PASS (1 instanceof Constructor) is false +PASS ({} instanceof Constructor) threw exception TypeError: Function has non-object prototype 'null' in instanceof check. +PASS (obj instanceof Constructor) threw exception TypeError: Function has non-object prototype 'null' in instanceof check. +PASS successfullyParsed is true + +TEST COMPLETE + diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/instance-of-immediates-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/instance-of-immediates-expected.txt new file mode 100644 index 0000000..ce2b8ff --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/instance-of-immediates-expected.txt @@ -0,0 +1,24 @@ +This test makes sure that instance of behaves correctly when the value, constructor, or its prototype are immediates. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + + +PASS (1 instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got 1. +PASS ({} instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got #. +PASS (obj instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got #. +PASS (1 instanceof Constructor) is false +PASS ({} instanceof Constructor) is false +PASS (obj instanceof Constructor) is true +PASS (1 instanceof Constructor) is false +PASS ({} instanceof Constructor) threw exception TypeError: Function has non-object prototype '1' in instanceof check. +PASS (obj instanceof Constructor) threw exception TypeError: Function has non-object prototype '1' in instanceof check. +PASS (1 instanceof Constructor) is false +PASS ({} instanceof Constructor) is false +PASS (obj instanceof Constructor) is false +PASS (1 instanceof Constructor) is false +PASS ({} instanceof Constructor) threw exception TypeError: Function has non-object prototype 'null' in instanceof check. +PASS (obj instanceof Constructor) threw exception TypeError: Function has non-object prototype 'null' in instanceof check. +PASS successfullyParsed is true + +TEST COMPLETE + -- cgit v1.1