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

branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
equal deleted inserted replaced
-1:000000000000 0:e6e620ccf33e
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_T3.js
9 * @description Global execution context - Constructor Properties
10 */
11
12 //CHECK#13
13 if ( Object === null ) {
14 $ERROR("#13: Object === null");
15 }
16
17 //CHECK#14
18 if ( Function === null ) {
19 $ERROR("#14: Function === null");
20 }
21
22 //CHECK#15
23 if ( String === null ) {
24 $ERROR("#15: String === null");
25 }
26
27 //CHECK#16
28 if ( Number === null ) {
29 $ERROR("#16: Number === null");
30 }
31
32 //CHECK#17
33 if ( Array === null ) {
34 $ERROR("#17: Array === null");
35 }
36
37 //CHECK#18
38 if ( Boolean === null ) {
39 $ERROR("#20: Boolean === null");
40 }
41
42 //CHECK#18
43 if ( Date === null ) {
44 $ERROR("#18: Date === null");
45 }
46
47 //CHECK#19
48 if ( RegExp === null ) {
49 $ERROR("#19: RegExp === null");
50 }
51
52 //CHECK#20
53 if ( Error === null ) {
54 $ERROR("#20: Error === null");
55 }
56
57 //CHECK#21
58 if ( EvalError === null ) {
59 $ERROR("#21: EvalError === null");
60 }
61
62 //CHECK#22
63 if ( RangeError === null ) {
64 $ERROR("#22: RangeError === null");
65 }
66
67 //CHECK#23
68 if ( ReferenceError === null ) {
69 $ERROR("#23: ReferenceError === null");
70 }
71
72 //CHECK#24
73 if ( SyntaxError === null ) {
74 $ERROR("#24: SyntaxError === null");
75 }
76
77 //CHECK#25
78 if ( TypeError === null ) {
79 $ERROR("#25: TypeError === null");
80 }
81
82 //CHECK#26
83 if ( URIError === null ) {
84 $ERROR("#26: URIError === null");
85 }
86
87

mercurial