Closed Bug 2095228 Opened 10 days ago Closed 8 days ago

[wpt-sync] Sync PR 65054 - [URL] Fix base prefix copying when resolving relative non-special URLs

Categories

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

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Patrick Meenan <pmeenan@chromium.org> wrote:

[URL] Fix base prefix copying when resolving relative non-special URLs

Ensure DoResolveRelativePath() copies only the base URL prefix
preceding the path when resolving relative URLs against empty-path or
path-only non-special base URLs.

Bug: 579144734
Change-Id: I61f2fac1419fc337d72296e00da5b5264f40014d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8786526
Reviewed-by: Daniel Cheng \<dcheng@chromium.org>
Commit-Queue: Patrick Meenan \<pmeenan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1742308}

Component: web-platform-tests → DOM: Networking
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/17ff13edf7bd https://hg.mozilla.org/integration/autoland/rev/dd728c08ead3 [wpt PR 65054] - [URL] Fix base prefix copying when resolving relative non-special URLs, a=testonly

Test result changes from PR not available.

Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.