fix: crash when renderer process crashes while webview is reloading (#46769)
WebView uses WebContentsViewChildFrame, which doesn't have a Focus impl and triggers a fatal NOTREACHED. Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Jinli Wu <wujinli@bytedance.com>
This commit is contained in:
parent
0f73bba452
commit
d2134f84e1
3 changed files with 31 additions and 0 deletions
|
@ -755,6 +755,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