Stop trying to execute a print() command if loading failed.
LocalDOMWindow::should_print_when_finished_loading_ stores whether a print command happened while the window was still loading, in order to run the print once loading has completed. If the load fails, the print should not happen, because it makes no sense, and also because it might cause a crash (see bug). Bug: 982974 Change-Id: I5222a55d6280403296f532049d8302723ef9ed59 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1716397Reviewed-by:vmpstr <vmpstr@chromium.org> Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#681937}
Showing
Please register or sign in to comment