diff options
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js')
-rw-r--r-- | test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js | 36 |
1 files changed, 8 insertions, 28 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js index 062129059..a0b81118d 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js @@ -1,32 +1,12 @@ -// Copyright 2011 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S15.3.4.5_A1;
-* @section: 15.3.4.5;
-* @assertion: "arguments" of bound function is poisoned (step 21);
-* @description a bound function should fail to find the bound function "arguments";
-* @negative TypeError;
-*/
-
+// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source
-ES5Harness.registerTest( {
-id: "S15.3.4.5_A2",
-
-path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js",
-
-assertion: "\"arguments\" of bound function is poisoned (step 21)",
-
-description: "",
-
-test: function testcase() {
- function foo() { return bar.arguments; }
-var bar = foo.bind({});
-function baz() { return bar(); }
-baz();
-
- }
-});
+ function foo() { return bar.arguments; } +var bar = foo.bind({}); +function baz() { return bar(); } +baz(); +
|