From 72d70024b98a2036b725244b57f108a75c6ba63f Mon Sep 17 00:00:00 2001
From: Mark Miller <erights@gmail.com>
Date: Wed, 14 Sep 2011 12:49:33 -0700
Subject: [PATCH] Regenerated ietestcenter tests, taking into account info from
 IETCGlobalScope.js

---
 test/suite/converted/chapter07/7.6/7.6.1/7.6.1.2-1gs.js        | 2 ++
 test/suite/converted/chapter07/7.8/7.8.3/7.8.3-1gs.js          | 2 ++
 test/suite/converted/chapter07/7.8/7.8.5/7.8.5-1gs.js          | 2 ++
 test/suite/converted/chapter07/7.8/7.8.5/7.8.5-2gs.js          | 1 +
 test/suite/converted/chapter08/8.7/8.7.2/8.7.2-3-a-1gs.js      | 2 ++
 test/suite/converted/chapter08/8.7/8.7.2/8.7.2-3-a-2gs.js      | 2 ++
 test/suite/converted/chapter10/10.1/10.1.1/10.1.1-2gs.js       | 3 +++
 test/suite/converted/chapter10/10.1/10.1.1/10.1.1-5gs.js       | 2 ++
 test/suite/converted/chapter10/10.1/10.1.1/10.1.1-8gs.js       | 2 ++
 test/suite/converted/chapter10/10.4/10.4.2/10.4.2.1-1gs.js     | 2 ++
 test/suite/converted/chapter10/10.4/10.4.3/10.4.3-1-7gs.js     | 1 +
 test/suite/converted/chapter10/10.4/10.4.3/10.4.3-1-8gs.js     | 2 ++
 test/suite/converted/chapter10/10.5/10.5-1gs.js                | 2 ++
 test/suite/converted/chapter10/10.6/10.6-1gs.js                | 1 +
 test/suite/converted/chapter10/10.6/10.6-2gs.js                | 2 ++
 test/suite/converted/chapter11/11.1/11.1.1/11.1.1-1gs.js       | 1 +
 test/suite/converted/chapter11/11.13/11.13.2/11.13.2-6-1gs.js  | 2 ++
 test/suite/converted/chapter11/11.3/11.3.1/11.3.1-2-1gs.js     | 2 ++
 test/suite/converted/chapter11/11.4/11.4.5/11.4.5-2-2gs.js     | 2 ++
 test/suite/converted/chapter12/12.10/12.10.1/12.10.1-11gs.js   | 2 ++
 test/suite/converted/chapter12/12.14/12.14.1/12.14.1-1gs.js    | 2 ++
 test/suite/converted/chapter13/13.0/13_4-17gs.js               | 2 ++
 test/suite/converted/chapter13/13.0/13_4-5gs.js                | 2 ++
 .../chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-625gs.js         | 1 +
 .../chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-4gs.js          | 2 ++
 .../chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-6gs.js          | 3 +++
 test/suite/converted/chapter15/15.3/15.3.5/15.3.5-1gs.js       | 2 ++
 test/suite/converted/chapter15/15.3/15.3.5/15.3.5-2gs.js       | 2 ++
 28 files changed, 53 insertions(+)

diff --git a/test/suite/converted/chapter07/7.6/7.6.1/7.6.1.2-1gs.js b/test/suite/converted/chapter07/7.6/7.6.1/7.6.1.2-1gs.js
index c78e482787..ae682ddd75 100644
--- a/test/suite/converted/chapter07/7.6/7.6.1/7.6.1.2-1gs.js
+++ b/test/suite/converted/chapter07/7.6/7.6.1/7.6.1.2-1gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter07/7.6/7.6.1/7.6.1.2-1gs.js
+ * @description Strict Mode - SyntaxError is thrown when FutureReservedWord 'implements' occurs in strict mode code
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
diff --git a/test/suite/converted/chapter07/7.8/7.8.3/7.8.3-1gs.js b/test/suite/converted/chapter07/7.8/7.8.3/7.8.3-1gs.js
index 8f1b5242e1..cf4f7b34ba 100644
--- a/test/suite/converted/chapter07/7.8/7.8.3/7.8.3-1gs.js
+++ b/test/suite/converted/chapter07/7.8/7.8.3/7.8.3-1gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter07/7.8/7.8.3/7.8.3-1gs.js
+ * @description Strict Mode - octal extension(010) is forbidden in strict mode
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
diff --git a/test/suite/converted/chapter07/7.8/7.8.5/7.8.5-1gs.js b/test/suite/converted/chapter07/7.8/7.8.5/7.8.5-1gs.js
index 28918dca34..409ee1d28e 100644
--- a/test/suite/converted/chapter07/7.8/7.8.5/7.8.5-1gs.js
+++ b/test/suite/converted/chapter07/7.8/7.8.5/7.8.5-1gs.js
@@ -2,6 +2,8 @@
 
 /**
  * @path chapter07/7.8/7.8.5/7.8.5-1gs.js
+ * @description Empty literal RegExp should result in a SyntaxError
+ * @negative EarlyErrorRePat
  */
 
 throw NotEarlyError;
