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

Fixes #877
Ref #872
This commit is contained in:
Leo Balter 2017-03-13 11:09:04 -04:00 committed by GitHub
parent ed2bcdc0a9
commit 763649d268
17 changed files with 17 additions and 17 deletions

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/

View File

@ -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]
---*/ ---*/