Source code
Revision control
Copy as Markdown
Other Tools
// |reftest| skip module -- import-defer is not supported
// Copyright (C) 2024 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-imports
description: >
`import defer` can be used with namespace imports
info: |
ImportDeclaration :
`import` ImportClause FromClause `;`
`import` `defer` NameSpaceImport FromClause `;`
`import` ModuleSpecifier `;`
NameSpaceImport :
`*` `as` ImportedBinding
flags: [module]
features: [import-defer]
---*/
import defer * as ns from "./dep_FIXTURE.js";
reportCompare(0, 0);