🐛 Fix #9231: Don't load url when detached.
This commit is contained in:
parent
8a62d81fc5
commit
42cb3461af
3 changed files with 16 additions and 0 deletions
|
@ -993,6 +993,10 @@ void WebContents::LoadURL(const GURL& url, const mate::Dictionary& options) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (guest_delegate_ && !guest_delegate_->Attached()) {
|
||||
return;
|
||||
}
|
||||
|
||||
content::NavigationController::LoadURLParams params(url);
|
||||
|
||||
GURL http_referrer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue