[wpt-sync] Sync PR 27616 - Add tests for more interesting import assertion module map caching scenarios
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27616 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27616
Details from upstream follow.
b'Daniel Clark <daniec@microsoft.com>' wrote:
Add tests for more interesting import assertion module map caching scenarios
Add tests for some scenarios where the module type being part of the
module map cache key (along with the specifier) affects the outcome.
For example, if an import of a given specifier uses the wrong module
type, a later import of the same specifier should succeed if it uses
the correct type assertion.Add a wpt script for testing some of the stranger cases where repeated
fetches to the same specifier respond with different content types.Also add basic tests for dynamic import() with the assertions
argument to the virtual/import-assertions suite.Bug: 1132413
Change-Id: I3ff4cde5a402d3d8c502fdb2bac133323c028254Reviewed-on: https://chromium-review.googlesource.com/2692491
WPT-Export-Revision: cbcce20467d55897bcca56ee781453cfcd42f1ad
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=48c56e8cfc159e89fb5ee9396d2c2ed5fd9f970d
Assignee | ||
Comment 2•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=92b7501add48d2789898e8a8da83119faae6335d
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests
Status Summary
Firefox
ERROR: 2
Chrome
ERROR: 2
Safari
ERROR: 2
Links
Details
New Tests That Don't Pass
/html/semantics/scripting-1/the-script-element/import-assertions/dynamic-import-with-assertion-argument.html: ERROR (Chrome: ERROR, Safari: ERROR)
/html/semantics/scripting-1/the-script-element/json-module/repeated-imports.html: ERROR (Chrome: ERROR, Safari: ERROR)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4fb7be79db52 [wpt PR 27616] - Add tests for more interesting import assertion module map caching scenarios, a=testonly https://hg.mozilla.org/integration/autoland/rev/247ec3b7e2ff [wpt PR 27616] - Update wpt metadata, a=testonly
Comment 5•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4fb7be79db52
https://hg.mozilla.org/mozilla-central/rev/247ec3b7e2ff
Description
•