commit | 9dbd356b0cc52911caef089b09de63572cd9e39f | [log] [tgz] |
---|---|---|
author | tkent <tkent@chromium.org> | Fri Apr 21 06:38:15 2017 |
committer | Commit bot <commit-bot@chromium.org> | Fri Apr 21 06:38:15 2017 |
tree | 0d76880dc64cfa2bb9c2387f972aad4de7078be7 | |
parent | 45494c0941e362c28b04b92f237c759f8c960794 [diff] |
window.print() should close form validation bubble. Usually, window.open() deactivates the origin window and validation bubble on the origin window is closed. However, if window.print() is executed, it suspends message loop of the window, and deactivation isn't noticed until print dialog is closed. So, we need to close validation popup explicitly for window.print(). BUG=713686 Review-Url: https://codereview.chromium.org/2834783002 Cr-Commit-Position: refs/heads/master@{#466273}