Skip to content
Snippets Groups Projects
Commit 72d70024 authored by Mark Miller's avatar Mark Miller
Browse files

Regenerated ietestcenter tests, taking into account info from IETCGlobalScope.js

parent aac6432a
No related branches found
No related tags found
No related merge requests found
Showing
with 37 additions and 0 deletions
......@@ -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
*/
......
......@@ -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
*/
......
......@@ -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;
......
......@@ -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("");
......
......@@ -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 .
*/
......
......@@ -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
*/
......
......@@ -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"
......
......@@ -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
*/
......
......@@ -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
*/
......
......@@ -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
*/
......
......@@ -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
*/
......
......@@ -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() {
......
......@@ -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
*/
......
......@@ -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
*/
......
......@@ -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 .
*/
......
......@@ -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
*/
......
......@@ -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
*/
......
......@@ -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
*/
......
......@@ -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
*/
......
......@@ -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
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment