Closed Bug 2092448 Opened 23 days ago Closed 18 days ago

[wpt-sync] Sync PR 64564 - Remove test that depends on successful navigation to invalid host name.

Categories

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

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Matt Menke <mmenke@chromium.org> wrote:

Remove test that depends on successful navigation to invalid host name.

blink/web_tests/http/tests/security/document-domain-canonicalizes.html
depends on navigating to an HTTP URL with an invalid host name
succeeding, due to injecting a successful DNS resolution for that name,
even though such a DNS resolution should always fail.

This CL removes that test, and reworks some other tests to provide the
test coverage it was meant to provide. This is in preparation for
making navigations to such a URL fail.

This is a partial reland of
https://chromium-review.googlesource.com/c/chromium/src/+/8680296,
which was reverted for reasons unrelated to this part of it.

Bug: 579450551
Change-Id: Id7e0e74844005652198643a5c24e082477613ff1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8690858
Reviewed-by: Tom Sepez \<tsepez@chromium.org>
Reviewed-by: Adam Rice \<ricea@chromium.org>
Commit-Queue: mmenke \<mmenke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1733211}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 5 tests and 5 subtests

Status Summary

Firefox

OK : 1[GitHub] 5[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, 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: 3[GitHub] 27[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, 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 : 1
PASS: 3

Safari

OK : 1
PASS: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/60092e345a04 https://hg.mozilla.org/integration/autoland/rev/926da536e802 [wpt PR 64564] - Remove test that depends on successful navigation to invalid host name., a=testonly
Status: NEW → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.