From 515ed58d604f8fcc6fdf21eac57ad852b6e07399 Mon Sep 17 00:00:00 2001 From: David Fugate Date: Sun, 25 Sep 2011 16:25:20 -0700 Subject: Fixed bug in generated IETC test cases regarding NotEarlyError. --- test/suite/chapter07/7.6/7.6.1/7.6.1.2-1gs.js | 2 +- test/suite/chapter07/7.8/7.8.3/7.8.3-1gs.js | 2 +- test/suite/chapter07/7.8/7.8.5/7.8.5-1gs.js | 2 +- test/suite/chapter10/10.1/10.1.1/10.1.1-2gs.js | 2 +- test/suite/chapter10/10.1/10.1.1/10.1.1-5gs.js | 2 +- test/suite/chapter10/10.1/10.1.1/10.1.1-8gs.js | 2 +- test/suite/chapter10/10.4/10.4.2/10.4.2.1-1gs.js | 2 +- test/suite/chapter10/10.5/10.5-1gs.js | 2 +- test/suite/chapter11/11.13/11.13.2/11.13.2-6-1gs.js | 2 +- test/suite/chapter11/11.3/11.3.1/11.3.1-2-1gs.js | 2 +- test/suite/chapter11/11.4/11.4.5/11.4.5-2-2gs.js | 2 +- test/suite/chapter12/12.10/12.10.1/12.10.1-11gs.js | 2 +- test/suite/chapter12/12.14/12.14.1/12.14.1-1gs.js | 2 +- test/suite/chapter13/13.0/13_4-5gs.js | 2 +- test/suite/chapter15/15.3/15.3.5/15.3.5-2gs.js | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) (limited to 'test') diff --git a/test/suite/chapter07/7.6/7.6.1/7.6.1.2-1gs.js b/test/suite/chapter07/7.6/7.6.1/7.6.1.2-1gs.js index ee18b652d..59c2330d4 100644 --- a/test/suite/chapter07/7.6/7.6.1/7.6.1.2-1gs.js +++ b/test/suite/chapter07/7.6/7.6.1/7.6.1.2-1gs.js @@ -4,7 +4,7 @@ * @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 * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; diff --git a/test/suite/chapter07/7.8/7.8.3/7.8.3-1gs.js b/test/suite/chapter07/7.8/7.8.3/7.8.3-1gs.js index 4344e6530..8ee970461 100644 --- a/test/suite/chapter07/7.8/7.8.3/7.8.3-1gs.js +++ b/test/suite/chapter07/7.8/7.8.3/7.8.3-1gs.js @@ -4,7 +4,7 @@ * @path chapter07/7.8/7.8.3/7.8.3-1gs.js * @description Strict Mode - octal extension(010) is forbidden in strict mode * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; diff --git a/test/suite/chapter07/7.8/7.8.5/7.8.5-1gs.js b/test/suite/chapter07/7.8/7.8.5/7.8.5-1gs.js index 409ee1d28..5f7b0c945 100644 --- a/test/suite/chapter07/7.8/7.8.5/7.8.5-1gs.js +++ b/test/suite/chapter07/7.8/7.8.5/7.8.5-1gs.js @@ -3,7 +3,7 @@ /** * @path chapter07/7.8/7.8.5/7.8.5-1gs.js * @description Empty literal RegExp should result in a SyntaxError - * @negative EarlyErrorRePat + * @negative NotEarlyError */ throw NotEarlyError; diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-2gs.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-2gs.js index 7a1b03445..808c62319 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-2gs.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-2gs.js @@ -4,7 +4,7 @@ * @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 ';' * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict" diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-5gs.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-5gs.js index 7dd2029e6..e3822d97b 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-5gs.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-5gs.js @@ -4,7 +4,7 @@ * @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 * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; diff --git a/test/suite/chapter10/10.1/10.1.1/10.1.1-8gs.js b/test/suite/chapter10/10.1/10.1.1/10.1.1-8gs.js index 256229009..33450af8f 100644 --- a/test/suite/chapter10/10.1/10.1.1/10.1.1-8gs.js +++ b/test/suite/chapter10/10.1/10.1.1/10.1.1-8gs.js @@ -4,7 +4,7 @@ * @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 * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; diff --git a/test/suite/chapter10/10.4/10.4.2/10.4.2.1-1gs.js b/test/suite/chapter10/10.4/10.4.2/10.4.2.1-1gs.js index 795d537c9..fbe67dd75 100644 --- a/test/suite/chapter10/10.4/10.4.2/10.4.2.1-1gs.js +++ b/test/suite/chapter10/10.4/10.4.2/10.4.2.1-1gs.js @@ -4,7 +4,7 @@ * @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 * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; diff --git a/test/suite/chapter10/10.5/10.5-1gs.js b/test/suite/chapter10/10.5/10.5-1gs.js index 0f10a24d8..9bc34a474 100644 --- a/test/suite/chapter10/10.5/10.5-1gs.js +++ b/test/suite/chapter10/10.5/10.5-1gs.js @@ -4,7 +4,7 @@ * @path chapter10/10.5/10.5-1gs.js * @description Strict Mode - arguments cannot be assigned to in a strict function * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; diff --git a/test/suite/chapter11/11.13/11.13.2/11.13.2-6-1gs.js b/test/suite/chapter11/11.13/11.13.2/11.13.2-6-1gs.js index 88778958c..9acf68b5f 100644 --- a/test/suite/chapter11/11.13/11.13.2/11.13.2-6-1gs.js +++ b/test/suite/chapter11/11.13/11.13.2/11.13.2-6-1gs.js @@ -4,7 +4,7 @@ * @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(*=) * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; diff --git a/test/suite/chapter11/11.3/11.3.1/11.3.1-2-1gs.js b/test/suite/chapter11/11.3/11.3.1/11.3.1-2-1gs.js index d1e3eef17..a08f732e5 100644 --- a/test/suite/chapter11/11.3/11.3.1/11.3.1-2-1gs.js +++ b/test/suite/chapter11/11.3/11.3.1/11.3.1-2-1gs.js @@ -4,7 +4,7 @@ * @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++) * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; diff --git a/test/suite/chapter11/11.4/11.4.5/11.4.5-2-2gs.js b/test/suite/chapter11/11.4/11.4.5/11.4.5-2-2gs.js index 0d79d718d..172312108 100644 --- a/test/suite/chapter11/11.4/11.4.5/11.4.5-2-2gs.js +++ b/test/suite/chapter11/11.4/11.4.5/11.4.5-2-2gs.js @@ -4,7 +4,7 @@ * @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) * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; diff --git a/test/suite/chapter12/12.10/12.10.1/12.10.1-11gs.js b/test/suite/chapter12/12.10/12.10.1/12.10.1-11gs.js index a959dd9d6..c419405aa 100644 --- a/test/suite/chapter12/12.10/12.10.1/12.10.1-11gs.js +++ b/test/suite/chapter12/12.10/12.10.1/12.10.1-11gs.js @@ -4,7 +4,7 @@ * @path chapter12/12.10/12.10.1/12.10.1-11gs.js * @description Strict Mode - SyntaxError is thrown when using with statement * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; diff --git a/test/suite/chapter12/12.14/12.14.1/12.14.1-1gs.js b/test/suite/chapter12/12.14/12.14.1/12.14.1-1gs.js index 33ff22cee..6cb569123 100644 --- a/test/suite/chapter12/12.14/12.14.1/12.14.1-1gs.js +++ b/test/suite/chapter12/12.14/12.14.1/12.14.1-1gs.js @@ -4,7 +4,7 @@ * @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 * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; diff --git a/test/suite/chapter13/13.0/13_4-5gs.js b/test/suite/chapter13/13.0/13_4-5gs.js index 0516cb37e..d4d2cbd2a 100644 --- a/test/suite/chapter13/13.0/13_4-5gs.js +++ b/test/suite/chapter13/13.0/13_4-5gs.js @@ -4,7 +4,7 @@ * @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 * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; diff --git a/test/suite/chapter15/15.3/15.3.5/15.3.5-2gs.js b/test/suite/chapter15/15.3/15.3.5/15.3.5-2gs.js index ebad4f9ea..a140bfb0d 100644 --- a/test/suite/chapter15/15.3/15.3.5/15.3.5-2gs.js +++ b/test/suite/chapter15/15.3/15.3.5/15.3.5-2gs.js @@ -4,7 +4,7 @@ * @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 * @onlyStrict - * @negative EarlyErrorRePat + * @negative NotEarlyError */ "use strict"; -- cgit v1.2.3