mirror of
https://github.com/tc39/test262.git
synced 2025-07-25 23:14:47 +02:00
Fix single-line-html-close-first-line-*
failing with Test262Error is not defined
(#4333)
Fix `single-line-html-close-first-line-*` failing with `Test262Error is not defined` closes #4020
This commit is contained in:
parent
d124e1486c
commit
42d83277b7
@ -21,7 +21,7 @@ info: |
|
|||||||
WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt]
|
WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt]
|
||||||
negative:
|
negative:
|
||||||
phase: runtime
|
phase: runtime
|
||||||
type: Test262Error
|
type: EvalError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// Because this test concerns the interpretation of non-executable character
|
// Because this test concerns the interpretation of non-executable character
|
||||||
@ -31,4 +31,4 @@ negative:
|
|||||||
// Express the intended behavior by intentionally throwing an error; this
|
// Express the intended behavior by intentionally throwing an error; this
|
||||||
// guarantees that test runners will only consider the test "passing" if
|
// guarantees that test runners will only consider the test "passing" if
|
||||||
// executable sequences are correctly interpreted as such.
|
// executable sequences are correctly interpreted as such.
|
||||||
throw new Test262Error("This is not in a comment");
|
throw new EvalError("This is not in a comment");
|
||||||
|
@ -21,7 +21,7 @@ info: |
|
|||||||
WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt]
|
WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt]
|
||||||
negative:
|
negative:
|
||||||
phase: runtime
|
phase: runtime
|
||||||
type: Test262Error
|
type: EvalError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// Because this test concerns the interpretation of non-executable character
|
// Because this test concerns the interpretation of non-executable character
|
||||||
@ -31,4 +31,4 @@ negative:
|
|||||||
// Express the intended behavior by intentionally throwing an error; this
|
// Express the intended behavior by intentionally throwing an error; this
|
||||||
// guarantees that test runners will only consider the test "passing" if
|
// guarantees that test runners will only consider the test "passing" if
|
||||||
// executable sequences are correctly interpreted as such.
|
// executable sequences are correctly interpreted as such.
|
||||||
throw new Test262Error("This is not in a comment");
|
throw new EvalError("This is not in a comment");
|
||||||
|
@ -21,7 +21,7 @@ info: |
|
|||||||
WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt]
|
WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt]
|
||||||
negative:
|
negative:
|
||||||
phase: runtime
|
phase: runtime
|
||||||
type: Test262Error
|
type: EvalError
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// Because this test concerns the interpretation of non-executable character
|
// Because this test concerns the interpretation of non-executable character
|
||||||
@ -31,4 +31,4 @@ negative:
|
|||||||
// Express the intended behavior by intentionally throwing an error; this
|
// Express the intended behavior by intentionally throwing an error; this
|
||||||
// guarantees that test runners will only consider the test "passing" if
|
// guarantees that test runners will only consider the test "passing" if
|
||||||
// executable sequences are correctly interpreted as such.
|
// executable sequences are correctly interpreted as such.
|
||||||
throw new Test262Error("This is not in a comment");
|
throw new EvalError("This is not in a comment");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user