diff --git a/test/language/statements/with/12.10.1-15-s.js b/test/language/statements/with/12.10.1-15-s.js deleted file mode 100644 index b552a9a762..0000000000 --- a/test/language/statements/with/12.10.1-15-s.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) 2012 Ecma International. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -es5id: 12.10.1-15-s -description: > - Strict Mode - SyntaxError is thrown when the RHS of a dot property - assignment utilizes WithStatement -flags: [onlyStrict] ----*/ - - -assert.throws(SyntaxError, function() { - eval("var obj = {}; obj.get = function (a) { with(a){} }; "); -}); diff --git a/test/language/statements/with/12.10.1-16-s.js b/test/language/statements/with/12.10.1-16-s.js deleted file mode 100644 index 5fe63c58fa..0000000000 --- a/test/language/statements/with/12.10.1-16-s.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) 2012 Ecma International. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -es5id: 12.10.1-16-s -description: > - Strict Mode - SyntaxError is thrown when the RHS of an object - indexer assignment utilizes WithStatement -flags: [onlyStrict] ----*/ - - -assert.throws(SyntaxError, function() { - eval("var obj = {}; obj['get'] = function (a) { with(a){} }; "); -}); diff --git a/test/language/statements/with/12.10.1-9-s.js b/test/language/statements/with/12.10.1-9-s.js deleted file mode 100644 index 614c0d6439..0000000000 --- a/test/language/statements/with/12.10.1-9-s.js +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) 2012 Ecma International. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -es5id: 12.10.1-9-s -description: > - with statement in strict mode throws SyntaxError (strict function - expression) -flags: [noStrict] ----*/ - - -assert.throws(SyntaxError, function() { - eval("\ - var f = function () {\ - \'use strict\';\ - var o = {}; \ - with (o) {}; \ - }\ - "); -});