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

Side by Side Diff: webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/switch-behaviour-expected.txt

Issue 16617: Chrome side of webkit merge to 40124.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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
« no previous file with comments | « webkit/build/port/SConscript ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This test covers the correctness and behaviour of switch statements. 1 This test covers the correctness and behaviour of switch statements.
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 characterSwitch('') is "" 6 PASS characterSwitch('') is ""
7 PASS characterSwitch('A') is "A" 7 PASS characterSwitch('A') is "A"
8 PASS characterSwitch('a') is "a" 8 PASS characterSwitch('a') is "a"
9 PASS characterSwitch('1') is "1" 9 PASS characterSwitch('1') is "1"
10 PASS characterSwitch('-1') is "default" 10 PASS characterSwitch('-1') is "default"
11 PASS characterSwitch('B') is "B" 11 PASS characterSwitch('B') is "B"
12 PASS characterSwitch('') is "default" 12 PASS characterSwitch('') is "default"
13 PASS characterSwitch({toString: function(){return 'B'}}) is "default" 13 PASS characterSwitch({toString: function(){return 'B'}}) is "default"
14 PASS characterSwitch(0) is "default" 14 PASS characterSwitch(0) is "default"
15 PASS characterSwitch(-0) is "default"
15 PASS characterSwitch(1) is "default" 16 PASS characterSwitch(1) is "default"
16 PASS characterSwitch(-1) is "default" 17 PASS characterSwitch(-1) is "default"
17 PASS characterSwitch(-1000000000) is "default" 18 PASS characterSwitch(-1000000000) is "default"
18 PASS characterSwitch(1000000000) is "default" 19 PASS characterSwitch(1000000000) is "default"
19 PASS characterSwitch({}) is "default" 20 PASS characterSwitch({}) is "default"
20 PASS sparseCharacterSwitch('') is "" 21 PASS sparseCharacterSwitch('') is ""
21 PASS sparseCharacterSwitch('A') is "A" 22 PASS sparseCharacterSwitch('A') is "A"
22 PASS sparseCharacterSwitch('a') is "a" 23 PASS sparseCharacterSwitch('a') is "a"
23 PASS sparseCharacterSwitch('1') is "1" 24 PASS sparseCharacterSwitch('1') is "1"
24 PASS sparseCharacterSwitch('-1') is "default" 25 PASS sparseCharacterSwitch('-1') is "default"
25 PASS sparseCharacterSwitch('B') is "B" 26 PASS sparseCharacterSwitch('B') is "B"
26 PASS sparseCharacterSwitch('') is "" 27 PASS sparseCharacterSwitch('') is ""
27 PASS sparseCharacterSwitch({toString: function(){return 'B'}}) is "default" 28 PASS sparseCharacterSwitch({toString: function(){return 'B'}}) is "default"
28 PASS sparseCharacterSwitch(0) is "default" 29 PASS sparseCharacterSwitch(0) is "default"
30 PASS sparseCharacterSwitch(-0) is "default"
29 PASS sparseCharacterSwitch(1) is "default" 31 PASS sparseCharacterSwitch(1) is "default"
30 PASS sparseCharacterSwitch(-1) is "default" 32 PASS sparseCharacterSwitch(-1) is "default"
31 PASS sparseCharacterSwitch(-1000000000) is "default" 33 PASS sparseCharacterSwitch(-1000000000) is "default"
32 PASS sparseCharacterSwitch(1000000000) is "default" 34 PASS sparseCharacterSwitch(1000000000) is "default"
33 PASS sparseCharacterSwitch({}) is "default" 35 PASS sparseCharacterSwitch({}) is "default"
34 PASS stringSwitch('') is "" 36 PASS stringSwitch('') is ""
35 PASS stringSwitch('A') is "A" 37 PASS stringSwitch('A') is "A"
36 PASS stringSwitch('a') is "a" 38 PASS stringSwitch('a') is "a"
37 PASS stringSwitch('1') is "1" 39 PASS stringSwitch('1') is "1"
38 PASS stringSwitch('-1') is "-1" 40 PASS stringSwitch('-1') is "-1"
39 PASS stringSwitch('B') is "B" 41 PASS stringSwitch('B') is "B"
40 PASS stringSwitch('') is "" 42 PASS stringSwitch('') is ""
41 PASS stringSwitch('some string') is "some string" 43 PASS stringSwitch('some string') is "some string"
42 PASS stringSwitch({toString: function(){return 'some string'}}) is "default" 44 PASS stringSwitch({toString: function(){return 'some string'}}) is "default"
43 PASS stringSwitch('s') is "default" 45 PASS stringSwitch('s') is "default"
44 PASS stringSwitch(0) is "default" 46 PASS stringSwitch(0) is "default"
47 PASS stringSwitch(-0) is "default"
45 PASS stringSwitch(1) is "default" 48 PASS stringSwitch(1) is "default"
46 PASS stringSwitch(-1) is "default" 49 PASS stringSwitch(-1) is "default"
47 PASS stringSwitch(-1000000000) is "default" 50 PASS stringSwitch(-1000000000) is "default"
48 PASS stringSwitch(1000000000) is "default" 51 PASS stringSwitch(1000000000) is "default"
49 PASS stringSwitch({}) is "default" 52 PASS stringSwitch({}) is "default"
50 PASS numberSwitch('') is "default" 53 PASS numberSwitch('') is "default"
51 PASS numberSwitch('A') is "default" 54 PASS numberSwitch('A') is "default"
52 PASS numberSwitch('a') is "default" 55 PASS numberSwitch('a') is "default"
53 PASS numberSwitch('1') is "default" 56 PASS numberSwitch('1') is "default"
54 PASS numberSwitch('-1') is "default" 57 PASS numberSwitch('-1') is "default"
55 PASS numberSwitch('B') is "default" 58 PASS numberSwitch('B') is "default"
56 PASS numberSwitch('') is "default" 59 PASS numberSwitch('') is "default"
57 PASS numberSwitch('some string') is "default" 60 PASS numberSwitch('some string') is "default"
58 PASS numberSwitch({valueOf: function(){return 0}}) is "default" 61 PASS numberSwitch({valueOf: function(){return 0}}) is "default"
59 PASS numberSwitch('s') is "default" 62 PASS numberSwitch('s') is "default"
60 PASS numberSwitch(0) is 0 63 PASS numberSwitch(0) is 0
64 PASS numberSwitch(-0) is 0
61 PASS numberSwitch(1) is 1 65 PASS numberSwitch(1) is 1
62 PASS numberSwitch(-1) is -1 66 PASS numberSwitch(-1) is -1
63 PASS numberSwitch(-1000000000) is "default" 67 PASS numberSwitch(-1000000000) is "default"
64 PASS numberSwitch(1000000000) is "default" 68 PASS numberSwitch(1000000000) is "default"
65 PASS numberSwitch({}) is "default" 69 PASS numberSwitch({}) is "default"
66 PASS sparseNumberSwitch('') is "default" 70 PASS sparseNumberSwitch('') is "default"
67 PASS sparseNumberSwitch('A') is "default" 71 PASS sparseNumberSwitch('A') is "default"
68 PASS sparseNumberSwitch('a') is "default" 72 PASS sparseNumberSwitch('a') is "default"
69 PASS sparseNumberSwitch('1') is "default" 73 PASS sparseNumberSwitch('1') is "default"
70 PASS sparseNumberSwitch('-1') is "default" 74 PASS sparseNumberSwitch('-1') is "default"
71 PASS sparseNumberSwitch('B') is "default" 75 PASS sparseNumberSwitch('B') is "default"
72 PASS sparseNumberSwitch('') is "default" 76 PASS sparseNumberSwitch('') is "default"
73 PASS sparseNumberSwitch('some string') is "default" 77 PASS sparseNumberSwitch('some string') is "default"
74 PASS sparseNumberSwitch({valueOf: function(){return 0}}) is "default" 78 PASS sparseNumberSwitch({valueOf: function(){return 0}}) is "default"
75 PASS sparseNumberSwitch('s') is "default" 79 PASS sparseNumberSwitch('s') is "default"
76 PASS sparseNumberSwitch(0) is 0 80 PASS sparseNumberSwitch(0) is 0
81 PASS sparseNumberSwitch(-0) is 0
77 PASS sparseNumberSwitch(1) is 1 82 PASS sparseNumberSwitch(1) is 1
78 PASS sparseNumberSwitch(-1) is -1 83 PASS sparseNumberSwitch(-1) is -1
79 PASS sparseNumberSwitch(-1000000000) is -1000000000 84 PASS sparseNumberSwitch(-1000000000) is -1000000000
80 PASS sparseNumberSwitch(1000000000) is 1000000000 85 PASS sparseNumberSwitch(1000000000) is 1000000000
81 PASS sparseNumberSwitch({}) is "default" 86 PASS sparseNumberSwitch({}) is "default"
82 PASS generalSwitch('') is "" 87 PASS generalSwitch('') is ""
83 PASS generalSwitch('A') is "A" 88 PASS generalSwitch('A') is "A"
84 PASS generalSwitch('a') is "a" 89 PASS generalSwitch('a') is "a"
85 PASS generalSwitch('1') is "1" 90 PASS generalSwitch('1') is "1"
86 PASS generalSwitch('-1') is "-1" 91 PASS generalSwitch('-1') is "-1"
87 PASS generalSwitch('B') is "B" 92 PASS generalSwitch('B') is "B"
88 PASS generalSwitch('') is "" 93 PASS generalSwitch('') is ""
89 PASS generalSwitch('some string') is "some string" 94 PASS generalSwitch('some string') is "some string"
90 PASS generalSwitch({valueOf: function(){return 0}}) is "default" 95 PASS generalSwitch({valueOf: function(){return 0}}) is "default"
91 PASS generalSwitch('s') is "default" 96 PASS generalSwitch('s') is "default"
92 PASS generalSwitch(0) is 0 97 PASS generalSwitch(0) is 0
98 PASS generalSwitch(-0) is 0
93 PASS generalSwitch(1) is 1 99 PASS generalSwitch(1) is 1
94 PASS generalSwitch(-1) is -1 100 PASS generalSwitch(-1) is -1
95 PASS generalSwitch(-1000000000) is -1000000000 101 PASS generalSwitch(-1000000000) is -1000000000
96 PASS generalSwitch(1000000000) is 1000000000 102 PASS generalSwitch(1000000000) is 1000000000
97 PASS generalSwitch({}) is "default" 103 PASS generalSwitch({}) is "default"
98 PASS successfullyParsed is true 104 PASS successfullyParsed is true
99 105
100 TEST COMPLETE 106 TEST COMPLETE
107
OLDNEW
« no previous file with comments | « webkit/build/port/SConscript ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698