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

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

     1 // Copyright 2009 the Sputnik authors.  All rights reserved.
     2 // This code is governed by the BSD license found in the LICENSE file.
     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  */
    12 //CHECK#13
    13 if ( Object === null ) {
    14   $ERROR("#13: Object === null");
    15 }
    17 //CHECK#14
    18 if ( Function === null ) {
    19   $ERROR("#14: Function === null");
    20 }
    22 //CHECK#15
    23 if ( String === null ) {
    24   $ERROR("#15: String === null");
    25 }
    27 //CHECK#16
    28 if ( Number === null ) {
    29   $ERROR("#16: Number === null");
    30 }
    32 //CHECK#17
    33 if ( Array === null ) {
    34   $ERROR("#17: Array === null");
    35 }
    37 //CHECK#18
    38 if ( Boolean === null ) {
    39   $ERROR("#20: Boolean === null");
    40 }
    42 //CHECK#18
    43 if ( Date === null ) {
    44   $ERROR("#18: Date === null");
    45 }
    47 //CHECK#19
    48 if ( RegExp === null ) {
    49   $ERROR("#19: RegExp === null");
    50 }
    52 //CHECK#20
    53 if ( Error === null ) {
    54   $ERROR("#20: Error === null");
    55 }
    57 //CHECK#21
    58 if ( EvalError === null ) {
    59   $ERROR("#21: EvalError === null");
    60 }
    62 //CHECK#22
    63 if ( RangeError === null ) {
    64   $ERROR("#22: RangeError === null");
    65 }
    67 //CHECK#23
    68 if ( ReferenceError === null ) {
    69   $ERROR("#23: ReferenceError === null");
    70 }
    72 //CHECK#24
    73 if ( SyntaxError === null ) {
    74   $ERROR("#24: SyntaxError === null");
    75 }
    77 //CHECK#25
    78 if ( TypeError === null ) {
    79   $ERROR("#25: TypeError === null");
    80 }
    82 //CHECK#26
    83 if ( URIError === null ) {
    84   $ERROR("#26: URIError === null");
    85 }

mercurial