Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Side by Side Diff: LayoutTests/platform/chromium-win/fast/js/instance-of-immediates-expected.txt

Issue 6349048: Merge 77135 - 2011-01-31 Mads Ager <ager@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This test makes sure that instance of behaves correctly when the value, construc tor, or its prototype are immediates. 1 This test makes sure that instance of behaves correctly when the value, construc tor, or its prototype are immediates.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS (1 instanceof 1) threw exception TypeError: Expecting a function in instanc eof check, but got 1. 6 PASS (1 instanceof 1) threw exception TypeError: Expecting a function in instanc eof check, but got 1.
7 PASS ({} instanceof 1) threw exception TypeError: Expecting a function in instan ceof check, but got #<an Object>. 7 PASS ({} instanceof 1) threw exception TypeError: Expecting a function in instan ceof check, but got #<Object>.
8 PASS (obj instanceof 1) threw exception TypeError: Expecting a function in insta nceof check, but got #<a Constructor>. 8 PASS (obj instanceof 1) threw exception TypeError: Expecting a function in insta nceof check, but got #<Constructor>.
9 PASS (1 instanceof {}) threw exception TypeError: Expecting a function in instan ceof check, but got 1. 9 PASS (1 instanceof {}) threw exception TypeError: Expecting a function in instan ceof check, but got 1.
10 PASS ({} instanceof {}) threw exception TypeError: Expecting a function in insta nceof check, but got #<an Object>. 10 PASS ({} instanceof {}) threw exception TypeError: Expecting a function in insta nceof check, but got #<Object>.
11 PASS (obj instanceof {}) threw exception TypeError: Expecting a function in inst anceof check, but got #<a Constructor>. 11 PASS (obj instanceof {}) threw exception TypeError: Expecting a function in inst anceof check, but got #<Constructor>.
12 PASS (1 instanceof Constructor) is false 12 PASS (1 instanceof Constructor) is false
13 PASS ({} instanceof Constructor) is false 13 PASS ({} instanceof Constructor) is false
14 PASS (obj instanceof Constructor) is true 14 PASS (obj instanceof Constructor) is true
15 PASS (1 instanceof Constructor) is false 15 PASS (1 instanceof Constructor) is false
16 PASS ({} instanceof Constructor) threw exception TypeError: Function has non-obj ect prototype '1' in instanceof check. 16 PASS ({} instanceof Constructor) threw exception TypeError: Function has non-obj ect prototype '1' in instanceof check.
17 PASS (obj instanceof Constructor) threw exception TypeError: Function has non-ob ject prototype '1' in instanceof check. 17 PASS (obj instanceof Constructor) threw exception TypeError: Function has non-ob ject prototype '1' in instanceof check.
18 PASS (1 instanceof Constructor) is false 18 PASS (1 instanceof Constructor) is false
19 PASS ({} instanceof Constructor) is false 19 PASS ({} instanceof Constructor) is false
20 PASS (obj instanceof Constructor) is false 20 PASS (obj instanceof Constructor) is false
21 PASS (1 instanceof Constructor) is false 21 PASS (1 instanceof Constructor) is false
22 PASS ({} instanceof Constructor) threw exception TypeError: Function has non-obj ect prototype 'null' in instanceof check. 22 PASS ({} instanceof Constructor) threw exception TypeError: Function has non-obj ect prototype 'null' in instanceof check.
23 PASS (obj instanceof Constructor) threw exception TypeError: Function has non-ob ject prototype 'null' in instanceof check. 23 PASS (obj instanceof Constructor) threw exception TypeError: Function has non-ob ject prototype 'null' in instanceof check.
24 PASS successfullyParsed is true 24 PASS successfullyParsed is true
25 25
26 TEST COMPLETE 26 TEST COMPLETE
27 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698