Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make NavigationApi resilient to memory purging destroying its Executi…
…onContext NavigationApi can be invoked and try to get a ScriptState or create ExecutionContextClients with a LocalDOMWindow that has been purged via LocalFrame::ForciblyPurgeV8Memory(). Ensure that NavigationApi is disabled after purge. (cherry picked from commit e52842e) Bug: 1316437, 1319341 Change-Id: Id621452da6fe1bb58f965c92c6afb5dafe5833ce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3615532 Reviewed-by: Domenic Denicola <domenic@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#997490} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3621615 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5005@{#358} Cr-Branched-From: 5b4d945-refs/heads/main@{#992738}
- Loading branch information
1 parent
fc92165
commit 199390b
Showing
2 changed files
with
63 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters