mirror of https://github.com/tc39/test262.git
Fix runtime error tests previously marked as early errors (#881)
Fixes #877 Ref #872
This commit is contained in:
parent
ed2bcdc0a9
commit
763649d268
|
@ -11,7 +11,7 @@ info: |
|
||||||
a. Let requiredModule be ? HostResolveImportedModule(module, required).
|
a. Let requiredModule be ? HostResolveImportedModule(module, required).
|
||||||
b. Perform ? requiredModule.ModuleEvaluation().
|
b. Perform ? requiredModule.ModuleEvaluation().
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: TypeError
|
type: TypeError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -31,7 +31,7 @@ info: |
|
||||||
SameValue(resolution.[[BindingName]],
|
SameValue(resolution.[[BindingName]],
|
||||||
starResolution.[[BindingName]]) is false, return "ambiguous".
|
starResolution.[[BindingName]]) is false, return "ambiguous".
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -31,7 +31,7 @@ info: |
|
||||||
SameValue(resolution.[[BindingName]],
|
SameValue(resolution.[[BindingName]],
|
||||||
starResolution.[[BindingName]]) is false, return "ambiguous".
|
starResolution.[[BindingName]]) is false, return "ambiguous".
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -20,7 +20,7 @@ info: |
|
||||||
i. Assert: this is a circular import request.
|
i. Assert: this is a circular import request.
|
||||||
ii. Return null.
|
ii. Return null.
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -20,7 +20,7 @@ info: |
|
||||||
i. Assert: this is a circular import request.
|
i. Assert: this is a circular import request.
|
||||||
ii. Return null.
|
ii. Return null.
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
||||||
b. Throw a SyntaxError exception.
|
b. Throw a SyntaxError exception.
|
||||||
c. NOTE A default export cannot be provided by an export *.
|
c. NOTE A default export cannot be provided by an export *.
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
||||||
b. Throw a SyntaxError exception.
|
b. Throw a SyntaxError exception.
|
||||||
c. NOTE A default export cannot be provided by an export *.
|
c. NOTE A default export cannot be provided by an export *.
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
||||||
[...]
|
[...]
|
||||||
11. Return starResolution.
|
11. Return starResolution.
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
||||||
[...]
|
[...]
|
||||||
11. Return starResolution.
|
11. Return starResolution.
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -36,7 +36,7 @@ info: |
|
||||||
SameValue(resolution.[[BindingName]],
|
SameValue(resolution.[[BindingName]],
|
||||||
starResolution.[[BindingName]]) is false, return "ambiguous".
|
starResolution.[[BindingName]]) is false, return "ambiguous".
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -36,7 +36,7 @@ info: |
|
||||||
SameValue(resolution.[[BindingName]],
|
SameValue(resolution.[[BindingName]],
|
||||||
starResolution.[[BindingName]]) is false, return "ambiguous".
|
starResolution.[[BindingName]]) is false, return "ambiguous".
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -24,7 +24,7 @@ info: |
|
||||||
b. Throw a SyntaxError exception.
|
b. Throw a SyntaxError exception.
|
||||||
c. NOTE A default export cannot be provided by an export *.
|
c. NOTE A default export cannot be provided by an export *.
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -24,7 +24,7 @@ info: |
|
||||||
b. Throw a SyntaxError exception.
|
b. Throw a SyntaxError exception.
|
||||||
c. NOTE A default export cannot be provided by an export *.
|
c. NOTE A default export cannot be provided by an export *.
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -24,7 +24,7 @@ info: |
|
||||||
[...]
|
[...]
|
||||||
11. Return starResolution.
|
11. Return starResolution.
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -24,7 +24,7 @@ info: |
|
||||||
[...]
|
[...]
|
||||||
11. Return starResolution.
|
11. Return starResolution.
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -24,7 +24,7 @@ info: |
|
||||||
[...]
|
[...]
|
||||||
11. Return starResolution.
|
11. Return starResolution.
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
|
@ -23,7 +23,7 @@ info: |
|
||||||
i. Let resolution be ? module.ResolveExport(name, « », « »).
|
i. Let resolution be ? module.ResolveExport(name, « », « »).
|
||||||
ii. If resolution is null, throw a SyntaxError exception.
|
ii. If resolution is null, throw a SyntaxError exception.
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: runtime
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
Loading…
Reference in New Issue