Closed Bug 1639748 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 23722 - Make form submissions cancel pending jsurl navigations

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Joey Arhar <jarhar@chromium.org> wrote:

Make form submissions cancel pending jsurl navigations

After http://crrev.com/c/1922699 iframes which are assigned a javascript
url via the iframe.src property and then immediately targeted by a form
submission would load both the javascript url and then the form
submission. Before, only the form submission would occur.

This patch fixes the regression by cancelling the pending javascript url
navigation when a form submission is scheduled.

Bug: 1084874
Change-Id: I93623d2fc5f5a1bd207a9f0956004be920b2e270
Reviewed-on: https://chromium-review.googlesource.com/2211099
WPT-Export-Revision: d4d20fb85ef4d6911a1ed12f8b862bb2f4b88569

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

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c9d12a96f082 [wpt PR 23722] - Make form submissions cancel pending jsurl navigations, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.