Closed Bug 1789546 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 35807 - Navigation-rewrite: Add unparseable URL redirect traversal test

Categories

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

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Dominic Farolino <dom@chromium.org> wrote:

Navigation-rewrite: Add unparseable URL redirect traversal test

This CL adds a test for row 4 in our navigation and session history
rewrite test spreadsheet 1. This test ensures that upon redirects,
the right URL is saved in the session history entry.

Specifically, if /A navigates to /B, which redirects to an unparseable
URL (which results in an error Document), we want to ensure that the
new session history entry's URL is /B, not /A or the unparseable URL
redirect.

R=domenic@chromium.org

Bug: N/A
Change-Id: I07d2a5d0e193cc62a7115bae2466a96fbc817fc8

Reviewed-on: https://chromium-review.googlesource.com/3876610
WPT-Export-Revision: 710a6fabb9699ac6613883b9f08c5bc0bd957171

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

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

TIMEOUT: 2

Chrome

OK : 1
FAIL : 1

Safari

OK : 1
FAIL : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e87c8af533f8 [wpt PR 35807] - Navigation-rewrite: Add unparseable URL redirect traversal test, a=testonly https://hg.mozilla.org/integration/autoland/rev/45c62b195807 [wpt PR 35807] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.