commit | b00b1c12b746ef40452273b9a21adef80696b4d3 | [log] [tgz] |
---|---|---|
author | Kent Tamura <tkent@chromium.org> | Thu Jan 17 05:29:54 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 17 05:29:54 2019 |
tree | 36bc590eb01175f744a6c1fa6dafe522158b76a4 | |
parent | 47e1c4bb479ec3aa5be900e2ff99de165baa31cc [diff] |
HTMLFormElement::ConstructEntryList() creates a FormData instance instead of taking an empty FormData as an argument. - This matches to what the specification says. https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#constructing-form-data-set > 1. If form's constructing entry list is true, then return null. - We avoid to create unnecessary FormData instance in a case where FormData::Create() throws an exception. Change-Id: Iafb8aa09e3d0cf2b013760ef488258e4b61fed5f Reviewed-on: https://chromium-review.googlesource.com/c/1414738 Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#623595}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .