Closed Bug 1527643 Opened 11 months ago Closed 10 months ago

[wpt-sync] Sync PR 15197 - Add tentative WPT tests for Built-in Module Infra and Import Maps

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 15197 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/15197
Details from upstream follow.

Hiroshige Hayashizaki <hiroshige@chromium.org> wrote:

Add tentative WPT tests for Built-in Module Infra and Import Maps

Bug: 848607, 927477, 928435
Change-Id: Id0573736a762c26df28f32da0716d94a566cfce3
Reviewed-on: https://chromium-review.googlesource.com/c/1449072
Commit-Queue: Hiroshige Hayashizaki \<hiroshige@chromium.org>
Reviewed-by: Kouhei Ueno \<kouhei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631546}

Ran 12 tests and 277 subtests
OK     : 9
PASS   : 140
FAIL   : 134
TIMEOUT: 3
NOTRUN : 3

New tests that have failures or other problems:
/import-maps/acquire-import-maps-flag/dynamic-import/success.tentative.html: TIMEOUT
    After dynamic imports, import maps should fire error events: NOTRUN
/import-maps/acquire-import-maps-flag/script-tag/success.tentative.html: TIMEOUT
    After <script type="module"> import maps should fire error events: NOTRUN
/import-maps/acquire-import-maps-flag/worker-request/success.tentative.html: TIMEOUT
    After module worker creation import maps are not effective: FAIL
    After module worker creation, import maps should fire error events: NOTRUN
/import-maps/bare.sub.tentative.html
    bare/bare: dynamic import (from module): FAIL
    bare/bare: dynamic import (from text/javascript): FAIL
    bare/bare: static import: FAIL
    bare/blank: dynamic import (from module): FAIL
    bare/blank: dynamic import (from text/javascript): FAIL
    bare/blank: static import: FAIL
    bare/cross-origin-bare: dynamic import (from module): FAIL
    bare/cross-origin-bare: dynamic import (from text/javascript): FAIL
    bare/cross-origin-bare: static import: FAIL
    bare/std-blank: dynamic import (from module): FAIL
    bare/std-blank: dynamic import (from text/javascript): FAIL
    bare/std-blank: static import: FAIL
    bare/to-data: dynamic import (from module): FAIL
    bare/to-data: dynamic import (from text/javascript): FAIL
    bare/to-data: static import: FAIL
/import-maps/builtin.tentative.html
    @std/blank: dynamic import (from module): FAIL
    @std/blank: dynamic import (from text/javascript): FAIL
    @std/blank: static import: FAIL
    @std/none: static import: FAIL
    std:blank: <script src type=module>: FAIL
    std:blank: dynamic import (from module): FAIL
    std:blank: dynamic import (from text/javascript): FAIL
    std:blank: static import: FAIL
/import-maps/data.sub.tentative.html
    data:text/javascript,log.push('data:blank'): dynamic import (from module): FAIL
    data:text/javascript,log.push('data:blank'): dynamic import (from text/javascript): FAIL
    data:text/javascript,log.push('data:blank'): static import: FAIL
    data:text/javascript,log.push('data:cross-origin-foo'): dynamic import (from module): FAIL
    data:text/javascript,log.push('data:cross-origin-foo'): dynamic import (from text/javascript): FAIL
    data:text/javascript,log.push('data:cross-origin-foo'): static import: FAIL
    data:text/javascript,log.push('data:foo'): dynamic import (from module): FAIL
    data:text/javascript,log.push('data:foo'): dynamic import (from text/javascript): FAIL
    data:text/javascript,log.push('data:foo'): static import: FAIL
    data:text/javascript,log.push('data:none'): dynamic import (from module): FAIL
    data:text/javascript,log.push('data:none'): dynamic import (from text/javascript): FAIL
    data:text/javascript,log.push('data:none'): static import: FAIL
    data:text/javascript,log.push('data:std-blank'): dynamic import (from module): FAIL
    data:text/javascript,log.push('data:std-blank'): dynamic import (from text/javascript): FAIL
    data:text/javascript,log.push('data:std-blank'): static import: FAIL
    data:text/javascript,log.push('data:std-none'): dynamic import (from module): FAIL
    data:text/javascript,log.push('data:std-none'): dynamic import (from text/javascript): FAIL
    data:text/javascript,log.push('data:std-none'): static import: FAIL
    data:text/javascript,log.push('data:to-bare'): dynamic import (from module): FAIL
    data:text/javascript,log.push('data:to-bare'): dynamic import (from text/javascript): FAIL
    data:text/javascript,log.push('data:to-bare'): static import: FAIL
    data:text/javascript,log.push('data:to-data'): dynamic import (from module): FAIL
    data:text/javascript,log.push('data:to-data'): dynamic import (from text/javascript): FAIL
    data:text/javascript,log.push('data:to-data'): static import: FAIL
