Revert "Restoring control state should dispatch 'input' and 'change' events...
Revert "Restoring control state should dispatch 'input' and 'change' events only if values are changed" This reverts commit ca02d552. Reason for revert: It was a wrong approach. https://bugs.chromium.org/p/chromium/issues/detail?id=1037728#c11 Original change's description: > Restoring control state should dispatch 'input' and 'change' events only if values are changed > > This CL is a follow-up of crrev.com/727843, which caused a regression > seen in the local-NTP. > > * HTMLTextAreaElement and HTMLSelectElement: > Call QueueInputAndChangeEvents() only if their values are changed. > > * HTMLInputElement and input type implementations: > InputTypeView::RestoreFormControlState() returns a boolean flag to ask to > call QueueInputAndChangeEvents(). > > Bug: 1038655 > Change-Id: Ib68077516d1d6c032dbc2599abbcd541c281f4de > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1983692 > Commit-Queue: Kent Tamura <tkent@chromium.org> > Reviewed-by: Mason Freed <masonfreed@chromium.org> > Cr-Commit-Position: refs/heads/master@{#729334} TBR=tkent@chromium.org,masonfreed@chromium.org Change-Id: I645ae24b3feaa2a29f26812f360fe87f46a523e6 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1038655 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1993077Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#729709}
Showing
Please register or sign in to comment