js/src/tests/test262/ch10/10.2/10.2.3/S10.2.3_A1.1_T2.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_T2.js
     9  * @description Global execution context - Function Properties
    10  */
    12 //CHECK#4
    13 if ( eval === null ) {
    14   $ERROR("#4: eval === null");
    15 }
    17 //CHECK#5
    18 if ( parseInt === null ) {
    19   $ERROR("#5: parseInt === null");
    20 }
    22 //CHECK#6
    23 if ( parseFloat === null ) {
    24   $ERROR("#6: parseFloat === null");
    25 }
    27 //CHECK#7
    28 if ( isNaN === null ) {
    29   $ERROR("#7: isNaN === null");
    30 }
    32 //CHECK#8
    33 if ( isFinite === null ) {
    34   $ERROR("#8: isFinite === null");
    35 }
    37 //CHECK#9
    38 if ( decodeURI === null ) {
    39   $ERROR("#9: decodeURI === null");
    40 }
    42 //CHECK#10
    43 if ( decodeURIComponent === null ) {
    44   $ERROR("#10: decodeURIComponent === null");
    45 }
    47 //CHECK#11
    48 if ( encodeURI === null ) {
    49   $ERROR("#11: encodeURI === null");
    50 }
    52 //CHECK#12
    53 if ( encodeURIComponent === null ) {
    54   $ERROR("#12: encodeURIComponent === null");
    55 }

mercurial