[wpt-sync] Sync PR 34188 - [WIP] Implement import.meta.resolve()
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 34188 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/34188
Details from upstream follow.
Domenic Denicola <domenic@chromium.org> wrote:
[WIP] Implement import.meta.resolve()
See https://github.com/whatwg/html/pull/5572
Bug: 1296665
Change-Id: I63938700518941d0f65a2a1c7fd13910bd095261
Reviewed-on: https://chromium-review.googlesource.com/3456729
WPT-Export-Revision: a6028ca112127f45ae56c5227fe73c87f6b41232
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 11 tests and 3 subtests
Status Summary
Firefox
OK
: 2
FAIL
: 7
TIMEOUT
: 6
ERROR
: 3
Chrome
OK
: 11
PASS
: 24
FAIL
: 22
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-object.any.serviceworker-module.html [wpt.fyi]:
ERROR
(Chrome:OK
) - /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-object.any.worker-module.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
) - /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-object.any.sharedworker-module.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
) - /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve-importmap.html [wpt.fyi]
- import.meta.resolve() given an import mapped bare specifier:
FAIL
(Chrome:FAIL
) - import.meta.resolve() given an import mapped URL-like specifier:
FAIL
(Chrome:FAIL
) - Testing the ToString() step of import.meta.resolve() via import maps:
FAIL
(Chrome:FAIL
) - import(import.meta.resolve(x)) can be different from import(x):
FAIL
(Chrome:FAIL
)
- import.meta.resolve() given an import mapped bare specifier:
- /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve-multiple-scripts.html [wpt.fyi]
- import.meta.resolve resolves URLs relative to the import.meta.url, not relative to the active script when it is called: another global's inline script:
FAIL
(Chrome:FAIL
) - import.meta.resolve still works if its global has been destroyed (by detaching the iframe):
FAIL
(Chrome:FAIL
) - import.meta.resolve resolves URLs relative to the import.meta.url, not relative to the active script when it is called: another module script:
FAIL
(Chrome:FAIL
)
- import.meta.resolve resolves URLs relative to the import.meta.url, not relative to the active script when it is called: another global's inline script:
- /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve.any.serviceworker-module.html [wpt.fyi]:
ERROR
(Chrome:OK
) - /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve.any.worker-module.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
) - /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve.any.sharedworker-module.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
) - /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-url.any.sharedworker-module.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
) - /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-url.any.serviceworker-module.html [wpt.fyi]:
ERROR
(Chrome:OK
) - /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-url.any.worker-module.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
)
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/588ee2f20f99
https://hg.mozilla.org/mozilla-central/rev/96864f2fc6a8
Description
•