Fix typos; generate tests (#1907)

This commit is contained in:
Rick Waldron 2018-10-26 17:11:05 -04:00 committed by Leo Balter
parent 6e2f903d0e
commit f1e362d558
80 changed files with 82 additions and 82 deletions

View File

@ -3,7 +3,7 @@
/*--- /*---
desc: > desc: >
ArrayAssignmentPattern may include elisions at any position preceeding a ArrayAssignmentPattern may include elisions at any position preceding a
AssignmentRestElement in a AssignmentElementList. AssignmentRestElement in a AssignmentElementList.
template: default template: default
---*/ ---*/

View File

@ -3,7 +3,7 @@
/*--- /*---
desc: > desc: >
ArrayAssignmentPattern may include elisions at any position preceeding a ArrayAssignmentPattern may include elisions at any position preceding a
AssignmentRestElement in a AssignmentElementList. AssignmentRestElement in a AssignmentElementList.
template: default template: default
es6id: 12.14.5 es6id: 12.14.5

View File

@ -1,7 +1,7 @@
// Copyright (C) 2018 Leo Balter. All rights reserved. // Copyright (C) 2018 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
desc: ImportCall is a CallExpression, it can't be preceeded by the new keyword desc: ImportCall is a CallExpression, it can't be preceded by the new keyword
template: syntax/invalid template: syntax/invalid
info: | info: |
CallExpression: CallExpression:

View File

@ -26,7 +26,7 @@ assert.sameValue(
assert.sameValue( assert.sameValue(
escape('!"#$%&\'()'), escape('!"#$%&\'()'),
'%21%22%23%24%25%26%27%28%29', '%21%22%23%24%25%26%27%28%29',
'characters preceeding "*": !"#$%&\'()' 'characters preceding "*": !"#$%&\'()'
); );
assert.sameValue(escape(','), '%2C', 'character between "+" and "-": ,'); assert.sameValue(escape(','), '%2C', 'character between "+" and "-": ,');

View File

@ -6,7 +6,7 @@ description: >
When invoked via the function invocation pattern with multiple arguments, When invoked via the function invocation pattern with multiple arguments,
the AsyncGeneratorFunction intrinsic creates a valid generator whose body is the the AsyncGeneratorFunction intrinsic creates a valid generator whose body is the
last argument evaluated as source code and whose formal parameters are last argument evaluated as source code and whose formal parameters are
defined by the preceeding arguments. defined by the preceding arguments.
features: [async-iteration] features: [async-iteration]
flags: [async] flags: [async]
---*/ ---*/

View File

@ -41,4 +41,4 @@ assert.throws(TypeError, function() {
setDate.call(args, arg); setDate.call(args, arg);
}, 'arguments exotic object'); }, 'arguments exotic object');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -51,4 +51,4 @@ assert.throws(TypeError, function() {
setDate.call(symbol, arg); setDate.call(symbol, arg);
}, 'symbol'); }, 'symbol');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -41,4 +41,4 @@ assert.throws(TypeError, function() {
setFullYear.call(args, arg); setFullYear.call(args, arg);
}, 'arguments exotic object'); }, 'arguments exotic object');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -51,4 +51,4 @@ assert.throws(TypeError, function() {
setFullYear.call(symbol, arg); setFullYear.call(symbol, arg);
}, 'symbol'); }, 'symbol');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -41,4 +41,4 @@ assert.throws(TypeError, function() {
setHours.call(args, arg); setHours.call(args, arg);
}, 'arguments exotic object'); }, 'arguments exotic object');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -51,4 +51,4 @@ assert.throws(TypeError, function() {
setHours.call(symbol, arg); setHours.call(symbol, arg);
}, 'symbol'); }, 'symbol');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -41,4 +41,4 @@ assert.throws(TypeError, function() {
setMilliseconds.call(args, arg); setMilliseconds.call(args, arg);
}, 'arguments exotic object'); }, 'arguments exotic object');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -51,4 +51,4 @@ assert.throws(TypeError, function() {
setMilliseconds.call(symbol, arg); setMilliseconds.call(symbol, arg);
}, 'symbol'); }, 'symbol');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -41,4 +41,4 @@ assert.throws(TypeError, function() {
setMinutes.call(args, arg); setMinutes.call(args, arg);
}, 'arguments exotic object'); }, 'arguments exotic object');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -51,4 +51,4 @@ assert.throws(TypeError, function() {
setMinutes.call(symbol, arg); setMinutes.call(symbol, arg);
}, 'symbol'); }, 'symbol');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -41,4 +41,4 @@ assert.throws(TypeError, function() {
setMonth.call(args, arg); setMonth.call(args, arg);
}, 'arguments exotic object'); }, 'arguments exotic object');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -51,4 +51,4 @@ assert.throws(TypeError, function() {
setMonth.call(symbol, arg); setMonth.call(symbol, arg);
}, 'symbol'); }, 'symbol');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -41,4 +41,4 @@ assert.throws(TypeError, function() {
setSeconds.call(args, arg); setSeconds.call(args, arg);
}, 'arguments exotic object'); }, 'arguments exotic object');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -51,4 +51,4 @@ assert.throws(TypeError, function() {
setSeconds.call(symbol, arg); setSeconds.call(symbol, arg);
}, 'symbol'); }, 'symbol');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -41,4 +41,4 @@ assert.throws(TypeError, function() {
setTime.call(args, arg); setTime.call(args, arg);
}, 'arguments exotic object'); }, 'arguments exotic object');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -51,4 +51,4 @@ assert.throws(TypeError, function() {
setTime.call(symbol, arg); setTime.call(symbol, arg);
}, 'symbol'); }, 'symbol');
assert.sameValue(callCount, 0, 'validation preceeds input coercion'); assert.sameValue(callCount, 0, 'validation precedes input coercion');