diff --git a/test/suite/converted/chapter07/7.8/7.8.5/7.8.5-2gs.js b/test/suite/converted/chapter07/7.8/7.8.5/7.8.5-2gs.js
index 669fb47c97..f563cd6f77 100644
--- a/test/suite/converted/chapter07/7.8/7.8.5/7.8.5-2gs.js
+++ b/test/suite/converted/chapter07/7.8/7.8.5/7.8.5-2gs.js
@@ -2,6 +2,7 @@
 
 /**
  * @path chapter07/7.8/7.8.5/7.8.5-2gs.js
+ * @description Empty dynamic RegExp should not result in a SyntaxError
  */
 
 var re = new RegExp("");
diff --git a/test/suite/converted/chapter08/8.7/8.7.2/8.7.2-3-a-1gs.js b/test/suite/converted/chapter08/8.7/8.7.2/8.7.2-3-a-1gs.js
index 26d4f0d7a6..2379bc1fa2 100644
--- a/test/suite/converted/chapter08/8.7/8.7.2/8.7.2-3-a-1gs.js
+++ b/test/suite/converted/chapter08/8.7/8.7.2/8.7.2-3-a-1gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter08/8.7/8.7.2/8.7.2-3-a-1gs.js
+ * @description Strict Mode - ReferenceError is thrown if LeftHandSide evaluate to an unresolvable Reference
  * @strict_only
+ * @negative .
  */
 
 
diff --git a/test/suite/converted/chapter08/8.7/8.7.2/8.7.2-3-a-2gs.js b/test/suite/converted/chapter08/8.7/8.7.2/8.7.2-3-a-2gs.js
index ca62f2cfce..7c74e867ee 100644
--- a/test/suite/converted/chapter08/8.7/8.7.2/8.7.2-3-a-2gs.js
+++ b/test/suite/converted/chapter08/8.7/8.7.2/8.7.2-3-a-2gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter08/8.7/8.7.2/8.7.2-3-a-2gs.js
+ * @description Strict Mode - 'runtime' error is thrown before LeftHandSide evaluates to an unresolvable Reference
  * @strict_only
+ * @negative NotEarlyErrorString
  */
 
 