/import-maps/fallback-disallowed.sub.tentative.html
    ./resources/log.js?pipe=sub&name=fallback-from-data-1: dynamic import (from module): FAIL
    ./resources/log.js?pipe=sub&name=fallback-from-data-1: dynamic import (from text/javascript): FAIL
    ./resources/log.js?pipe=sub&name=fallback-from-data-1: static import: FAIL
    ./resources/log.js?pipe=sub&name=fallback-from-data-2: dynamic import (from module): FAIL
    ./resources/log.js?pipe=sub&name=fallback-from-data-2: dynamic import (from text/javascript): FAIL
    ./resources/log.js?pipe=sub&name=fallback-from-data-2: static import: FAIL
    ./resources/log.js?pipe=sub&name=fallback-from-http: dynamic import (from module): FAIL
    ./resources/log.js?pipe=sub&name=fallback-from-http: dynamic import (from text/javascript): FAIL
    ./resources/log.js?pipe=sub&name=fallback-from-http: static import: FAIL
    ./resources/log.js?pipe=sub&name=fallback-to-different-origin-1: dynamic import (from module): FAIL
    ./resources/log.js?pipe=sub&name=fallback-to-different-origin-1: dynamic import (from text/javascript): FAIL
    ./resources/log.js?pipe=sub&name=fallback-to-different-origin-1: static import: FAIL
    ./resources/log.js?pipe=sub&name=fallback-to-different-origin-2: dynamic import (from module): FAIL
    ./resources/log.js?pipe=sub&name=fallback-to-different-origin-2: dynamic import (from text/javascript): FAIL
    ./resources/log.js?pipe=sub&name=fallback-to-different-origin-2: static import: FAIL
    ./resources/log.js?pipe=sub&name=fallback-to-different-url-1: dynamic import (from module): FAIL
    ./resources/log.js?pipe=sub&name=fallback-to-different-url-1: dynamic import (from text/javascript): FAIL
    ./resources/log.js?pipe=sub&name=fallback-to-different-url-1: static import: FAIL
    ./resources/log.js?pipe=sub&name=fallback-to-different-url-2: dynamic import (from module): FAIL
    ./resources/log.js?pipe=sub&name=fallback-to-different-url-2: dynamic import (from text/javascript): FAIL
    ./resources/log.js?pipe=sub&name=fallback-to-different-url-2: static import: FAIL
    ./resources/log.js?pipe=sub&name=http-to-builtin: dynamic import (from module): FAIL
    ./resources/log.js?pipe=sub&name=http-to-builtin: dynamic import (from text/javascript): FAIL
    ./resources/log.js?pipe=sub&name=http-to-builtin: static import: FAIL
    ./resources/log.js?pipe=sub&name=more-than-two-values-1: dynamic import (from module): FAIL
    ./resources/log.js?pipe=sub&name=more-than-two-values-1: dynamic import (from text/javascript): FAIL
    ./resources/log.js?pipe=sub&name=more-than-two-values-1: static import: FAIL
    ./resources/log.js?pipe=sub&name=more-than-two-values-2: dynamic import (from module): FAIL
    ./resources/log.js?pipe=sub&name=more-than-two-values-2: dynamic import (from text/javascript): FAIL
    ./resources/log.js?pipe=sub&name=more-than-two-values-2: static import: FAIL
