fix: crash when renderer process crashes while webview is reloading (#46735)
WebView uses WebContentsViewChildFrame, which doesn't have a Focus impl and triggers a fatal NOTREACHED.
This commit is contained in:
parent
37f8db15e9
commit
3e78bbde6a
3 changed files with 31 additions and 0 deletions
|
@ -709,6 +709,7 @@ class WebContents final : public ExclusiveAccessContext,
|
|||
content::PictureInPictureResult EnterPictureInPicture(
|
||||
content::WebContents* web_contents) override;
|
||||
void ExitPictureInPicture() override;
|
||||
bool ShouldFocusPageAfterCrash(content::WebContents* source) override;
|
||||
|
||||
// InspectableWebContentsDelegate:
|
||||
void DevToolsSaveToFile(const std::string& url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue