Closed Bug 1529188 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 15468 - implement "Packages" via trailing slashes

Categories

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

enhancement

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Hiroshige Hayashizaki <hiroshige@chromium.org> wrote:

implement "Packages" via trailing slashes

Bug: 928149
Change-Id: I484266086bbe244de8b43ceeddacc8552307b7f4
Reviewed-on: https://chromium-review.googlesource.com/1475049
WPT-Export-Revision: 335f20de24fbb0e531c967723f8560cdda425307

PR 15468 applied with additional changes from upstream: 896ca12d8a73e7679ef3a4c7402301a5603b5faa
Ran 1 tests and 20 subtests
OK     : 1
FAIL   : 20

New tests that have failures or other problems:
/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) / overlapping entries with trailing slashes / most-specific wins: 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/f9cae313fbd8
[wpt PR 15468] - [Import Maps] implement "Packages" via trailing slashes, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.