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}
19 files changed