12.8-1.js |
---
es5id: 12.8-1
description: >
The break Statement - a break statement without an identifier may
have a LineTerminator before the semi-colon
--- |
527 |
browser.js |
|
0 |
line-terminators.js |
---
info: |
Since LineTerminator between "break" and Identifier is not allowed,
"break" is evaluated without label
es5id: 12.8_A2
description: >
Checking by using eval, inserting LineTerminator between break and
Identifier
--- |
1246 |
S12.8_A1_T1.js |
---
info: Appearing of break without an IterationStatement leads to syntax error
es5id: 12.8_A1_T1
description: Checking if break statement with no loop fails
negative:
phase: parse
type: SyntaxError
--- |
592 |
S12.8_A1_T2.js |
---
info: Appearing of break without an IterationStatement leads to syntax error
es5id: 12.8_A1_T2
description: Checking if break Identifier with no loop fails
negative:
phase: parse
type: SyntaxError
--- |
616 |
S12.8_A1_T3.js |
---
info: Appearing of break without an IterationStatement leads to syntax error
es5id: 12.8_A1_T3
description: >
Checking if break statement with no loop, placed into a block,
fails
negative:
phase: parse
type: SyntaxError
--- |
640 |
S12.8_A1_T4.js |
---
info: Appearing of break without an IterationStatement leads to syntax error
es5id: 12.8_A1_T4
description: >
Checking if break Identifier with no loop, placed into a block,
fails
negative:
phase: parse
type: SyntaxError
--- |
665 |
S12.8_A3.js |
---
info: When "break" is evaluated, (break, empty, empty) is returned
es5id: 12.8_A3
description: Using "break" without Identifier within labeled loop
--- |
818 |
S12.8_A4_T1.js |
---
info: |
When "break Identifier" is evaluated, (break, empty, Identifier) is
returned
es5id: 12.8_A4_T1
description: Using "break Identifier" within labaeled loop
--- |
892 |
S12.8_A4_T2.js |
---
info: |
When "break Identifier" is evaluated, (break, empty, Identifier) is
returned
es5id: 12.8_A4_T2
description: Using embedded and labeled loops, breaking to nested loop
--- |
1140 |
S12.8_A4_T3.js |
---
info: |
When "break Identifier" is evaluated, (break, empty, Identifier) is
returned
es5id: 12.8_A4_T3
description: Using embedded and labeled loops, breaking to outer loop
--- |
1135 |
S12.8_A5_T1.js |
---
info: |
Identifier must be label in the label set of an enclosing (but not
crossing function boundaries) IterationStatement
es5id: 12.8_A5_T1
description: Checking if breaking another labeled loop fails
negative:
phase: parse
type: SyntaxError
--- |
781 |
S12.8_A5_T2.js |
---
info: |
Identifier must be label in the label set of an enclosing (but not
crossing function boundaries) IterationStatement
es5id: 12.8_A5_T2
description: >
Checking if using function name as an Identifier appears to be
invalid
negative:
phase: parse
type: SyntaxError
--- |
806 |
S12.8_A5_T3.js |
---
info: |
Identifier must be label in the label set of an enclosing (but not
crossing function boundaries) IterationStatement
es5id: 12.8_A5_T3
description: >
Checking if using internal loop label as an Identifier appears to
be invalid
negative:
phase: parse
type: SyntaxError
--- |
813 |
S12.8_A6.js |
---
info: |
Appearing of "break" within a function call that is nested in a
IterationStatement yields SyntaxError
es5id: 12.8_A6
description: >
Checking if using "break Identifier" within a function body
appears to be invalid
negative:
phase: parse
type: SyntaxError
--- |
572 |
S12.8_A7.js |
---
info: |
Appearing of "break" within eval statement that is nested in an
IterationStatement yields SyntaxError
es5id: 12.8_A7
description: Using eval "eval("break LABEL1")"
--- |
888 |
S12.8_A8_T1.js |
---
info: Appearing of "break" within "try/catch" Block yields SyntaxError
es5id: 12.8_A8_T1
description: >
Checking if using "break Identifier" from within catch Block
appears to be invalid
negative:
phase: parse
type: SyntaxError
--- |
498 |
S12.8_A8_T2.js |
---
info: Appearing of "break" within "try/catch" Block yields SyntaxError
es5id: 12.8_A8_T2
description: >
Checking if using "break Identifier" from within catch Block
appears to be invalid
negative:
phase: parse
type: SyntaxError
--- |
491 |
S12.8_A9_T1.js |
---
info: |
Using "break" within "try/catch" statement that is nested in a loop is
allowed
es5id: 12.8_A9_T1
description: Using "continue Identifier" within "catch" statement
--- |
742 |
S12.8_A9_T2.js |
---
info: |
Using "break" within "try/catch" statement that is nested in a loop is
allowed
es5id: 12.8_A9_T2
description: Using "continue Identifier" within "catch" statement
--- |
739 |
shell.js |
|
0 |
static-init-without-label.js |
---
esid: sec-break-statement
description: IterationStatement search does not traverse static initialization block boundaries (no label specified)
info: |
4.2.1 Static Semantics: Early Errors
BreakStatement : break ;
- It is a Syntax Error if this BreakStatement is not nested, directly or
indirectly (but not crossing function or static initialization block
boundaries), within an IterationStatement or a SwitchStatement.
negative:
phase: parse
type: SyntaxError
features: [class-static-block]
--- |
783 |