Closed
Bug 1508576
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 14140 - FormData: Fix a crash by passing null or non-HTMLFormElement instances to a FormData constructor
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 14140 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/14140 Details from upstream follow. Kent Tamura <tkent@chromium.org> wrote: > FormData: Fix a crash by passing null or non-HTMLFormElement instances to a FormData constructor > > Add back nullptr check to FormData::Create(HTMLFormElement*). > > This CL fixes a regression caused by crrev.com/609210. > According to standards, |new FormData(nullptr)| and |new > FormData("string")| should throw TypeErrors. However this CL applies the > behavior before crrev.com/609210. > > Bug: 906649 > Change-Id: I78aa53559592ef0e14cc941175dc9f1b44342bb0 > > Reviewed-on: https://chromium-review.googlesource.com/1343414 > WPT-Export-Revision: 6f4bb9a383d5bc53c9b5ccc03eafb4172c762f44
Assignee | ||
Updated•6 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
Assignee | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=fe71ad47556bc2bffe8e2ba83c6c15d2f4d569ad
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=9be7e386d1490a330f78a16c0b85437a095ce698
Assignee | ||
Comment 3•6 years ago
|
||
Ran 1 tests and 5 subtests OK : 1 PASS : 5
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/02868188c96f [wpt PR 14140] - FormData: Fix a crash by passing null or non-HTMLFormElement instances to a FormData constructor, a=testonly
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/02868188c96f
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•