aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMark Miller <erights@gmail.com>2011-09-25 08:38:17 -0700
committerMark Miller <erights@gmail.com>2011-09-25 08:38:17 -0700
commitaa67d8e5ac07a5adac300f7ad3308071da91ce03 (patch)
tree909b320f0c404bd09ae7ad2d90655c95032e7156 /test
parent9d3bab7052abafd044cf0de75bca4fba1b8da64d (diff)
Regenerated
Diffstat (limited to 'test')
-rw-r--r--test/suite/converted/07_Lexical_Conventions/.DS_Storebin6148 -> 0 bytes
-rw-r--r--test/suite/converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.js12
-rw-r--r--test/suite/converted/10_Execution_Contexts/.DS_Storebin6148 -> 0 bytes
-rw-r--r--test/suite/converted/10_Execution_Contexts/10.2_Lexical_Environments/.DS_Storebin6148 -> 0 bytes
-rw-r--r--test/suite/converted/10_Execution_Contexts/10.4_Establishing_An_Execution_Context/.DS_Storebin6148 -> 0 bytes
-rw-r--r--test/suite/converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.js27
-rw-r--r--test/suite/converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.js22
-rw-r--r--test/suite/converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.js13
-rw-r--r--test/suite/converted/bestPractice/Sbp_A1_T1.js19
-rw-r--r--test/suite/converted/bestPractice/Sbp_A2_T1.js21
-rw-r--r--test/suite/converted/bestPractice/Sbp_A2_T2.js23
-rw-r--r--test/suite/converted/bestPractice/Sbp_A3_T1.js19
-rw-r--r--test/suite/converted/bestPractice/Sbp_A3_T2.js21
-rw-r--r--test/suite/converted/bestPractice/Sbp_A4_T1.js19
-rw-r--r--test/suite/converted/bestPractice/Sbp_A4_T2.js21
-rw-r--r--test/suite/converted/bestPractice/Sbp_A5_T1.js18
-rw-r--r--test/suite/converted/bestPractice/Sbp_A5_T2.js21
-rw-r--r--test/suite/converted/chapter07/.DS_Storebin6148 -> 0 bytes
-rw-r--r--test/suite/converted/chapter08/8.7/8.7.2/8.7.2-3-a-2gs.js2
-rw-r--r--test/suite/converted/chapter13/13.0/13_4-17gs.js2
-rw-r--r--test/suite/converted/chapter15/.DS_Storebin6148 -> 0 bytes
-rw-r--r--test/suite/converted/chapter15/15.1/.DS_Storebin6148 -> 0 bytes
-rw-r--r--test/suite/converted/chapter15/15.1/15.1.1/.DS_Storebin6148 -> 0 bytes
-rw-r--r--test/suite/converted/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-4gs.js2
-rw-r--r--test/suite/converted/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-6gs.js2
-rw-r--r--test/suite/converted/chapter15/15.3/15.3.5/15.3.5-1gs.js2
26 files changed, 193 insertions, 73 deletions
diff --git a/test/suite/converted/07_Lexical_Conventions/.DS_Store b/test/suite/converted/07_Lexical_Conventions/.DS_Store
deleted file mode 100644
index 16658debd..000000000
--- a/test/suite/converted/07_Lexical_Conventions/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/test/suite/converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.js b/test/suite/converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.js
index ba2359dc9..9149a5852 100644
--- a/test/suite/converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.js
+++ b/test/suite/converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.js
@@ -6,26 +6,26 @@
*
* @path 08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.js
* @description Call function-property of object, property defined
- * as screen = {touch:function(){count++}}
+ * as testScreen = {touch:function(){count++}}
*/
this.count=0;
-var screen = {touch:function(){count++}};
+var testScreen = {touch:function(){count++}};
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
-screen.touch();
+testScreen.touch();
if (count !==1) {
- $ERROR('#1: this.count=0; screen = {touch:function(){count++}}; screen.touch(); count === 1. Actual: ' + (count));
+ $ERROR('#1: this.count=0; testScreen = {touch:function(){count++}}; testScreen.touch(); count === 1. Actual: ' + (count));
}
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
-screen['touch']();
+testScreen['touch']();
if (count !==2) {
- $ERROR('#2: this.count=0; screen = {touch:function(){count++}}; screen.touch(); screen[\'touch\'](); count === 2. Actual: ' + (count));
+ $ERROR('#2: this.count=0; testScreen = {touch:function(){count++}}; testScreen.touch(); testScreen[\'touch\'](); count === 2. Actual: ' + (count));
}
//
//////////////////////////////////////////////////////////////////////////////
diff --git a/test/suite/converted/10_Execution_Contexts/.DS_Store b/test/suite/converted/10_Execution_Contexts/.DS_Store
deleted file mode 100644
index a3c95a299..000000000
--- a/test/suite/converted/10_Execution_Contexts/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/test/suite/converted/10_Execution_Contexts/10.2_Lexical_Environments/.DS_Store b/test/suite/converted/10_Execution_Contexts/10.2_Lexical_Environments/.DS_Store
deleted file mode 100644
index 19bbcd5ae..000000000
--- a/test/suite/converted/10_Execution_Contexts/10.2_Lexical_Environments/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/test/suite/converted/10_Execution_Contexts/10.4_Establishing_An_Execution_Context/.DS_Store b/test/suite/converted/10_Execution_Contexts/10.4_Establishing_An_Execution_Context/.DS_Store
deleted file mode 100644
index defcffe04..000000000
--- a/test/suite/converted/10_Execution_Contexts/10.4_Establishing_An_Execution_Context/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/test/suite/converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.js b/test/suite/converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.js
deleted file mode 100644
index cc7d2eca0..000000000
--- a/test/suite/converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * FunctionExpession within a "for-in" Expression is allowed
- *
- * @path 12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T1.js
- * @description Using "function __func(){return 0;}" as Expession
- */
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#
-for(x in function __func(){return 0;}){
- if (x=="prototype")
- var __reached = 1;
-};
-//
-//////////////////////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#2
-if (__reached !== 1) {
- $ERROR('#2: function expession inside of for-in expression is allowed');
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.js b/test/suite/converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.js
deleted file mode 100644
index d72087e54..000000000
--- a/test/suite/converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.js
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]
- *
- * @path 15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T2.js
- * @description It is an error if n is greater than the total number of left capturing parentheses in the entire regular expression
- * @negative
- */
-
-/\1/.exec("");
-/\2/.exec("");
-/\3/.exec("");
-/\4/.exec("");
-/\5/.exec("");
-/\6/.exec("");
-/\7/.exec("");
-/\8/.exec("");
-/\9/.exec("");
-/\10/.exec("");
-
diff --git a/test/suite/converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.js b/test/suite/converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.js
deleted file mode 100644
index e2b1eebe6..000000000
--- a/test/suite/converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.js
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]
- *
- * @path 15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.11_DecimalEscape/S15.10.2.11_A1_T3.js
- * @description It is an error if n is greater than the total number of left capturing parentheses in the entire regular expression
- * @negative
- */
-
-/(?:A)\2/.exec("AA");
-
diff --git a/test/suite/converted/bestPractice/Sbp_A1_T1.js b/test/suite/converted/bestPractice/Sbp_A1_T1.js
new file mode 100644
index 000000000..ff41177c5
--- /dev/null
+++ b/test/suite/converted/bestPractice/Sbp_A1_T1.js
@@ -0,0 +1,19 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * The production Block { } in strict code can't contain function
+ * declaration;
+ *
+ * @path bestPractice/Sbp_A1_T1.js
+ * @description Trying to declare function at the Block statement
+ * @onlyStrict
+ * @negative SyntaxError
+ * @bestPractice http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls
+ */
+
+"use strict";
+{
+ function __func(){}
+}
+
diff --git a/test/suite/converted/bestPractice/Sbp_A2_T1.js b/test/suite/converted/bestPractice/Sbp_A2_T1.js
new file mode 100644
index 000000000..52d28970d
--- /dev/null
+++ b/test/suite/converted/bestPractice/Sbp_A2_T1.js
@@ -0,0 +1,21 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Function declaration within an "if" statement in strict code is not
+ * allowed
+ *
+ * @path bestPractice/Sbp_A2_T1.js
+ * @description Declaring function within a strict "if" statement
+ * @onlyStrict
+ * @negative SyntaxError
+ * @bestPractice http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls
+ */
+
+"use strict";
+if (true) {
+ function __func(){};
+} else {
+ function __func(){};
+}
+
diff --git a/test/suite/converted/bestPractice/Sbp_A2_T2.js b/test/suite/converted/bestPractice/Sbp_A2_T2.js
new file mode 100644
index 000000000..8fedbf1ce
--- /dev/null
+++ b/test/suite/converted/bestPractice/Sbp_A2_T2.js
@@ -0,0 +1,23 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Function declaration within an "if" statement in strict code is not allowed;
+ *
+ * @path bestPractice/Sbp_A2_T2.js
+ * @description Declaring function within an "if" that is declared
+ * within the strict function
+ * @onlyStrict
+ * @negative SyntaxError
+ * @bestPractice http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls
+ */
+
+"use strict";
+(function(){
+ if (true) {
+ function __func(){};
+ } else {
+ function __func(){};
+ }
+});
+
diff --git a/test/suite/converted/bestPractice/Sbp_A3_T1.js b/test/suite/converted/bestPractice/Sbp_A3_T1.js
new file mode 100644
index 000000000..e73dd940d
--- /dev/null
+++ b/test/suite/converted/bestPractice/Sbp_A3_T1.js
@@ -0,0 +1,19 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * FunctionDeclaration within a "do-while" Block in strict code is not
+ * allowed
+ *
+ * @path bestPractice/Sbp_A3_T1.js
+ * @description Declaring function within a "do-while" loop
+ * @onlyStrict
+ * @negative SyntaxError
+ * @bestPractice http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls
+ */
+
+"use strict";
+do {
+ function __func(){};
+} while(0);
+
diff --git a/test/suite/converted/bestPractice/Sbp_A3_T2.js b/test/suite/converted/bestPractice/Sbp_A3_T2.js
new file mode 100644
index 000000000..9d6c6a7de
--- /dev/null
+++ b/test/suite/converted/bestPractice/Sbp_A3_T2.js
@@ -0,0 +1,21 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * FunctionDeclaration within a "do-while" Block in strict code is not allowed
+ *
+ * @path bestPractice/Sbp_A3_T2.js
+ * @description Declaring a function within a "do-while" loop that is
+ * within a strict function
+ * @onlyStrict
+ * @negative SyntaxError
+ * @bestPractice http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls
+ */
+
+"use strict";
+(function(){
+ do {
+ function __func(){};
+ } while(0);
+});
+
diff --git a/test/suite/converted/bestPractice/Sbp_A4_T1.js b/test/suite/converted/bestPractice/Sbp_A4_T1.js
new file mode 100644
index 000000000..0fdb43897
--- /dev/null
+++ b/test/suite/converted/bestPractice/Sbp_A4_T1.js
@@ -0,0 +1,19 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * FunctionDeclaration within a "while" Statement is not allowed
+ *
+ * @path bestPractice/Sbp_A4_T1.js
+ * @description Checking if declaring a function within a "while"
+ * Statement leads to an exception
+ * @onlyStrict
+ * @negative SyntaxError
+ * @bestPractice http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls
+ */
+
+"use strict";
+while (0) {
+ function __func(){};
+};
+
diff --git a/test/suite/converted/bestPractice/Sbp_A4_T2.js b/test/suite/converted/bestPractice/Sbp_A4_T2.js
new file mode 100644
index 000000000..c9145fcc4
--- /dev/null
+++ b/test/suite/converted/bestPractice/Sbp_A4_T2.js
@@ -0,0 +1,21 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * FunctionDeclaration within a "while" Statement is not allowed
+ *
+ * @path bestPractice/Sbp_A4_T2.js
+ * @description Checking if declaring a function within a "while"
+ * Statement that is in a function call leads to an exception
+ * @onlyStrict
+ * @negative SyntaxError
+ * @bestPractice http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls
+ */
+
+"use strict";
+(function(){
+ while (0) {
+ function __func(){};
+ };
+})();
+
diff --git a/test/suite/converted/bestPractice/Sbp_A5_T1.js b/test/suite/converted/bestPractice/Sbp_A5_T1.js
new file mode 100644
index 000000000..b9cf11080
--- /dev/null
+++ b/test/suite/converted/bestPractice/Sbp_A5_T1.js
@@ -0,0 +1,18 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * FunctionDeclaration within a "for-in" Statement is not allowed
+ *
+ * @path bestPractice/Sbp_A5_T1.js
+ * @description Declaring function within a "for-in" Statement
+ * @onlyStrict
+ * @negative SyntaxError
+ * @bestPractice http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls
+ */
+
+"use strict";
+for (x in this) {
+ function __func(){};
+}
+
diff --git a/test/suite/converted/bestPractice/Sbp_A5_T2.js b/test/suite/converted/bestPractice/Sbp_A5_T2.js
new file mode 100644
index 000000000..208be598f
--- /dev/null
+++ b/test/suite/converted/bestPractice/Sbp_A5_T2.js
@@ -0,0 +1,21 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * FunctionDeclaration within a "for-in" Statement is not allowed
+ *
+ * @path bestPractice/Sbp_A5_T2.js
+ * @description Declaring function within a "for-in" Statement that is
+ * within a function call
+ * @onlyStrict
+ * @negative SyntaxError
+ * @bestPractice http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls
+ */
+
+"use strict";
+(function(){
+ for (x in this) {
+ function __func(){};
+ }
+})();
+
diff --git a/test/suite/converted/chapter07/.DS_Store b/test/suite/converted/chapter07/.DS_Store
deleted file mode 100644
index 68ff27b46..000000000
--- a/test/suite/converted/chapter07/.DS_Store
+++ /dev/null
Binary files differ
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 41c7cf94d..0c96f289b 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
@@ -4,7 +4,7 @@
* @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
* @onlyStrict
- * @negative NotEarlyErrorString
+ * @negative NotEarlyError
*/
"use strict";
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 be51e4a73..df91858b5 100644
--- a/test/suite/converted/chapter13/13.0/13_4-17gs.js
+++ b/test/suite/converted/chapter13/13.0/13_4-17gs.js
@@ -4,7 +4,7 @@
* @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
* @onlyStrict
- * @negative NotEarlyErrorString
+ * @negative NotEarlyError
*/
"use strict";
diff --git a/test/suite/converted/chapter15/.DS_Store b/test/suite/converted/chapter15/.DS_Store
deleted file mode 100644
index d14f2a095..000000000
--- a/test/suite/converted/chapter15/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/test/suite/converted/chapter15/15.1/.DS_Store b/test/suite/converted/chapter15/15.1/.DS_Store
deleted file mode 100644
index d1216095b..000000000
--- a/test/suite/converted/chapter15/15.1/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/test/suite/converted/chapter15/15.1/15.1.1/.DS_Store b/test/suite/converted/chapter15/15.1/15.1.1/.DS_Store
deleted file mode 100644
index 42cad22c3..000000000
--- a/test/suite/converted/chapter15/15.1/15.1.1/.DS_Store
+++ /dev/null
Binary files differ
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 5d592f2ed..7928bdac2 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
@@ -4,7 +4,7 @@
* @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
* @onlyStrict
- * @negative NotEarlyErrorString
+ * @negative NotEarlyError
*/
"use strict";
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 ac66b7856..33bbbc55d 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
@@ -4,7 +4,7 @@
* @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
* @onlyStrict
- * @negative NotEarlyErrorString
+ * @negative NotEarlyError
*/
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 fe686a6fb..dfdb33e70 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
@@ -4,7 +4,7 @@
* @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
* @onlyStrict
- * @negative NotEarlyErrorString
+ * @negative NotEarlyError
*/
"use strict";