Skip to content

Commit 43442b0

Browse files
legendecasMs2ger
authored andcommitted
fixup! Remove source phase resolution time negative error types
1 parent 78159b8 commit 43442b0

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

test/language/module-code/source-phase-import/import-source-binding-name-2_FIXTURE.js

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
// ImportDeclaration:
1313
// import source ImportedBinding FromClause ;
1414

15-
$DONOTEVALUATE();
16-
1715
import "../resources/ensure-linking-error_FIXTURE.js";
1816

1917
import source source from '<do not resolve>';

test/language/module-code/source-phase-import/import-source-binding-name_FIXTURE.js

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
// ImportDeclaration:
1313
// import source ImportedBinding FromClause ;
1414

15-
$DONOTEVALUATE();
16-
1715
import "../resources/ensure-linking-error_FIXTURE.js";
1816

1917
import source from '<do not resolve>';

test/language/module-code/source-phase-import/import-source-newlines_FIXTURE.js

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
// 16.2.1.7.2 GetModuleSource ( )
1919
// Source Text Module Record provides a GetModuleSource implementation that always returns an abrupt completion indicating that a source phase import is not available.
2020

21-
$DONOTEVALUATE();
22-
2321
import "../resources/ensure-linking-error_FIXTURE.js";
2422

2523
import

test/language/module-code/source-phase-import/import-source.js

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ function assertImportSourceResolutionFailure(specifier) {
1919
throw new Test262Error(`${specifier}: Promise should be rejected`);
2020
},
2121
error => {
22-
print(error)
2322
if (error instanceof SyntaxError) {
2423
throw new Test262Error(`${specifier}: Promise should be rejected with a non-SyntaxError`);
2524
}

0 commit comments

Comments
 (0)