summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorager@chromium.org <ager@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-12 14:08:47 +0000
committerager@chromium.org <ager@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-12 14:08:47 +0000
commitc07e97c914b3defcbf02445a650f01aa57ec04aa (patch)
tree7a0e039337b9e1c88694856ef8400c5d6365401c
parentc3a633c7c72992f3f0d93e66602c8c2e348abc4b (diff)
downloadchromium_src-c07e97c914b3defcbf02445a650f01aa57ec04aa.zip
chromium_src-c07e97c914b3defcbf02445a650f01aa57ec04aa.tar.gz
chromium_src-c07e97c914b3defcbf02445a650f01aa57ec04aa.tar.bz2
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
-rw-r--r--webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/js/instance-of-immediates-expected.txt24
-rw-r--r--webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/instance-of-immediates-expected.txt24
2 files changed, 48 insertions, 0 deletions
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 #<an Object>.
+PASS (obj instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got #<a Constructor>.
+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 #<an Object>.
+PASS (obj instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got #<a Constructor>.
+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
+