Closed Bug 1825531 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 39283 - Resolve bare fragments with a colon against non-hierarchical URLs

Categories

(Core :: DOM: Networking, task, P4)

task

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fredrik Söderquist <fs@opera.com> wrote:

Resolve bare fragments with a colon against non-hierarchical URLs

A bare fragment with a colon should be handled the same as one without.
Since a scheme cannot start with - or otherwise contain - a '#' the
IsValidScheme() check will fail. Handle a leading '#' in that case in
the same way as it is handled for an empty scheme (bare fragment without
colon).

Bug: 1220361
Change-Id: I92da53953244ec7e85dba097bc166f84b0b339ad

Reviewed-on: https://chromium-review.googlesource.com/4379879
WPT-Export-Revision: 8520f308c37fa5b68af5ef7504d65bbef757f982

Component: web-platform-tests → DOM: Networking
Product: Testing → Core
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/baf3b65220a8 [wpt PR 39283] - Resolve bare fragments with a colon against non-hierarchical URLs, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.