diff --git a/test/suite/converted/chapter10/10.1/10.1.1/10.1.1-2gs.js b/test/suite/converted/chapter10/10.1/10.1.1/10.1.1-2gs.js
index 48e419865e..6262b45f48 100644
--- a/test/suite/converted/chapter10/10.1/10.1.1/10.1.1-2gs.js
+++ b/test/suite/converted/chapter10/10.1/10.1.1/10.1.1-2gs.js
@@ -2,6 +2,9 @@
 
 /**
  * @path chapter10/10.1/10.1.1/10.1.1-2gs.js
+ * @description Strict Mode - Use Strict Directive Prologue is ''use strict'' which lost the last character ';'
+ * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 "use strict"
diff --git a/test/suite/converted/chapter10/10.1/10.1.1/10.1.1-5gs.js b/test/suite/converted/chapter10/10.1/10.1.1/10.1.1-5gs.js
index edd27d22ee..d7b70c4d62 100644
--- a/test/suite/converted/chapter10/10.1/10.1.1/10.1.1-5gs.js
+++ b/test/suite/converted/chapter10/10.1/10.1.1/10.1.1-5gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter10/10.1/10.1.1/10.1.1-5gs.js
+ * @description Strict Mode - Use Strict Directive Prologue is ''use strict';' which appears at the start of the code
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
diff --git a/test/suite/converted/chapter10/10.1/10.1.1/10.1.1-8gs.js b/test/suite/converted/chapter10/10.1/10.1.1/10.1.1-8gs.js
index 9952ae0b49..a52fa0b289 100644
--- a/test/suite/converted/chapter10/10.1/10.1.1/10.1.1-8gs.js
+++ b/test/suite/converted/chapter10/10.1/10.1.1/10.1.1-8gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter10/10.1/10.1.1/10.1.1-8gs.js
+ * @description Strict Mode - Use Strict Directive Prologue is ''use strict';' which appears twice in the code
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
diff --git a/test/suite/converted/chapter10/10.4/10.4.2/10.4.2.1-1gs.js b/test/suite/converted/chapter10/10.4/10.4.2/10.4.2.1-1gs.js
index 4fe5ff6b3e..aa0fb7c7ac 100644
--- a/test/suite/converted/chapter10/10.4/10.4.2/10.4.2.1-1gs.js
+++ b/test/suite/converted/chapter10/10.4/10.4.2/10.4.2.1-1gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter10/10.4/10.4.2/10.4.2.1-1gs.js
+ * @description Strict Mode - eval code cannot instantiate variable in the variable environment of the calling context that invoked the eval if the code of the calling context is strict code
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
diff --git a/test/suite/converted/chapter10/10.4/10.4.3/10.4.3-1-7gs.js b/test/suite/converted/chapter10/10.4/10.4.3/10.4.3-1-7gs.js
index 6cbfbe51d4..7360ea3ab4 100644
--- a/test/suite/converted/chapter10/10.4/10.4.3/10.4.3-1-7gs.js
+++ b/test/suite/converted/chapter10/10.4/10.4.3/10.4.3-1-7gs.js
@@ -20,6 +20,7 @@
 
 /**
  * @path chapter10/10.4/10.4.3/10.4.3-1-7gs.js
+ * @description Strict - checking 'this' from a global scope (FunctionDeclaration defined within strict mode)
  * @strict_only
  */
 