View File

@ -6,7 +6,7 @@ description: >
When invoked via the function invocation pattern with multiple arguments, When invoked via the function invocation pattern with multiple arguments,
the GeneratorFunction intrinsic creates a valid generator whose body is the the GeneratorFunction intrinsic creates a valid generator whose body is the
last argument evaluated as source code and whose formal parameters are last argument evaluated as source code and whose formal parameters are
defined by the preceeding arguments. defined by the preceding arguments.
features: [generators] features: [generators]
---*/ ---*/

View File

@ -4,7 +4,7 @@
/*--- /*---
info: String.prototype.indexOf works properly info: String.prototype.indexOf works properly
es5id: 15.5.4.7_A5_T2 es5id: 15.5.4.7_A5_T2
description: Search one symbol from it`s position in the string description: Search one symbol from its position in the string
---*/ ---*/
var TEST_STRING = new String(" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"); var TEST_STRING = new String(" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~");

View File

@ -4,7 +4,7 @@
/*--- /*---
info: String.prototype.indexOf works properly info: String.prototype.indexOf works properly
es5id: 15.5.4.7_A5_T3 es5id: 15.5.4.7_A5_T3
description: Search one symbol from it`s position+1 in the string description: Search one symbol from its position+1 in the string
---*/ ---*/
var TEST_STRING = new String(" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"); var TEST_STRING = new String(" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~");

View File

@ -4,7 +4,7 @@
/*--- /*---
info: String.prototype.indexOf works properly info: String.prototype.indexOf works properly
es5id: 15.5.4.7_A5_T5 es5id: 15.5.4.7_A5_T5
description: Search substring from it`s position in the string description: Search substring from its position in the string
---*/ ---*/
var TEST_STRING = new String(" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"); var TEST_STRING = new String(" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~");

View File

@ -4,7 +4,7 @@
/*--- /*---
info: String.prototype.indexOf works properly info: String.prototype.indexOf works properly
es5id: 15.5.4.7_A5_T6 es5id: 15.5.4.7_A5_T6
description: Search substring from it`s position+1 in the string description: Search substring from its position+1 in the string
---*/ ---*/
var TEST_STRING = new String(" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"); var TEST_STRING = new String(" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~");

View File

@ -4,7 +4,7 @@
/*--- /*---
info: String.prototype.toString() returns this string value info: String.prototype.toString() returns this string value
es5id: 15.5.4.2_A1_T1 es5id: 15.5.4.2_A1_T1
description: Create new String(number) and check it`s method toString() description: Create new String(number) and check its method toString()
---*/ ---*/
var __string__obj = new String(1); var __string__obj = new String(1);

View File

@ -4,7 +4,7 @@
/*--- /*---
info: String.prototype.toString() returns this string value info: String.prototype.toString() returns this string value
es5id: 15.5.4.2_A1_T2 es5id: 15.5.4.2_A1_T2
description: Create new String(boolean) and check it`s method toString() description: Create new String(boolean) and check its method toString()
---*/ ---*/
var __string__obj = new String(true); var __string__obj = new String(true);

