From bcd308b553097a2662b594dd7178d521e8fc4aa6 Mon Sep 17 00:00:00 2001
From: Rick Waldron <waldron.rick@gmail.com>
Date: Thu, 10 Aug 2017 12:10:42 -0400
Subject: [PATCH] remove garbage: these try/catch tests don't actually test the
 section cited (or anything for that matter)

Cited: https://www.ecma-international.org/ecma-262/5.1/index.html#sec-12.14.1

Present: https://tc39.github.io/ecma262/#sec-strict-mode-of-ecmascript

> It is a SyntaxError if a CatchParameter occurs within strict mode code and BoundNames of CatchParameter contains either eval or arguments (13.15.1).
---
 test/language/statements/try/12.14.1-4-s.js | 20 --------------------
 test/language/statements/try/12.14.1-5-s.js | 20 --------------------
 test/language/statements/try/12.14.1-6-s.js | 20 --------------------
 3 files changed, 60 deletions(-)
 delete mode 100644 test/language/statements/try/12.14.1-4-s.js
 delete mode 100644 test/language/statements/try/12.14.1-5-s.js
 delete mode 100644 test/language/statements/try/12.14.1-6-s.js

diff --git a/test/language/statements/try/12.14.1-4-s.js b/test/language/statements/try/12.14.1-4-s.js
deleted file mode 100644
index b9d306e9cb..0000000000
--- a/test/language/statements/try/12.14.1-4-s.js
+++ /dev/null
@@ -1,20 +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.14.1-4-s
-description: >
-    Strict Mode - SyntaxError isn't thrown if a TryStatement with a
-    Catch occurs within strict code and the Identifier of the Catch
-    production is EVAL
----*/
-
-var isInstance = false;
-
-        try {
-            throw new Error("...");
-        } catch (EVAL) {
-            isInstance = EVAL instanceof Error;
-        }
-
-assert(isInstance);
diff --git a/test/language/statements/try/12.14.1-5-s.js b/test/language/statements/try/12.14.1-5-s.js
deleted file mode 100644
index e589e635b1..0000000000
--- a/test/language/statements/try/12.14.1-5-s.js
+++ /dev/null
@@ -1,20 +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.14.1-5-s
-description: >
-    Strict Mode - SyntaxError isn't thrown if a TryStatement with a
-    Catch occurs within strict code and the Identifier of the Catch
-    production is Arguments
----*/
-
-var isInstance = false;
-
-        try {
-            throw new Error("...");
-        } catch (Arguments) {
-            isInstance = Arguments instanceof Error;
-        }
-
-assert(isInstance);
diff --git a/test/language/statements/try/12.14.1-6-s.js b/test/language/statements/try/12.14.1-6-s.js
deleted file mode 100644
index ccade6497d..0000000000
--- a/test/language/statements/try/12.14.1-6-s.js
+++ /dev/null
@@ -1,20 +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.14.1-6-s
-description: >
-    Strict Mode - SyntaxError isn't thrown if a TryStatement with a
-    Catch occurs within strict code and the Identifier of the Catch
-    production is ARGUMENTS
----*/
-
-var isInstance = false;
-
-        try {
-            throw new Error("...");
-        } catch (ARGUMENTS) {
-            isInstance = ARGUMENTS instanceof Error;
-        }
-
-assert(isInstance);
-- 
GitLab