js/src/tests/test262/ch10/10.2/10.2.3/S10.2.3_A1.1_T2.js

branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
equal deleted inserted replaced
-1:000000000000 0:8fec640d1d0c
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /**
5 * Global object has properties such as built-in objects such as
6 * Math, String, Date, parseInt, etc
7 *
8 * @path ch10/10.2/10.2.3/S10.2.3_A1.1_T2.js
9 * @description Global execution context - Function Properties
10 */
11
12 //CHECK#4
13 if ( eval === null ) {
14 $ERROR("#4: eval === null");
15 }
16
17 //CHECK#5
18 if ( parseInt === null ) {
19 $ERROR("#5: parseInt === null");
20 }
21
22 //CHECK#6
23 if ( parseFloat === null ) {
24 $ERROR("#6: parseFloat === null");
25 }
26
27 //CHECK#7
28 if ( isNaN === null ) {
29 $ERROR("#7: isNaN === null");
30 }
31
32 //CHECK#8
33 if ( isFinite === null ) {
34 $ERROR("#8: isFinite === null");
35 }
36
37 //CHECK#9
38 if ( decodeURI === null ) {
39 $ERROR("#9: decodeURI === null");
40 }
41
42 //CHECK#10
43 if ( decodeURIComponent === null ) {
44 $ERROR("#10: decodeURIComponent === null");
45 }
46
47 //CHECK#11
48 if ( encodeURI === null ) {
49 $ERROR("#11: encodeURI === null");
50 }
51
52 //CHECK#12
53 if ( encodeURIComponent === null ) {
54 $ERROR("#12: encodeURIComponent === null");
55 }
56

mercurial