View File

@ -4,7 +4,7 @@
/*--- /*---
info: String.prototype.toString() returns this string value info: String.prototype.toString() returns this string value
es5id: 15.5.4.2_A1_T3 es5id: 15.5.4.2_A1_T3
description: Create new String(string) and check it`s method toString() description: Create new String(string) and check its method toString()
---*/ ---*/
var __string__obj = new String("metal"); var __string__obj = new String("metal");

View File

@ -4,7 +4,7 @@
/*--- /*---
info: String.prototype.toString() returns this string value info: String.prototype.toString() returns this string value
es5id: 15.5.4.2_A1_T4 es5id: 15.5.4.2_A1_T4
description: Create new String(function(){}()) and check it`s method toString() description: Create new String(function(){}()) and check its method toString()
---*/ ---*/
var __string__obj = new String(function() {}()); var __string__obj = new String(function() {}());

View File

@ -4,7 +4,7 @@
/*--- /*---
info: String.prototype.valueOf() returns this string value info: String.prototype.valueOf() returns this string value
es5id: 15.5.4.3_A1_T1 es5id: 15.5.4.3_A1_T1
description: Create String object as new String(1) and check it`s valueOf() description: Create String object as new String(1) and check its valueOf()
---*/ ---*/
var __string__obj = new String(1); var __string__obj = new String(1);

View File

@ -4,7 +4,7 @@
/*--- /*---
info: String.prototype.valueOf() returns this string value info: String.prototype.valueOf() returns this string value
es5id: 15.5.4.3_A1_T2 es5id: 15.5.4.3_A1_T2
description: Create String object as new String(true) and check it`s valueOf() description: Create String object as new String(true) and check its valueOf()
---*/ ---*/
var __string__obj = new String(true); var __string__obj = new String(true);

View File

@ -4,7 +4,7 @@
/*--- /*---
info: String.prototype.valueOf() returns this string value info: String.prototype.valueOf() returns this string value
es5id: 15.5.4.3_A1_T3 es5id: 15.5.4.3_A1_T3
description: Create String object as new String(string) and check it`s valueOf() description: Create String object as new String(string) and check its valueOf()
---*/ ---*/
var __string__obj = new String("metal"); var __string__obj = new String("metal");

View File

