[wpt-sync] Sync PR 38378 - Add missing null check in FormData constructor
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox112 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38378 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38378
Details from upstream follow.
Jon Jensen <jonj@netflix.com> wrote:
Add missing null check in FormData constructor
Regression from https://chromium-review.googlesource.com/c/chromium/src/+/4189297
Fix a crash when
formis explicitlyundefinedand asubmitter
argument is given, e.g.new FormData(undefined, null);. Prior to
adding the newsubmitterargument, a crash was not possible, as the
v8 bindings would only ever call theCreate(exception_state)overload
whenformwas explicitlyundefined.Bug: 1412970
Change-Id: I3f98ca2d4648ccbcc5641068d768960e28f059f4
Reviewed-on: https://chromium-review.googlesource.com/4226035
WPT-Export-Revision: ad98fe932bcb4eae1398221a6ddf768212e62b27
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 1 tests and 9 subtests
Status Summary
Firefox
OK : 1
PASS: 9
Chrome
OK : 1
PASS: 3
FAIL: 6
Links
Comment 5•3 years ago
|
||
| bugherder | ||
Description
•