michael@0: // Copyright 2009 the Sputnik authors. All rights reserved. michael@0: // This code is governed by the BSD license found in the LICENSE file. michael@0: michael@0: /** michael@0: * Global object has properties such as built-in objects such as michael@0: * Math, String, Date, parseInt, etc michael@0: * michael@0: * @path ch10/10.2/10.2.3/S10.2.3_A1.1_T2.js michael@0: * @description Global execution context - Function Properties michael@0: */ michael@0: michael@0: //CHECK#4 michael@0: if ( eval === null ) { michael@0: $ERROR("#4: eval === null"); michael@0: } michael@0: michael@0: //CHECK#5 michael@0: if ( parseInt === null ) { michael@0: $ERROR("#5: parseInt === null"); michael@0: } michael@0: michael@0: //CHECK#6 michael@0: if ( parseFloat === null ) { michael@0: $ERROR("#6: parseFloat === null"); michael@0: } michael@0: michael@0: //CHECK#7 michael@0: if ( isNaN === null ) { michael@0: $ERROR("#7: isNaN === null"); michael@0: } michael@0: michael@0: //CHECK#8 michael@0: if ( isFinite === null ) { michael@0: $ERROR("#8: isFinite === null"); michael@0: } michael@0: michael@0: //CHECK#9 michael@0: if ( decodeURI === null ) { michael@0: $ERROR("#9: decodeURI === null"); michael@0: } michael@0: michael@0: //CHECK#10 michael@0: if ( decodeURIComponent === null ) { michael@0: $ERROR("#10: decodeURIComponent === null"); michael@0: } michael@0: michael@0: //CHECK#11 michael@0: if ( encodeURI === null ) { michael@0: $ERROR("#11: encodeURI === null"); michael@0: } michael@0: michael@0: //CHECK#12 michael@0: if ( encodeURIComponent === null ) { michael@0: $ERROR("#12: encodeURIComponent === null"); michael@0: } michael@0: