Skip to content
Snippets Groups Projects
Commit 763649d2 authored by Leo Balter's avatar Leo Balter Committed by GitHub
Browse files

Fix runtime error tests previously marked as early errors (#881)

Fixes #877
Ref #872
parent ed2bcdc0
No related branches found
No related tags found
No related merge requests found
Showing
with 17 additions and 17 deletions
...@@ -11,7 +11,7 @@ info: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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: | ...@@ -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]
---*/ ---*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment