Closed Bug 1646994 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 24254 - Make form submissions cancel client navigations

Categories

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

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Joey Arhar <jarhar@chromium.org> wrote:

Make form submissions cancel client navigations

When a form submission is scheduled, this patch will make it so any
attempt to navigate the target frame which was already sent to the
browser process will be canceled in order to make the form submission
take precedence over it.

This is the same behavior that would occur if we had synchronous form
submissions - a synchronous form submission would cancel any navigations
already sent to the browser process.

Bug: 1091583
Change-Id: I6c8421922960e3209fcc21a7e4582e0fbf7d4bb4
Reviewed-on: https://chromium-review.googlesource.com/2254443
WPT-Export-Revision: 421cff9a7a5036c4f3dfbe23750ee11ebd7377fc

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.