aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js')
-rw-r--r--test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js55
1 files changed, 0 insertions, 55 deletions
diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js
deleted file mode 100644
index fbfe2ff90..000000000
--- a/test/suite/sputnik_converted/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js
+++ /dev/null
@@ -1,55 +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.8_A3_T3;
- * @section: 10.1.8;
- * @assertion: A property is created with name callee with property
- * attributes { DontEnum } and no others;
- * @description: Checking if deleting arguments.callee property fails;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S10.1.8_A3_T3",
-
-path: "TestCases/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js",
-
-assertion: "A property is created with name callee with property",
-
-description: "Checking if deleting arguments.callee property fails",
-
-test: function testcase() {
- //CHECK#1
-function f1(){
- return (delete arguments.callee);
-}
-
-try{
- if(!f1()){
- $ERROR("#1: A property callee have attribute { DontDelete }");
- }
-}
-catch(e){
- $ERROR("#1: arguments object don't exists");
-}
-
-//CHECK#2
-var f2 = function(){
- return (delete arguments.callee);
-}
-
-try{
- if(!f2()){
- $ERROR("#2: A property callee have attribute { DontDelete }");
- }
-}
-catch(e){
- $ERROR("#2: arguments object don't exists");
-}
-
- }
-});
-