@ -5,7 +5,7 @@
info: String.prototype.valueOf() returns this string value info: String.prototype.valueOf() returns this string value
es5id: 15.5.4.3_A1_T4 es5id: 15.5.4.3_A1_T4
description: > description: >
Create String object as new String(function(){}()) and check it`s Create String object as new String(function(){}()) and check its
valueOf() valueOf()
---*/ ---*/

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
esid: sec-html-like-comments esid: sec-html-like-comments
description: An HTMLCloseComment must be preceeded by a LineTerminator description: An HTMLCloseComment must be preceded by a LineTerminator
info: | info: |
Comment :: Comment ::
MultiLineComment MultiLineComment

View File

@ -3,7 +3,7 @@
/*--- /*---
es5id: 14.1-11-s es5id: 14.1-11-s
description: comments may preceed 'use strict' directive description: comments may precede 'use strict' directive
flags: [noStrict] flags: [noStrict]
---*/ ---*/

View File

@ -40,7 +40,7 @@ try {
assert.sameValue( assert.sameValue(
Object.getOwnPropertyDescriptor(this, "shouldNotBeDefined1"), Object.getOwnPropertyDescriptor(this, "shouldNotBeDefined1"),
undefined, undefined,
"declaration preceeding" "declaration preceding"
); );
assert.sameValue( assert.sameValue(
Object.getOwnPropertyDescriptor(this, "shouldNotBeDefined2"), Object.getOwnPropertyDescriptor(this, "shouldNotBeDefined2"),

View File

@ -37,7 +37,7 @@ try {
assert.sameValue( assert.sameValue(
Object.getOwnPropertyDescriptor(this, "shouldNotBeDefined1"), Object.getOwnPropertyDescriptor(this, "shouldNotBeDefined1"),
undefined, undefined,
"declaration preceeding" "declaration preceding"
); );
assert.sameValue( assert.sameValue(
Object.getOwnPropertyDescriptor(this, "shouldNotBeDefined2"), Object.getOwnPropertyDescriptor(this, "shouldNotBeDefined2"),

View File

@ -2,7 +2,7 @@
// - src/dstr-assignment/array-rest-elision.case // - src/dstr-assignment/array-rest-elision.case
// - src/dstr-assignment/default/assignment-expr.template // - src/dstr-assignment/default/assignment-expr.template
/*--- /*---
description: ArrayAssignmentPattern may include elisions at any position preceeding a AssignmentRestElement in a AssignmentElementList. (AssignmentExpression) description: ArrayAssignmentPattern may include elisions at any position preceding a AssignmentRestElement in a AssignmentElementList. (AssignmentExpression)
esid: sec-variable-statement-runtime-semantics-evaluation esid: sec-variable-statement-runtime-semantics-evaluation
es6id: 13.3.2.4 es6id: 13.3.2.4
features: [destructuring-binding] features: [destructuring-binding]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-arrow-assignment-expression.template // - src/dynamic-import/syntax/invalid/nested-arrow-assignment-expression.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested arrow syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested arrow syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-arrow.template // - src/dynamic-import/syntax/invalid/nested-arrow.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested arrow syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested arrow syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-async-arrow-fn-await.template // - src/dynamic-import/syntax/invalid/nested-async-arrow-fn-await.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested in async arrow function, awaited) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested in async arrow function, awaited)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-async-arrow-fn-return-await.template // - src/dynamic-import/syntax/invalid/nested-async-arrow-fn-return-await.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested in async arrow function, returned) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested in async arrow function, returned)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-async-function-await.template // - src/dynamic-import/syntax/invalid/nested-async-function-await.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested arrow syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested arrow syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-async-function.template // - src/dynamic-import/syntax/invalid/nested-async-function.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested arrow syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested arrow syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-async-function-return-await.template // - src/dynamic-import/syntax/invalid/nested-async-function-return-await.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested arrow syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested arrow syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-async-generator-await.template // - src/dynamic-import/syntax/invalid/nested-async-generator-await.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested in async generator, awaited) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested in async generator, awaited)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import, async-iteration] features: [dynamic-import, async-iteration]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-block-labeled.template // - src/dynamic-import/syntax/invalid/nested-block-labeled.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested block syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested block syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-block.template // - src/dynamic-import/syntax/invalid/nested-block.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested block syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested block syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-do-while.template // - src/dynamic-import/syntax/invalid/nested-do-while.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested do while syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested do while syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-else-braceless.template // - src/dynamic-import/syntax/invalid/nested-else-braceless.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested else syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested else syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-else.template // - src/dynamic-import/syntax/invalid/nested-else.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested else syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested else syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-function.template // - src/dynamic-import/syntax/invalid/nested-function.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested function syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested function syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-function-return.template // - src/dynamic-import/syntax/invalid/nested-function-return.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested function syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested function syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-if-braceless.template // - src/dynamic-import/syntax/invalid/nested-if-braceless.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested if syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested if syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-if.template // - src/dynamic-import/syntax/invalid/nested-if.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested if syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested if syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-while.template // - src/dynamic-import/syntax/invalid/nested-while.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested while syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested while syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-with-expression.template // - src/dynamic-import/syntax/invalid/nested-with-expression.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested with syntax in the expression position) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested with syntax in the expression position)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated, noStrict] flags: [generated, noStrict]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/nested-with.template // - src/dynamic-import/syntax/invalid/nested-with.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (nested with syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (nested with syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated, noStrict] flags: [generated, noStrict]

View File

@ -2,7 +2,7 @@
// - src/dynamic-import/no-new-call-expression.case // - src/dynamic-import/no-new-call-expression.case
// - src/dynamic-import/syntax/invalid/top-level.template // - src/dynamic-import/syntax/invalid/top-level.template
/*--- /*---
description: ImportCall is a CallExpression, it can't be preceeded by the new keyword (top level syntax) description: ImportCall is a CallExpression, it can't be preceded by the new keyword (top level syntax)
esid: sec-import-call-runtime-semantics-evaluation esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import] features: [dynamic-import]
flags: [generated] flags: [generated]

View File

@ -4,7 +4,7 @@
/*--- /*---
es5id: 7.8.4-1-s es5id: 7.8.4-1-s
description: > description: >
A directive preceeding an 'use strict' directive may not contain A directive preceding an 'use strict' directive may not contain
an OctalEscapeSequence an OctalEscapeSequence
negative: negative:
phase: parse phase: parse

View File

@ -22,6 +22,6 @@ var probeInside;
probeInside = function() { return x; }; probeInside = function() { return x; };
} }
assert.sameValue(probeBefore(), 'inside', 'reference preceeding statement'); assert.sameValue(probeBefore(), 'inside', 'reference preceding statement');
assert.sameValue(probeInside(), 'inside', 'reference within statement'); assert.sameValue(probeInside(), 'inside', 'reference within statement');
assert.sameValue(x, 'inside', 'reference following statement'); assert.sameValue(x, 'inside', 'reference following statement');

View File

@ -2,7 +2,7 @@
// - src/dstr-assignment-for-await/array-rest-elision.case // - src/dstr-assignment-for-await/array-rest-elision.case
// - src/dstr-assignment-for-await/default/async-func-decl.template // - src/dstr-assignment-for-await/default/async-func-decl.template
/*--- /*---
description: ArrayAssignmentPattern may include elisions at any position preceeding a AssignmentRestElement in a AssignmentElementList. (for-await-of statement in an async function declaration) description: ArrayAssignmentPattern may include elisions at any position preceding a AssignmentRestElement in a AssignmentElementList. (for-await-of statement in an async function declaration)
esid: sec-for-in-and-for-of-statements-runtime-semantics-labelledevaluation esid: sec-for-in-and-for-of-statements-runtime-semantics-labelledevaluation
features: [destructuring-binding, async-iteration] features: [destructuring-binding, async-iteration]
flags: [generated, async] flags: [generated, async]

View File

@ -2,7 +2,7 @@
// - src/dstr-assignment-for-await/array-rest-elision.case // - src/dstr-assignment-for-await/array-rest-elision.case
// - src/dstr-assignment-for-await/default/async-gen-decl.template // - src/dstr-assignment-for-await/default/async-gen-decl.template
/*--- /*---
description: ArrayAssignmentPattern may include elisions at any position preceeding a AssignmentRestElement in a AssignmentElementList. (for-await-of statement in an async generator declaration) description: ArrayAssignmentPattern may include elisions at any position preceding a AssignmentRestElement in a AssignmentElementList. (for-await-of statement in an async generator declaration)
esid: sec-for-in-and-for-of-statements-runtime-semantics-labelledevaluation esid: sec-for-in-and-for-of-statements-runtime-semantics-labelledevaluation
features: [destructuring-binding, async-iteration] features: [destructuring-binding, async-iteration]
flags: [generated, async] flags: [generated, async]

View File

@ -41,7 +41,7 @@ for (
var x = 2, __ = probeBody = function() { return x; }; var x = 2, __ = probeBody = function() { return x; };
assert.sameValue(probeBefore(), 2, 'reference preceeding statement'); assert.sameValue(probeBefore(), 2, 'reference preceding statement');
assert.sameValue(probeExpr(), 2, 'reference from AssignmentExpression'); assert.sameValue(probeExpr(), 2, 'reference from AssignmentExpression');
assert.sameValue(probeDecl(), 2, 'reference from ForDeclaration'); assert.sameValue(probeDecl(), 2, 'reference from ForDeclaration');
assert.sameValue(probeBody(), 2, 'reference from statement body'); assert.sameValue(probeBody(), 2, 'reference from statement body');

View File

@ -38,7 +38,7 @@ for (
) )
probeBody = function() { return x; }; probeBody = function() { return x; };
assert.sameValue(probeBefore(), 2, 'reference preceeding statement'); assert.sameValue(probeBefore(), 2, 'reference preceding statement');
assert.sameValue(probeDecl(), 2, 'reference from ForDeclaration'); assert.sameValue(probeDecl(), 2, 'reference from ForDeclaration');
assert.sameValue(probeExpr(), 2, 'reference from AssignmentExpression'); assert.sameValue(probeExpr(), 2, 'reference from AssignmentExpression');
assert.sameValue(probeBody(), 2, 'reference from statement body'); assert.sameValue(probeBody(), 2, 'reference from statement body');

View File

@ -2,7 +2,7 @@
// - src/dstr-assignment/array-rest-elision.case // - src/dstr-assignment/array-rest-elision.case
// - src/dstr-assignment/default/for-of.template // - src/dstr-assignment/default/for-of.template
/*--- /*---
description: ArrayAssignmentPattern may include elisions at any position preceeding a AssignmentRestElement in a AssignmentElementList. (For..of statement) description: ArrayAssignmentPattern may include elisions at any position preceding a AssignmentRestElement in a AssignmentElementList. (For..of statement)
esid: sec-for-in-and-for-of-statements-runtime-semantics-labelledevaluation esid: sec-for-in-and-for-of-statements-runtime-semantics-labelledevaluation
es6id: 13.7.5.11 es6id: 13.7.5.11
features: [destructuring-binding] features: [destructuring-binding]

View File

@ -41,7 +41,7 @@ for (
var x = 2, ___ = probeBody = function() { return x; }; var x = 2, ___ = probeBody = function() { return x; };
assert.sameValue(probeBefore(), 2, 'reference preceeding statement'); assert.sameValue(probeBefore(), 2, 'reference preceding statement');
assert.sameValue(probeExpr(), 2, 'reference from AssignmentExpression'); assert.sameValue(probeExpr(), 2, 'reference from AssignmentExpression');
assert.sameValue(probeDecl(), 2, 'reference from ForDelaration'); assert.sameValue(probeDecl(), 2, 'reference from ForDelaration');
assert.sameValue(probeBody(), 2, 'reference from statement body'); assert.sameValue(probeBody(), 2, 'reference from statement body');

View File

@ -38,7 +38,7 @@ for (
) )
probeBody = function() { return x; }; probeBody = function() { return x; };
assert.sameValue(probeBefore(), 2, 'reference preceeding statement'); assert.sameValue(probeBefore(), 2, 'reference preceding statement');
assert.sameValue(probeDecl(), 2, 'reference from ForDeclaration'); assert.sameValue(probeDecl(), 2, 'reference from ForDeclaration');
assert.sameValue(probeExpr(), 2, 'reference from AssignmentExpression'); assert.sameValue(probeExpr(), 2, 'reference from AssignmentExpression');
assert.sameValue(probeBody(), 2, 'reference from statement body'); assert.sameValue(probeBody(), 2, 'reference from statement body');

View File

@ -49,17 +49,17 @@ var z = 2;
assert.sameValue( assert.sameValue(
probeBefore()[0], probeBefore()[0],
2, 2,
'reference preceeding statement (redeclared in "test" position)' 'reference preceding statement (redeclared in "test" position)'
); );
assert.sameValue( assert.sameValue(
probeBefore()[1], probeBefore()[1],
2, 2,
'reference preceeding statement (redeclared in statement body)' 'reference preceding statement (redeclared in statement body)'
); );
assert.sameValue( assert.sameValue(
probeBefore()[2], probeBefore()[2],
2, 2,
'reference preceeding statement (redeclared in "increment" position)' 'reference preceding statement (redeclared in "increment" position)'
); );
assert.sameValue( assert.sameValue(

View File

@ -35,7 +35,7 @@ for (
var x = 2; var x = 2;
assert.sameValue(probeBefore(), 2, 'reference preceeding statement'); assert.sameValue(probeBefore(), 2, 'reference preceding statement');
assert.sameValue(probeTest(), 2, 'reference from "test" position'); assert.sameValue(probeTest(), 2, 'reference from "test" position');
assert.sameValue(probeBody(), 2, 'reference from statement body'); assert.sameValue(probeBody(), 2, 'reference from statement body');
assert.sameValue(probeIncr(), 2, 'reference from "increment" position'); assert.sameValue(probeIncr(), 2, 'reference from "increment" position');

View File

@ -9,7 +9,7 @@ info: |
es5id: 13_A3_T1 es5id: 13_A3_T1
description: > description: >
Creating a recursive function that calculates factorial, as a Creating a recursive function that calculates factorial, as a
variable. Function call itself by it`s name variable. Function call itself by its name
---*/ ---*/
var __func = function __exp__func(arg){ var __func = function __exp__func(arg){

View File

@ -39,7 +39,7 @@ switch (null) {
assert.sameValue( assert.sameValue(
probeDefaultBeforeCase(), probeDefaultBeforeCase(),
'inside', 'inside',
'from `default` clause preceeding `case` clause' 'from `default` clause preceding `case` clause'
); );
assert.sameValue( assert.sameValue(
probeCase(), 'inside', 'from `case` clause following `default` clause' probeCase(), 'inside', 'from `case` clause following `default` clause'

View File

@ -25,7 +25,7 @@ switch (eval('var x = 1;'), probeExpr = function() { return x; }, null) {
var x = 3; var x = 3;
} }
assert.sameValue(probeBefore(), 3, 'reference preceeding statement'); assert.sameValue(probeBefore(), 3, 'reference preceding statement');
assert.sameValue(probeExpr(), 3, 'reference from first Expression'); assert.sameValue(probeExpr(), 3, 'reference from first Expression');
assert.sameValue(probeSelector(), 3, 'reference from "selector" Expression'); assert.sameValue(probeSelector(), 3, 'reference from "selector" Expression');
assert.sameValue(probeStmt(), 3, 'reference from Statement position'); assert.sameValue(probeStmt(), 3, 'reference from Statement position');

View File

@ -25,7 +25,7 @@ switch (eval('var x = 1;'), probeExpr = function() { return x; }) {
var x = 2; var x = 2;
} }
assert.sameValue(probeBefore(), 2, 'reference preceeding statment'); assert.sameValue(probeBefore(), 2, 'reference preceding statment');
assert.sameValue(probeExpr(), 2, 'reference from Expression position'); assert.sameValue(probeExpr(), 2, 'reference from Expression position');
assert.sameValue(probeStmt(), 2, 'reference from Statement position'); assert.sameValue(probeStmt(), 2, 'reference from Statement position');
assert.sameValue(x, 2, 'reference following statement'); assert.sameValue(x, 2, 'reference following statement');

View File

@ -20,6 +20,6 @@ try {
probeInside = function() { return x; }; probeInside = function() { return x; };
} }
assert.sameValue(probeBefore(), 2, 'reference preceeding statement'); assert.sameValue(probeBefore(), 2, 'reference preceding statement');
assert.sameValue(probeInside(), 2, 'reference within statement'); assert.sameValue(probeInside(), 2, 'reference within statement');
assert.sameValue(x, 2, 'reference following statement'); assert.sameValue(x, 2, 'reference following statement');

View File

@ -19,7 +19,7 @@ try {
probeBlock = function() { return x; }; probeBlock = function() { return x; };
} }
assert.sameValue(probeBefore(), 4, 'reference preceeding statement'); assert.sameValue(probeBefore(), 4, 'reference preceding statement');
assert.sameValue(probeTry(), 4, 'reference from `try` block'); assert.sameValue(probeTry(), 4, 'reference from `try` block');
assert.sameValue(probeParam(), 4, 'reference within CatchParameter'); assert.sameValue(probeParam(), 4, 'reference within CatchParameter');
assert.sameValue(probeBlock(), 4, 'reference from `catch` block'); assert.sameValue(probeBlock(), 4, 'reference from `catch` block');

View File

@ -21,6 +21,6 @@ var probeExpr, probeBody;
with (eval('var x = 1;'), probeExpr = function() { return x; }, objectRecord) with (eval('var x = 1;'), probeExpr = function() { return x; }, objectRecord)
var x = 3, _ = probeBody = function() { return x; }; var x = 3, _ = probeBody = function() { return x; };
assert.sameValue(probeBefore(), 1, 'reference preceeding statement'); assert.sameValue(probeBefore(), 1, 'reference preceding statement');
assert.sameValue(probeExpr(), 1, 'reference from expression'); assert.sameValue(probeExpr(), 1, 'reference from expression');
assert.sameValue(probeBody(), 3, 'reference from statement body'); assert.sameValue(probeBody(), 3, 'reference from statement body');

View File

@ -4,7 +4,7 @@
/*--- /*---
info: The Boolean type have two values, called true and false info: The Boolean type have two values, called true and false
es5id: 8.3_A1_T2 es5id: 8.3_A1_T2
description: Check type of true/false and it`s equality description: Check type of true/false and its equality
---*/ ---*/
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////

View File

@ -4,7 +4,7 @@
/*--- /*---
info: Values of the List type are simply ordered sequences of values info: Values of the List type are simply ordered sequences of values
es5id: 8.8_A2_T3 es5id: 8.8_A2_T3
description: Call function, that concatenate all it`s arguments description: Call function, that concatenate all its arguments
---*/ ---*/
function __mFunc(){var __accum=""; for (var i = 0; i < arguments.length; ++i){__accum += arguments[i]};return __accum;}; function __mFunc(){var __accum=""; for (var i = 0; i < arguments.length; ++i){__accum += arguments[i]};return __accum;};