Closed Bug 1489932 Opened 7 years ago Closed 3 months ago

[wpt-sync] Sync PR 12924 - url: Added test cases for IDN-encoded input, valid and invalid.

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12924 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12924 Details from upstream follow. Matt Giuca <mgiuca@chromium.org> wrote: > url: Added test cases for IDN-encoded input, valid and invalid. > > In particular, exposes implementation bugs around URLs with "xn--" prefix but > containing non-ASCII characters (https://crbug.com/804688). > > Tested against: > - https://jsdom.github.io (all tests pass) > - Google Chrome 70. These tests fail: > - `sc://xn--fa-hia.ExAmPlE/` (due to unrelated issue) > - `https://xn--abcd.com/` (expected to throw) > - `sc://xn--abcd.com/` (due to unrelated issue) > - `https://ab--abcdé.com/` (throws, due to https://crbug.com/804688)
Component: web-platform-tests → DOM
Product: Testing → Core
Component: DOM → DOM: Core & HTML
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.