OLD | NEW |
1 KDE JS Test | 1 KDE JS Test |
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 'abc'.length is 3 | 6 PASS 'abc'.length is 3 |
7 PASS (new String('abcd')).length is 4 | 7 PASS (new String('abcd')).length is 4 |
8 PASS String('abcde').length is 5 | 8 PASS String('abcde').length is 5 |
9 PASS 'abc'.charAt(0) is 'a' | 9 PASS 'abc'.charAt(0) is 'a' |
10 PASS 'abc'.charAt(1) is 'b' | 10 PASS 'abc'.charAt(1) is 'b' |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 FAIL ''.localeCompare() should be 0. Was -1. | 76 FAIL ''.localeCompare() should be 0. Was -1. |
77 PASS ''.localeCompare(undefined) is -1 | 77 PASS ''.localeCompare(undefined) is -1 |
78 PASS ''.localeCompare(null) is -1 | 78 PASS ''.localeCompare(null) is -1 |
79 PASS 'a'.localeCompare('') is 1 | 79 PASS 'a'.localeCompare('') is 1 |
80 FAIL 'a'.localeCompare() should be 0. Was -1. | 80 FAIL 'a'.localeCompare() should be 0. Was -1. |
81 PASS 'abc'[0] is 'a' | 81 PASS 'abc'[0] is 'a' |
82 PASS 'abc'[-1] is undefined. | 82 PASS 'abc'[-1] is undefined. |
83 PASS 'abc'[-4] is undefined. | 83 PASS 'abc'[-4] is undefined. |
84 PASS 'abc'[10] is undefined. | 84 PASS 'abc'[10] is undefined. |
85 PASS 'abc'[10] is 'x' | 85 PASS 'abc'[10] is 'x' |
86 FAIL bar should be <a href="javascript:foo( 'This ', 'is ', 'a test' )">This is
a test.</a>. Was <a href="javascript:foo( 'This ', 'is ', &#
039;a test' )">This is a test.</a>. | 86 PASS bar is html |
87 PASS successfullyParsed is true | 87 PASS successfullyParsed is true |
88 | 88 |
89 TEST COMPLETE | 89 TEST COMPLETE |
90 | 90 |
OLD | NEW |