Fix nullptr crash in fragment navigation
The focus call in fragment navigation can run arbitrary script which can cause the document to become detached. Thus, we need to check whether we're still attached before continuing. Bug: 837255 Change-Id: I4b35f66e39ace801a59230234264757ba4d6be04 Reviewed-on: https://chromium-review.googlesource.com/1033958Reviewed-by:Steve Kobes <skobes@chromium.org> Commit-Queue: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#554775}
Showing
Please register or sign in to comment