diff --git a/test/suite/converted/chapter10/10.4/10.4.3/10.4.3-1-8gs.js b/test/suite/converted/chapter10/10.4/10.4.3/10.4.3-1-8gs.js
index 041ef17a5b..12aa7e109a 100644
--- a/test/suite/converted/chapter10/10.4/10.4.3/10.4.3-1-8gs.js
+++ b/test/suite/converted/chapter10/10.4/10.4.3/10.4.3-1-8gs.js
@@ -20,6 +20,8 @@
 
 /**
  * @path chapter10/10.4/10.4.3/10.4.3-1-8gs.js
+ * @description Strict - checking 'this' from a global scope (FunctionDeclaration includes strict directive prologue)
+ * @strict_only
  */
 
 function f() {
diff --git a/test/suite/converted/chapter10/10.5/10.5-1gs.js b/test/suite/converted/chapter10/10.5/10.5-1gs.js
index 33ee9dbc2e..14bac21557 100644
--- a/test/suite/converted/chapter10/10.5/10.5-1gs.js
+++ b/test/suite/converted/chapter10/10.5/10.5-1gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter10/10.5/10.5-1gs.js
+ * @description Strict Mode - arguments cannot be assigned to in a strict function
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
diff --git a/test/suite/converted/chapter10/10.6/10.6-1gs.js b/test/suite/converted/chapter10/10.6/10.6-1gs.js
index dcb1e9372d..65b634eb0f 100644
--- a/test/suite/converted/chapter10/10.6/10.6-1gs.js
+++ b/test/suite/converted/chapter10/10.6/10.6-1gs.js
@@ -2,6 +2,7 @@
 
 /**
  * @path chapter10/10.6/10.6-1gs.js
+ * @description Strict Mode - arguments.callee cannot be accessed in a strict function, but does not throw an early error
  * @strict_only
  */
 
diff --git a/test/suite/converted/chapter10/10.6/10.6-2gs.js b/test/suite/converted/chapter10/10.6/10.6-2gs.js
index dd102b6200..d5b52fa456 100644
--- a/test/suite/converted/chapter10/10.6/10.6-2gs.js
+++ b/test/suite/converted/chapter10/10.6/10.6-2gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter10/10.6/10.6-2gs.js
+ * @description Strict Mode - arguments.callee cannot be accessed in a strict function
  * @strict_only
+ * @negative .
  */
 
 
diff --git a/test/suite/converted/chapter11/11.1/11.1.1/11.1.1-1gs.js b/test/suite/converted/chapter11/11.1/11.1.1/11.1.1-1gs.js
index cfee8a7ace..09ac6305d7 100644
--- a/test/suite/converted/chapter11/11.1/11.1.1/11.1.1-1gs.js
+++ b/test/suite/converted/chapter11/11.1/11.1.1/11.1.1-1gs.js
@@ -2,6 +2,7 @@
 
 /**
  * @path chapter11/11.1/11.1.1/11.1.1-1gs.js
+ * @description Strict Mode - 'this' object at the global scope is not undefined
  * @strict_only
  */
 
diff --git a/test/suite/converted/chapter11/11.13/11.13.2/11.13.2-6-1gs.js b/test/suite/converted/chapter11/11.13/11.13.2/11.13.2-6-1gs.js
index eca7e6b504..f1fcbb7f1b 100644
--- a/test/suite/converted/chapter11/11.13/11.13.2/11.13.2-6-1gs.js
+++ b/test/suite/converted/chapter11/11.13/11.13.2/11.13.2-6-1gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter11/11.13/11.13.2/11.13.2-6-1gs.js
+ * @description Strict Mode - SyntaxError is throw if the identifier eval appears as the LeftHandSideExpression of a Compound Assignment operator(*=)
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
diff --git a/test/suite/converted/chapter11/11.3/11.3.1/11.3.1-2-1gs.js b/test/suite/converted/chapter11/11.3/11.3.1/11.3.1-2-1gs.js
index 82d69af6db..7879d7f0e6 100644
--- a/test/suite/converted/chapter11/11.3/11.3.1/11.3.1-2-1gs.js
+++ b/test/suite/converted/chapter11/11.3/11.3.1/11.3.1-2-1gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter11/11.3/11.3.1/11.3.1-2-1gs.js
+ * @description Strict Mode - SyntaxError is throw if the identifier arguments appear as a PostfixExpression(arguments++)
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
diff --git a/test/suite/converted/chapter11/11.4/11.4.5/11.4.5-2-2gs.js b/test/suite/converted/chapter11/11.4/11.4.5/11.4.5-2-2gs.js
index c51ed89e8e..87ff3f36e6 100644
--- a/test/suite/converted/chapter11/11.4/11.4.5/11.4.5-2-2gs.js
+++ b/test/suite/converted/chapter11/11.4/11.4.5/11.4.5-2-2gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter11/11.4/11.4.5/11.4.5-2-2gs.js
+ * @description Strict Mode - SyntaxError is throw if the UnaryExpression operated upon by a Prefix Increment operator(--arguments)
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
diff --git a/test/suite/converted/chapter12/12.10/12.10.1/12.10.1-11gs.js b/test/suite/converted/chapter12/12.10/12.10.1/12.10.1-11gs.js
index ca9fc3ae07..f6ad6760d1 100644
--- a/test/suite/converted/chapter12/12.10/12.10.1/12.10.1-11gs.js
+++ b/test/suite/converted/chapter12/12.10/12.10.1/12.10.1-11gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter12/12.10/12.10.1/12.10.1-11gs.js
+ * @description Strict Mode - SyntaxError is thrown when using with statement
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
diff --git a/test/suite/converted/chapter12/12.14/12.14.1/12.14.1-1gs.js b/test/suite/converted/chapter12/12.14/12.14.1/12.14.1-1gs.js
index 911f5d74ca..8e33ce4b4d 100644
--- a/test/suite/converted/chapter12/12.14/12.14.1/12.14.1-1gs.js
+++ b/test/suite/converted/chapter12/12.14/12.14.1/12.14.1-1gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter12/12.14/12.14.1/12.14.1-1gs.js
+ * @description Strict Mode - SyntaxError is thrown if a TryStatement with a Catch occurs within strict code and the Identifier of the Catch production is eval
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
diff --git a/test/suite/converted/chapter13/13.0/13_4-17gs.js b/test/suite/converted/chapter13/13.0/13_4-17gs.js
index 9323c32426..cba1f8b737 100644
--- a/test/suite/converted/chapter13/13.0/13_4-17gs.js
+++ b/test/suite/converted/chapter13/13.0/13_4-17gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter13/13.0/13_4-17gs.js
+ * @description Strict Mode - SourceElements is evaluated as strict mode code when a Function constructor is contained in strict mode code
  * @strict_only
+ * @negative NotEarlyErrorString
  */
 
 
diff --git a/test/suite/converted/chapter13/13.0/13_4-5gs.js b/test/suite/converted/chapter13/13.0/13_4-5gs.js
index e180cca281..e39537ce7b 100644
--- a/test/suite/converted/chapter13/13.0/13_4-5gs.js
+++ b/test/suite/converted/chapter13/13.0/13_4-5gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter13/13.0/13_4-5gs.js
+ * @description Strict Mode - SourceElements is evaluated as strict mode code when a FunctionDeclaration is contained in strict mode code
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
diff --git a/test/suite/converted/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-625gs.js b/test/suite/converted/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-625gs.js
index db65d5d8b8..5b0e26b4a7 100644
--- a/test/suite/converted/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-625gs.js
+++ b/test/suite/converted/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-625gs.js
@@ -20,6 +20,7 @@
 
 /**
  * @path chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-625gs.js
+ * @description Globally declared variable should take precedence over Object.prototype property of the same name
  */
 
 Object.defineProperty(Object.prototype, 
diff --git a/test/suite/converted/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-4gs.js b/test/suite/converted/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-4gs.js
index de69fc2e1d..ec9115ed68 100644
--- a/test/suite/converted/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-4gs.js
+++ b/test/suite/converted/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-4gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-4gs.js
+ * @description Strict Mode - SyntaxError is thrown if a function using the Function constructor has two identical parameters in (global) strict mode
  * @strict_only
+ * @negative NotEarlyErrorString
  */
 
 
diff --git a/test/suite/converted/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-6gs.js b/test/suite/converted/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-6gs.js
index f31beeafc6..f5ba1d63af 100644
--- a/test/suite/converted/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-6gs.js
+++ b/test/suite/converted/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-6gs.js
@@ -2,6 +2,9 @@
 
 /**
  * @path chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-6gs.js
+ * @description Strict Mode - SyntaxError is thrown if a function using the Function constructor has two identical parameters in (local) strict mode
+ * @strict_only
+ * @negative NotEarlyErrorString
  */
 
 throw NotEarlyError;
diff --git a/test/suite/converted/chapter15/15.3/15.3.5/15.3.5-1gs.js b/test/suite/converted/chapter15/15.3/15.3.5/15.3.5-1gs.js
index 38a6397b1a..a5e5b48754 100644
--- a/test/suite/converted/chapter15/15.3/15.3.5/15.3.5-1gs.js
+++ b/test/suite/converted/chapter15/15.3/15.3.5/15.3.5-1gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter15/15.3/15.3.5/15.3.5-1gs.js
+ * @description StrictMode - error is thrown when reading the 'caller' property of a function object
  * @strict_only
+ * @negative NotEarlyErrorString
  */
 
 
diff --git a/test/suite/converted/chapter15/15.3/15.3.5/15.3.5-2gs.js b/test/suite/converted/chapter15/15.3/15.3.5/15.3.5-2gs.js
index 919dd965e4..3c8514388c 100644
--- a/test/suite/converted/chapter15/15.3/15.3.5/15.3.5-2gs.js
+++ b/test/suite/converted/chapter15/15.3/15.3.5/15.3.5-2gs.js
@@ -2,7 +2,9 @@
 
 /**
  * @path chapter15/15.3/15.3.5/15.3.5-2gs.js
+ * @description StrictMode - error is thrown when reading the 'caller' property of a function object
  * @strict_only
+ * @negative EarlyErrorRePat
  */
 
 
-- 
GitLab