/import-maps/fallback.sub.tentative.html
    ./resources/log.js?pipe=sub&name=blank: dynamic import (from module): FAIL
    ./resources/log.js?pipe=sub&name=blank: dynamic import (from text/javascript): FAIL
    ./resources/log.js?pipe=sub&name=blank: static import: FAIL
    ./resources/log.js?pipe=sub&name=std-blank: dynamic import (from module): FAIL
    ./resources/log.js?pipe=sub&name=std-blank: dynamic import (from text/javascript): FAIL
    ./resources/log.js?pipe=sub&name=std-blank: static import: FAIL
    https://www1.web-platform.test:8443/import-maps/resources/log.js?pipe=sub&name=cross-origin-blank: dynamic import (from module): FAIL
    https://www1.web-platform.test:8443/import-maps/resources/log.js?pipe=sub&name=cross-origin-blank: dynamic import (from text/javascript): FAIL
    https://www1.web-platform.test:8443/import-maps/resources/log.js?pipe=sub&name=cross-origin-blank: static import: FAIL
    https://www1.web-platform.test:8443/import-maps/resources/log.js?pipe=sub&name=std-cross-origin-blank: dynamic import (from module): FAIL
    https://www1.web-platform.test:8443/import-maps/resources/log.js?pipe=sub&name=std-cross-origin-blank: dynamic import (from text/javascript): FAIL
    https://www1.web-platform.test:8443/import-maps/resources/log.js?pipe=sub&name=std-cross-origin-blank: static import: FAIL
/import-maps/http.sub.tentative.html
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=blank: dynamic import (from module): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=blank: dynamic import (from text/javascript): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=blank: static import: FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=cross-origin-foo: dynamic import (from module): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=cross-origin-foo: dynamic import (from text/javascript): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=cross-origin-foo: static import: FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=foo: dynamic import (from module): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=foo: dynamic import (from text/javascript): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=foo: static import: FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=none: dynamic import (from module): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=none: dynamic import (from text/javascript): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=none: static import: FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=std-blank: dynamic import (from module): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=std-blank: dynamic import (from text/javascript): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=std-blank: static import: FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=std-none: dynamic import (from module): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=std-none: dynamic import (from text/javascript): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=std-none: static import: FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=to-bare: dynamic import (from module): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=to-bare: dynamic import (from text/javascript): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=to-bare: static import: FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=to-data: dynamic import (from module): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=to-data: dynamic import (from text/javascript): FAIL
    http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=to-data: static import: FAIL
/import-maps/module-map-key.tentative.html
    Module map's key is the URL after import map resolution: FAIL
/import-maps/resolving.tentative.html
    Mapped using the "imports" key only (no scopes) / Package-like scenarios / should still fail for package modules that are not declared: FAIL
    Mapped using the "imports" key only (no scopes) / Package-like scenarios / should work for package main modules: FAIL
    Mapped using the "imports" key only (no scopes) / Package-like scenarios / should work for package names that end in a slash by just passing through: FAIL
    Mapped using the "imports" key only (no scopes) / Package-like scenarios / should work for package submodules: FAIL
    Mapped using the "imports" key only (no scopes) / Tricky specifiers / should fail for attempting to get a submodule of something not declared with a trailing slash: FAIL
    Mapped using the "imports" key only (no scopes) / Tricky specifiers / should work for explicitly-mapped specifiers that happen to have a slash: FAIL
    Mapped using the "imports" key only (no scopes) / Tricky specifiers / should work when the specifier has punctuation: FAIL
    Mapped using the "imports" key only (no scopes) / URL-like specifiers / should fail for URLs that remap to empty arrays: FAIL
    Mapped using the "imports" key only (no scopes) / URL-like specifiers / should remap URLs that are just composed from / and .: FAIL
    Mapped using the "imports" key only (no scopes) / URL-like specifiers / should remap to built-in modules: FAIL
    Mapped using the "imports" key only (no scopes) / URL-like specifiers / should remap to other URLs: FAIL
    Mapped using the "imports" key only (no scopes) / URL-like specifiers / should use the last entry's address when URL-like specifiers parse to the same absolute URL: FAIL
    Mapped using the "imports" key only (no scopes) / should fail when the mapping is to an empty array: FAIL
    Unmapped / should fail for absolute non-fetch-scheme URLs: FAIL
    Unmapped / should fail for strings not parseable as absolute URLs and not starting with ./ ../ or /: FAIL
    Unmapped / should parse absolute fetch-scheme URLs: FAIL
    Unmapped / should resolve ../ specifiers as URLs: FAIL
    Unmapped / should resolve ./ specifiers as URLs: FAIL
    Unmapped / should resolve / specifiers as URLs: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/793206aecd5e
[wpt PR 15197] - Add tentative WPT tests for Built-in Module Infra and Import Maps, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/b781b88b53d1
[wpt PR 15197] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c20dbdb5add0
[wpt PR 15197] - Add tentative WPT tests for Built-in Module Infra and Import Maps, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/5ed7c1d98107
[wpt PR 15197] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.