tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / js / kde / function-expected.txt
1 KDE JS Test
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS empty1() is undefined
7 PASS empty2() is undefined
8 PASS obj.func(11) is 66
9 PASS c.x is 11
10 PASS f('bbbbb') is 'bbbbb'
11 PASS foo() is '|'
12 PASS foo('bar') is '|bar|'
13 PASS foo('bar', 'x') is '|bar|x|'
14 PASS foo2(7) is 1
15 PASS foo3(0, 99) is 2
16 PASS foo3(1, 99).length is 2
17 PASS nest0(2,3) is 36
18 PASS (new Function('return 11;'))() is 11
19 PASS (new Function('', 'return 22;'))() is 22
20 PASS (new Function('a', 'b', 'return a*b;'))(11, 3) is 33
21 PASS (new Function(' a ', ' b ', 'return a*b;'))(11, 4) is 44
22 PASS (new Function(' a,b ', ' c ', 'return a*b;'))(11, 5) is 55
23 PASS (new Function(' a,b ', ' c3 ', 'return a*b;'))(11, 6) is 66
24 PASS funcp3.length is 3
25 PASS (function(a, b, c, d) { }).length is 4
26 PASS (new Function('a', 'b', '')).length is 2
27 PASS f4(4) is 24
28 PASS f5(11) is 11
29 PASS f5.arguments is null
30 PASS arr[0] is 99
31 PASS arr[0] is 99
32 PASS typeof orgFuncClone is 'function'
33 PASS orgFuncClone('world') is 'Hello world'
34 PASS groupClone(1, 2) is 9
35 PASS String(Math.sin) is sinStr
36 PASS shadow() is 2
37 PASS nestedret is 'inner nest'
38 PASS not_nestedret is 'global nest'
39 PASS sample.prototype.prototype is undefined.
40 PASS sample.prototype.constructor == sample is true
41 PASS caught is true
42 PASS functionWithVarOverride(1) is 2
43 PASS successfullyParsed is true
44
45 TEST COMPLETE
46