diff --git a/test/annexB/language/comments/single-line-html-close-first-line-1.js b/test/annexB/language/comments/single-line-html-close-first-line-1.js index 708e42e4ae..f23d7da8b8 100644 --- a/test/annexB/language/comments/single-line-html-close-first-line-1.js +++ b/test/annexB/language/comments/single-line-html-close-first-line-1.js @@ -21,7 +21,7 @@ info: | WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt] negative: phase: runtime - type: Test262Error + type: EvalError ---*/ // 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 // guarantees that test runners will only consider the test "passing" if // 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"); diff --git a/test/annexB/language/comments/single-line-html-close-first-line-2.js b/test/annexB/language/comments/single-line-html-close-first-line-2.js index 0b68aa0f6f..3368a41f42 100644 --- a/test/annexB/language/comments/single-line-html-close-first-line-2.js +++ b/test/annexB/language/comments/single-line-html-close-first-line-2.js @@ -21,7 +21,7 @@ info: | WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt] negative: phase: runtime - type: Test262Error + type: EvalError ---*/ // 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 // guarantees that test runners will only consider the test "passing" if // 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"); diff --git a/test/annexB/language/comments/single-line-html-close-first-line-3.js b/test/annexB/language/comments/single-line-html-close-first-line-3.js index d638fd5080..0e582c110e 100644 --- a/test/annexB/language/comments/single-line-html-close-first-line-3.js +++ b/test/annexB/language/comments/single-line-html-close-first-line-3.js @@ -21,7 +21,7 @@ info: | WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt] negative: phase: runtime - type: Test262Error + type: EvalError ---*/ // 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 // guarantees that test runners will only consider the test "passing" if // 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");