tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / java / array-sort-expected.txt
1 Test that Java arrays work with generic JS array methods.
2
3 Also test that they work when passed as the second argument to apply(). This may or may not be correct behavior per LiveConnect spec.
4
5 call
6 PASS array[0] + '' is 'One'
7 PASS array[1] + '' is 'Three'
8 PASS array[2] + '' is 'Two'
9 apply
10 PASS array[0] + '' is 'One'
11 PASS array[1] + '' is 'Three'
12 PASS array[2] + '' is 'Two'
13 passing array as function arguments, potentially parser-optimized apply
14 PASS concat.apply({}, array) is 'OneTwoThree'
15 passing array as function arguments, unoptimized apply
16 PASS concat["apply"]({}, array) is 'OneTwoThree'
17 PASS array.length = 5 threw exception RangeError: Range error.
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21