Inherit parent window's options in window.open
This commit is contained in:
parent
a6b7dd22e8
commit
de41890196
6 changed files with 34 additions and 3 deletions
|
@ -40,6 +40,9 @@ WebContentsPreferences::WebContentsPreferences(
|
|||
base::DictionaryValue* web_preferences) {
|
||||
web_preferences_.Swap(web_preferences);
|
||||
web_contents->SetUserData(UserDataKey(), this);
|
||||
|
||||
// The "isGuest" is not a preferences field.
|
||||
web_preferences_.Remove("isGuest", nullptr);
|
||||
}
|
||||
|
||||
WebContentsPreferences::~WebContentsPreferences() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue