Closed Bug 2041995 Opened 19 days ago Closed 19 hours ago

[wpt-sync] Sync PR 60129 - script: Use encoding_parse_a_url in Location assign

Categories

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

task

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kelechi Ebiri <ebiritg@gmail.com> wrote:

script: Use encoding_parse_a_url in Location assign

Use "encoding-parse a URL" algorithm in Location
Testing: ./mach test-wpt tests/wpt/tests/html/browsers/history/the-location-interface
Fixes: #<!-- nolink -->43506

Reviewed in servo/servo#44298

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 61 tests and 1 subtests

Status Summary

Firefox

OK : 3[GitHub] 57[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 58[Gecko-android-em-14-x86_64-debug-geckoview] 59[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 7[GitHub] 229[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 230[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 36[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 37[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 3
PASS: 7

Safari

OK : 3
PASS: 7

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/browsers/history/the-location-interface/location_replace_session_history.html [wpt.fyi]: SKIP
  • /html/browsers/history/the-location-interface/no-browsing-context.window.html [wpt.fyi]
    • Setting href to https://example.com/ of a Location object sans browsing context is a no-op: FAIL
    • Setting href to / of a Location object sans browsing context is a no-op: FAIL
    • Setting href to http://test:test/ of a Location object sans browsing context is a no-op: FAIL
    • Setting href to test test of a Location object sans browsing context is a no-op: FAIL
    • Setting href to test:test of a Location object sans browsing context is a no-op: FAIL
    • Setting href to chrome:fail of a Location object sans browsing context is a no-op: FAIL
    • Setting protocol to http of a Location object sans browsing context is a no-op: FAIL
    • Setting protocol to about of a Location object sans browsing context is a no-op: FAIL
    • Setting protocol to test of a Location object sans browsing context is a no-op: FAIL
    • Setting pathname to / of a Location object sans browsing context is a no-op: FAIL
    • Setting pathname to x of a Location object sans browsing context is a no-op: FAIL
    • Setting search to test of a Location object sans browsing context is a no-op: FAIL
    • Getting origin of a Location object sans browsing context should be "null": FAIL
    • Invoking assign with about:blank on a Location object sans browsing context is a no-op: FAIL
    • Invoking assign with https://example.com/ on a Location object sans browsing context is a no-op: FAIL
    • Invoking assign with / on a Location object sans browsing context is a no-op: FAIL
    • Invoking assign with http://test:test/ on a Location object sans browsing context is a no-op: FAIL
    • Invoking assign with test test on a Location object sans browsing context is a no-op: FAIL
    • Invoking assign with test:test on a Location object sans browsing context is a no-op: FAIL
    • Invoking assign with chrome:fail on a Location object sans browsing context is a no-op: FAIL
    • Invoking replace with about:blank on a Location object sans browsing context is a no-op: FAIL
    • Invoking replace with https://example.com/ on a Location object sans browsing context is a no-op: FAIL
    • Invoking replace with / on a Location object sans browsing context is a no-op: FAIL
    • Invoking replace with http://test:test/ on a Location object sans browsing context is a no-op: FAIL
    • Invoking replace with test test on a Location object sans browsing context is a no-op: FAIL
    • Invoking replace with test:test on a Location object sans browsing context is a no-op: FAIL
    • Invoking replace with chrome:fail on a Location object sans browsing context is a no-op: FAIL
    • Invoking reload with about:blank on a Location object sans browsing context is a no-op: FAIL
    • Invoking reload with https://example.com/ on a Location object sans browsing context is a no-op: FAIL
    • Invoking reload with / on a Location object sans browsing context is a no-op: FAIL
    • Invoking reload with http://test:test/ on a Location object sans browsing context is a no-op: FAIL
    • Invoking reload with test test on a Location object sans browsing context is a no-op: FAIL
    • Invoking reload with test:test on a Location object sans browsing context is a no-op: FAIL
    • Invoking reload with chrome:fail on a Location object sans browsing context is a no-op: FAIL
  • /html/browsers/history/the-location-interface/per-global.window.html [wpt.fyi]
    • Navigating from the initial about:blank must not replace window.location: FAIL
  • /html/browsers/history/the-location-interface/reload_document_write_onload.html [wpt.fyi]
    • Reload document with document.written content written in load event: FAIL
  • /html/browsers/history/the-location-interface/scripted_click_location_assign_during_load.html [wpt.fyi]: OK [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
    • location.assign with click during load: FAIL
  • /html/browsers/history/the-location-interface/security_location_0.htm [wpt.fyi]: OK [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/af63f1cc71b2 https://hg.mozilla.org/integration/autoland/rev/d82be4114477 [wpt PR 60129] - script: Use encoding_parse_a_url in Location assign, a=testonly
Status: NEW → RESOLVED
Closed: 19 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
You need to log in before you can comment on or make changes to this bug.