mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Rename iframe-security to node-integration.
This commit is contained in:
@@ -140,7 +140,7 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
|
||||
}
|
||||
|
||||
bool has_frame() const { return has_frame_; }
|
||||
std::string iframe_security() const { return iframe_security_; }
|
||||
std::string node_integration() const { return node_integration_; }
|
||||
|
||||
protected:
|
||||
explicit NativeWindow(content::WebContents* web_contents,
|
||||
@@ -221,7 +221,7 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
|
||||
bool is_closed_;
|
||||
|
||||
// The security token of iframe.
|
||||
std::string iframe_security_;
|
||||
std::string node_integration_;
|
||||
|
||||
// Closure that would be called when window is unresponsive when closing,
|
||||
// it should be cancelled when we can prove that the window is responsive.
|
||||
|
||||
Reference in New Issue
Block a user