browser.js |
|
0 |
cptn-abrupt-empty.js |
---
es6id: 13.7.2.6
description: >
Completion value when iteration completes due to an empty abrupt completion
info: |
IterationStatement : do Statement while ( Expression ) ;
1. Let V = undefined.
2. Repeat
a. Let stmt be the result of evaluating Statement.
b. If LoopContinues(stmt, labelSet) is false, return
Completion(UpdateEmpty(stmt, V)).
--- |
829 |
cptn-normal.js |
---
es6id: 13.7.2.6
description: >
Completion value when iteration completes due to expression value
info: |
IterationStatement : do Statement while ( Expression ) ;
1. Let V = undefined.
2. Repeat
a. Let stmt be the result of evaluating Statement.
b. If LoopContinues(stmt, labelSet) is false, return
Completion(UpdateEmpty(stmt, V)).
c. If stmt.[[value]] is not empty, let V = stmt.[[value]].
d. Let exprRef be the result of evaluating Expression.
e. Let exprValue be GetValue(exprRef).
f. ReturnIfAbrupt(exprValue).
g. If ToBoolean(exprValue) is false, return NormalCompletion(V).
--- |
948 |
decl-async-fun.js |
---
esid: sec-do-while-statement
description: >
AsyncFunctionDeclaration is not allowed in statement position
info: |
ExpressionStatement[Yield, Await] :
[lookahead ∉ { {, function, async [no LineTerminator here] function, class, let [ }]
Expression[+In, ?Yield, ?Await] ;
negative:
phase: parse
type: SyntaxError
features: [async-functions]
--- |
589 |
decl-async-gen.js |
---
esid: sec-do-while-statement
description: >
AsyncGeneratorDeclaration is not allowed in statement position
info: |
ExpressionStatement[Yield, Await] :
[lookahead ∉ { {, function, async [no LineTerminator here] function, class, let [ }]
Expression[+In, ?Yield, ?Await] ;
negative:
phase: parse
type: SyntaxError
features: [async-iteration]
--- |
591 |
decl-cls.js |
---
description: Class declaration not allowed in statement position
esid: sec-do-while-statement
es6id: 13.7.2
negative:
phase: parse
type: SyntaxError
--- |
382 |
decl-const.js |
---
description: Lexical declaration (const) not allowed in statement position
esid: sec-do-while-statement
es6id: 13.7.2
negative:
phase: parse
type: SyntaxError
--- |
397 |
decl-fun.js |
---
description: Function declaration not allowed in statement position
esid: sec-do-while-statement
es6id: 13.7.2
negative:
phase: parse
type: SyntaxError
--- |
390 |
decl-gen.js |
---
description: Generator declaration not allowed in statement position
esid: sec-do-while-statement
es6id: 13.7.2
negative:
phase: parse
type: SyntaxError
features: [generators]
--- |
415 |
decl-let.js |
---
description: Lexical declaration (const) not allowed in statement position
esid: sec-do-while-statement
es6id: 13.7.2
negative:
phase: parse
type: SyntaxError
--- |
388 |
labelled-fn-stmt.js |
---
description: It is a Syntax Error if IsLabelledFunction(Statement) is true.
negative:
phase: parse
type: SyntaxError
esid: sec-semantics-static-semantics-early-errors
es6id: 13.7.1.1
info: |
Although Annex B describes an extension which permits labelled function
declarations outside of strict mode, this early error is applied regardless
of the language mode.
--- |
627 |
let-array-with-newline.js |
---
esid: sec-do-while-statement
description: >
ExpressionStatement has a lookahead restriction for `let [`.
info: |
ExpressionStatement[Yield, Await] :
[lookahead ∉ { {, function, async [no LineTerminator here] function, class, let [ }]
Expression[+In, ?Yield, ?Await] ;
negative:
phase: parse
type: SyntaxError
flags: [noStrict]
--- |
569 |
S12.6.1_A1.js |
---
info: |
When the production "do Statement while ( Expression )" is evaluated,
Statement is evaluated first
es5id: 12.6.1_A1
description: Evaluating various Expressions
--- |
1424 |
S12.6.1_A2.js |
---
info: |
While evaluating "do Statement while ( Expression )", Statement is
evaluated first and only after it is done Expression is checked
es5id: 12.6.1_A2
description: Evaluating Statement with error Expression
--- |
922 |
S12.6.1_A3.js |
---
info: |
When the production "do Statement while ( Expression )" is evaluated,
then (normal, V, empty) is returned
es5id: 12.6.1_A3
description: Using eval "eval("do __in__do=1; while (false)")"
--- |
1017 |
S12.6.1_A4_T1.js |
---
info: |
"break" within a "do-while" Statement is allowed and performed as
described in 12.8
es5id: 12.6.1_A4_T1
description: Using "break" within a "do-while" loop
--- |
1244 |
S12.6.1_A4_T2.js |
---
info: |
"break" within a "do-while" Statement is allowed and performed as
described in 12.8
es5id: 12.6.1_A4_T2
description: "\"break\" and VariableDeclaration within a \"do-while\" statement"
--- |
1306 |
S12.6.1_A4_T3.js |
---
info: |
"break" within a "do-while" Statement is allowed and performed as
described in 12.8
es5id: 12.6.1_A4_T3
description: "\"break\" and VariableDeclaration within a \"do-while\" statement"
--- |
1302 |
S12.6.1_A4_T4.js |
---
info: |
"break" within a "do-while" Statement is allowed and performed as
described in 12.8
es5id: 12.6.1_A4_T4
description: "\"break\" and VariableDeclaration within a \"do-while\" statement"
--- |
1308 |
S12.6.1_A4_T5.js |
---
info: |
"break" within a "do-while" Statement is allowed and performed as
described in 12.8
es5id: 12.6.1_A4_T5
description: Using labeled "break" in order to continue a loop
--- |
613 |
S12.6.1_A5.js |
---
info: After "do-while" is broken, (normal, V, empty) is returned
es5id: 12.6.1_A5
description: Using eval
--- |
1448 |
S12.6.1_A6_T1.js |
---
info: Expression in "do-while" IterationStatement is bracketed with braces
es5id: 12.6.1_A6_T1
description: Checking if execution of "do{} while 1" fails
negative:
phase: parse
type: SyntaxError
--- |
585 |
S12.6.1_A6_T2.js |
---
info: Expression in "do-while" IterationStatement is bracketed with braces
es5id: 12.6.1_A6_T2
description: Checking if execution of "do{} while 0" fails
negative:
phase: parse
type: SyntaxError
--- |
585 |
S12.6.1_A6_T3.js |
---
info: Expression in "do-while" IterationStatement is bracketed with braces
es5id: 12.6.1_A6_T3
description: Checking if execution of "do{}while true" fails
negative:
phase: parse
type: SyntaxError
--- |
590 |
S12.6.1_A6_T4.js |
---
info: Expression in "do-while" IterationStatement is bracketed with braces
es5id: 12.6.1_A6_T4
description: Checking if execution of "do{}while false" fails
negative:
phase: parse
type: SyntaxError
--- |
592 |
S12.6.1_A6_T5.js |
---
info: Expression in "do-while" IterationStatement is bracketed with braces
es5id: 12.6.1_A6_T5
description: Checking if execution of "do{}while ''" fails
negative:
phase: parse
type: SyntaxError
--- |
586 |
S12.6.1_A6_T6.js |
---
info: Expression in "do-while" IterationStatement is bracketed with braces
es5id: 12.6.1_A6_T6
description: Checking if execution of "do{}while 'hood'" fails
negative:
phase: parse
type: SyntaxError
--- |
594 |
S12.6.1_A7.js |
---
info: |
The "do-while" Statement is evaluted according to 12.6.1 and returns
(normal, V, empty)
es5id: 12.6.1_A7
description: Using eval
--- |
1000 |
S12.6.1_A8.js |
---
info: "\"continue\" statement within a \"do-while\" Statement is allowed"
es5id: 12.6.1_A8
description: Using eval
--- |
1026 |
S12.6.1_A9.js |
---
info: "\"do-while\" Statement is evaluated without syntax checks"
es5id: 12.6.1_A9
description: Throwing system exception whithin a "do-while" loop
--- |
765 |
S12.6.1_A10.js |
---
info: |
FunctionExpression within a "do-while" statement is allowed, but no
function with the given name will appear in the global context
es5id: 12.6.1_A10
description: Also this a test on FunctionExpression
--- |
908 |
S12.6.1_A11.js |
---
info: Block "{}" in a "do-while" Expression is evaluated to true
es5id: 12.6.1_A11
description: Checking if execution of "do {} while({})" passes
--- |
649 |
S12.6.1_A12.js |
---
info: Any statement within "do-while" construction must be a compound
es5id: 12.6.1_A12
description: Checking if execution of "do var x=1; var y =2; while (0)" fails
negative:
phase: parse
type: SyntaxError
--- |
611 |
S12.6.1_A14_T1.js |
---
info: FunctionExpression within a "do-while" Expression is allowed
es5id: 12.6.1_A14_T1
description: >
Using FunctionExpression "function __func(){return 0;}" as an
Expression
--- |
885 |
S12.6.1_A14_T2.js |
---
info: FunctionExpression within a "do-while" Expression is allowed
es5id: 12.6.1_A14_T2
description: >
Using FunctionExpression "function __func(){return 0;}()" as an
Expression
--- |
890 |
S12.6.1_A15.js |
---
info: Block within a "do-while" Expression is not allowed
es5id: 12.6.1_A15
description: Using "{0}" Block as an Expression
negative:
phase: parse
type: SyntaxError
--- |
558 |
shell.js |
---
description: |
This defines the number of consecutive recursive function calls that must be
made in order to prove that stack frames are properly destroyed according to
ES2015 tail call optimization semantics.
defines: [$MAX_ITERATIONS]
--- |
481 |
tco-body-strict.js |
---
description: Statement within statement is a candidate for tail-call optimization.
esid: sec-static-semantics-hascallintailposition
flags: [onlyStrict]
features: [tail-call-optimization]
includes: [tcoHelper.js]
--- |
647 |