mirror of https://github.com/tc39/test262.git
Reformat miscellaneous negative tests
The expected errors in these tests cannot be asserted with the `assert.throws` helper function for various reasons. Re-format their meta-data according to the latest design in order to more precisely describe test expectations.
This commit is contained in:
parent
203b234fc0
commit
0c29e6de86
|
@ -17,7 +17,9 @@ info: |
|
|||
|
||||
HTMLCloseComment ::
|
||||
WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt]
|
||||
negative: Test262Error
|
||||
negative:
|
||||
phase: runtime
|
||||
type: Test262Error
|
||||
---*/
|
||||
|
||||
var counter = 0;
|
||||
|
|
|
@ -19,7 +19,9 @@ info: |
|
|||
|
||||
HTMLCloseComment ::
|
||||
WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt]
|
||||
negative: Test262Error
|
||||
negative:
|
||||
phase: runtime
|
||||
type: Test262Error
|
||||
---*/
|
||||
|
||||
var foo = [23]
|
||||
|
|
|
@ -17,7 +17,9 @@ info: |
|
|||
|
||||
HTMLCloseComment ::
|
||||
WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt]
|
||||
negative: Test262Error
|
||||
negative:
|
||||
phase: runtime
|
||||
type: Test262Error
|
||||
---*/
|
||||
|
||||
var counter = 0;
|
||||
|
|
|
@ -14,7 +14,9 @@ info: |
|
|||
|
||||
SingleLineHTMLOpenComment ::
|
||||
<!--SingleLineCommentCharsopt
|
||||
negative: Test262Error
|
||||
negative:
|
||||
phase: runtime
|
||||
type: Test262Error
|
||||
---*/
|
||||
|
||||
var counter = 0;
|
||||
|
|
|
@ -24,7 +24,9 @@ info: |
|
|||
2. If Type(V) is not Reference, return V.
|
||||
3. Let base be GetBase(V).
|
||||
4. If IsUnresolvableReference(V) is true, throw a ReferenceError exception.
|
||||
negative: Test262Error
|
||||
negative:
|
||||
phase: runtime
|
||||
type: Test262Error
|
||||
flags: [module]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -10,7 +10,9 @@ info: |
|
|||
module.[[RequestedModules]] do,
|
||||
a. Let requiredModule be ? HostResolveImportedModule(module, required).
|
||||
b. Perform ? requiredModule.ModuleEvaluation().
|
||||
negative: TypeError
|
||||
negative:
|
||||
phase: early
|
||||
type: TypeError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -10,7 +10,9 @@ info: |
|
|||
18. Resume the context that is now on the top of the execution context
|
||||
stack as the running execution context.
|
||||
19. Return Completion(result).
|
||||
negative: Test262Error
|
||||
negative:
|
||||
phase: runtime
|
||||
type: Test262Error
|
||||
flags: [module]
|
||||
---*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue