aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js')
-rw-r--r--test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js49
1 files changed, 0 insertions, 49 deletions
diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js
deleted file mode 100644
index 3f1ec979e..000000000
--- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S10.1.5_A2.1_T2;
- * @section: 10.1.5, 15.1;
- * @assertion: Global object properties have attributes { DontEnum };
- * @description: Global execution context - Function Properties;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S10.1.5_A2.1_T2",
-
-path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js",
-
-assertion: "Global object properties have attributes { DontEnum }",
-
-description: "Global execution context - Function Properties",
-
-test: function testcase() {
- //CHECK#1
-for (var x in this) {
- if ( x === 'eval' ) {
- $ERROR("#1: 'eval' have attribute DontEnum");
- } else if ( x === 'parseInt' ) {
- $ERROR("#1: 'parseInt' have attribute DontEnum");
- } else if ( x === 'parseFloat' ) {
- $ERROR("#1: 'parseFloat' have attribute DontEnum");
- } else if ( x === 'isNaN' ) {
- $ERROR("#1: 'isNaN' have attribute DontEnum");
- } else if ( x === 'isFinite' ) {
- $ERROR("#1: 'isFinite' have attribute DontEnum");
- } else if ( x === 'decodeURI' ) {
- $ERROR("#1: 'decodeURI' have attribute DontEnum");
- } else if ( x === 'decodeURIComponent' ) {
- $ERROR("#1: 'decodeURIComponent' have attribute DontEnum");
- } else if ( x === 'encodeURI' ) {
- $ERROR("#1: 'encodeURI' have attribute DontEnum");
- } else if ( x === 'encodeURIComponent' ) {
- $ERROR("#1: 'encodeURIComponent' have attribute DontEnum");
- }
-}
-
- }
-});
-