Closed Bug 1780180 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34895 - Add post content type for form submission

Categories

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

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream error])

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

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

jongdeok.kim <jongdeok.kim@navercorp.com> wrote:

Add post content type for form submission

Renderer-initiated form submission with creating new window is not
handled as a browser-initiated in NavigationRequest constructor.
So the content type is not added.

This CL make the content type to be added for form submssion if the content
type is empty in |headers|.

Fixed: 1343390, 1343609
Change-Id: I9e663d3cf16cf7a6ab989c72b728ea31fc75fd3f
Reviewed-on: https://chromium-review.googlesource.com/3754790
WPT-Export-Revision: 55124a255173855f25a641ad252e9f5b596bbbda

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e8fd2fb0abe4
[wpt PR 34895] - Add post content type for form submission, 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.