Fix a potential null deref in XSSAuditorDelegate.
The ASAN bots say this causes a crash; I can't replicate it locally, but I believe that the combination of `document.write` and synchronous `javascript:` URL navigation could cause the auditor to trigger while the document is detaching. This patch adds a small check. BUG=668772 Review-Url: https://codereview.chromium.org/2531253002 Cr-Commit-Position: refs/heads/master@{#434927}
Showing
Please register or sign in to comment