fix: ensure ElectronBrowser mojo service is only bound to appropriate render frames (#33323)
* fix: ensure ElectronBrowser mojo service is only bound to authorized render frames Notes: no-notes * refactor: extract electron API IPC to its own mojo interface * fix: just check main frame not primary main frame
This commit is contained in:
parent
f2b06324b8
commit
e07c2b84d7
17 changed files with 381 additions and 229 deletions
|
@ -71,6 +71,9 @@ class WebContentsPreferences
|
|||
bool ShouldDisableHtmlFullscreenWindowResize() const {
|
||||
return disable_html_fullscreen_window_resize_;
|
||||
}
|
||||
bool AllowsNodeIntegrationInSubFrames() const {
|
||||
return node_integration_in_sub_frames_;
|
||||
}
|
||||
bool ShouldDisableDialogs() const { return disable_dialogs_; }
|
||||
bool ShouldUseSafeDialogs() const { return safe_dialogs_; }
|
||||
bool GetSafeDialogsMessage(std::string* message) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue