2011-09-07 08:35:18 +02:00
|
|
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
2014-07-22 01:09:02 +02:00
|
|
|
/*---
|
2018-01-05 18:26:51 +01:00
|
|
|
info: |
|
2014-07-22 01:09:02 +02:00
|
|
|
Global object has properties such as built-in objects such as
|
|
|
|
Math, String, Date, parseInt, etc
|
2014-07-25 00:41:42 +02:00
|
|
|
es5id: 10.2.3_A1.1_T3
|
2014-07-22 01:09:02 +02:00
|
|
|
description: Global execution context - Constructor Properties
|
|
|
|
---*/
|
2011-09-07 08:35:18 +02:00
|
|
|
|
|
|
|
//CHECK#13
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( Object === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#13: Object === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#14
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( Function === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#14: Function === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#15
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( String === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#15: String === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#16
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( Number === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#16: Number === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#17
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( Array === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#17: Array === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#18
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( Boolean === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#20: Boolean === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#18
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( Date === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#18: Date === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#19
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( RegExp === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#19: RegExp === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#20
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( Error === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#20: Error === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#21
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( EvalError === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#21: EvalError === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#22
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( RangeError === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#22: RangeError === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#23
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( ReferenceError === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#23: ReferenceError === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#24
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( SyntaxError === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#24: SyntaxError === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#25
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( TypeError === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#25: TypeError === null");
|
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#26
|
2018-02-09 18:09:47 +01:00
|
|
|
if ( URIError === null ) {
|
2011-09-07 08:35:18 +02:00
|
|
|
$ERROR("#26: URIError === null");
|
|
|
|
}
|