Fixed bug in generated IETC test cases regarding NotEarlyError.

This commit is contained in:
David Fugate 2011-09-25 16:25:20 -07:00
parent 209657430d
commit 515ed58d60
21 changed files with 21 additions and 21 deletions

View File

@ -4,7 +4,7 @@
* @path chapter07/7.6/7.6.1/7.6.1.2-1gs.js * @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 * @description Strict Mode - SyntaxError is thrown when FutureReservedWord 'implements' occurs in strict mode code
* @onlyStrict * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

View File

@ -4,7 +4,7 @@
* @path chapter07/7.8/7.8.3/7.8.3-1gs.js * @path chapter07/7.8/7.8.3/7.8.3-1gs.js
* @description Strict Mode - octal extension(010) is forbidden in strict mode * @description Strict Mode - octal extension(010) is forbidden in strict mode
* @onlyStrict * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

View File

@ -3,7 +3,7 @@
/** /**
* @path chapter07/7.8/7.8.5/7.8.5-1gs.js * @path chapter07/7.8/7.8.5/7.8.5-1gs.js
* @description Empty literal RegExp should result in a SyntaxError * @description Empty literal RegExp should result in a SyntaxError
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
throw NotEarlyError; throw NotEarlyError;

View File

@ -4,7 +4,7 @@
* @path chapter10/10.1/10.1.1/10.1.1-2gs.js * @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 ';' * @description Strict Mode - Use Strict Directive Prologue is ''use strict'' which lost the last character ';'
* @onlyStrict * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict" "use strict"

View File

@ -4,7 +4,7 @@
* @path chapter10/10.1/10.1.1/10.1.1-5gs.js * @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 * @description Strict Mode - Use Strict Directive Prologue is ''use strict';' which appears at the start of the code
* @onlyStrict * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

View File

@ -4,7 +4,7 @@
* @path chapter10/10.1/10.1.1/10.1.1-8gs.js * @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 * @description Strict Mode - Use Strict Directive Prologue is ''use strict';' which appears twice in the code
* @onlyStrict * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

View File

@ -4,7 +4,7 @@
* @path chapter10/10.4/10.4.2/10.4.2.1-1gs.js * @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 * @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 * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

View File

@ -4,7 +4,7 @@
* @path chapter10/10.5/10.5-1gs.js * @path chapter10/10.5/10.5-1gs.js
* @description Strict Mode - arguments cannot be assigned to in a strict function * @description Strict Mode - arguments cannot be assigned to in a strict function
* @onlyStrict * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

View File

@ -4,7 +4,7 @@
* @path chapter11/11.13/11.13.2/11.13.2-6-1gs.js * @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(*=) * @description Strict Mode - SyntaxError is throw if the identifier eval appears as the LeftHandSideExpression of a Compound Assignment operator(*=)
* @onlyStrict * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

View File

@ -4,7 +4,7 @@
* @path chapter11/11.3/11.3.1/11.3.1-2-1gs.js * @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++) * @description Strict Mode - SyntaxError is throw if the identifier arguments appear as a PostfixExpression(arguments++)
* @onlyStrict * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

View File

@ -4,7 +4,7 @@
* @path chapter11/11.4/11.4.5/11.4.5-2-2gs.js * @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) * @description Strict Mode - SyntaxError is throw if the UnaryExpression operated upon by a Prefix Increment operator(--arguments)
* @onlyStrict * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

View File

@ -4,7 +4,7 @@
* @path chapter12/12.10/12.10.1/12.10.1-11gs.js * @path chapter12/12.10/12.10.1/12.10.1-11gs.js
* @description Strict Mode - SyntaxError is thrown when using with statement * @description Strict Mode - SyntaxError is thrown when using with statement
* @onlyStrict * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

View File

@ -4,7 +4,7 @@
* @path chapter12/12.14/12.14.1/12.14.1-1gs.js * @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 * @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 * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

View File

@ -4,7 +4,7 @@
* @path chapter13/13.0/13_4-5gs.js * @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 * @description Strict Mode - SourceElements is evaluated as strict mode code when a FunctionDeclaration is contained in strict mode code
* @onlyStrict * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

View File

@ -4,7 +4,7 @@
* @path chapter15/15.3/15.3.5/15.3.5-2gs.js * @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 * @description StrictMode - error is thrown when reading the 'caller' property of a function object
* @onlyStrict * @onlyStrict
* @negative EarlyErrorRePat * @negative NotEarlyError
*/ */
"use strict"; "use strict";

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long