commit | c22e4275ded389a7b743e180219b2e9dd057d55c | [log] [tgz] |
---|---|---|
author | Kent Tamura <tkent@chromium.org> | Mon Mar 18 09:45:48 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Mar 18 09:45:48 2019 |
tree | b8c64dd1f566cae5096e086a713b4e94d512f70c | |
parent | 8f5edc0ffad12bcbcd6bc3e8bb5338f7f09c774f [diff] |
Form-associated custom elements: Update ElementInternals.setFormValue to match to the latest specification pull request [1]. Old: void setFormValue((File or USVString)? value, optional FormData entrySource); New: void setFormValue((File or USVString or FormData)? value, optional (File or USVString or FormData)? state); Types of 'submission value' and 'state' of form-associate custom element completely match. Blink needs to support state-restoring for a FormData object, and the argument type of "restoreValueCallback" is also updated. * element_internals.*: - Change the arguments of setFormValue - Support FormData state restore * form_data.*: - Support state restore [1] https://github.com/whatwg/html/pull/4383 Bug: 905922 Change-Id: Iaa618f45f854bf82f928d36ca071d3adf3b969b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1525788 Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by: Hayato Ito <hayato@chromium.org> Cr-Commit-Position: refs/heads/master@{#641541}
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 .