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

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

Issue 14146002: Remove all generic expected results for which a generic Chromium expected result exists (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 This test makes sure that instance of behaves correctly when the value, construc tor, or its prototype are immediates.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS (1 instanceof 1) threw exception TypeError: '1' is not a valid argument for 'instanceof' (evaluating '1 instanceof 1').
7 PASS ({} instanceof 1) threw exception TypeError: '1' is not a valid argument fo r 'instanceof' (evaluating '{} instanceof 1').
8 PASS (obj instanceof 1) threw exception TypeError: '1' is not a valid argument f or 'instanceof' (evaluating 'obj instanceof 1').
9 PASS (1 instanceof {}) threw exception TypeError: '[object Object]' is not a val id argument for 'instanceof' (evaluating '1 instanceof {}').
10 PASS ({} instanceof {}) threw exception TypeError: '[object Object]' is not a va lid argument for 'instanceof' (evaluating '{} instanceof {}').
11 PASS (obj instanceof {}) threw exception TypeError: '[object Object]' is not a v alid argument for 'instanceof' (evaluating 'obj instanceof {}').
12 PASS (1 instanceof Constructor) is false
13 PASS ({} instanceof Constructor) is false
14 PASS (obj instanceof Constructor) is true
15 PASS (1 instanceof Constructor) is false
16 PASS ({} instanceof Constructor) threw exception TypeError: instanceof called on an object with an invalid prototype property..
17 PASS (obj instanceof Constructor) threw exception TypeError: instanceof called o n an object with an invalid prototype property..
18 PASS (1 instanceof Constructor) is false
19 PASS ({} instanceof Constructor) is false
20 PASS (obj instanceof Constructor) is false
21 PASS (1 instanceof Constructor) is false
22 PASS ({} instanceof Constructor) threw exception TypeError: instanceof called on an object with an invalid prototype property..
23 PASS (obj instanceof Constructor) threw exception TypeError: instanceof called o n an object with an invalid prototype property..
24 PASS successfullyParsed is true
25
26 TEST COMPLETE
27
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/global-constructors-expected.txt ('k') | LayoutTests/fast/js/invalid-syntax-for-function-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698