Enable webview in sandbox renderer Security: Inherit embedder prefs onto webview
This commit is contained in:
parent
8585372e11
commit
32e40cb4c3
4 changed files with 50 additions and 1 deletions
|
@ -92,6 +92,12 @@ void InitializeBindings(v8::Local<v8::Object> binding,
|
|||
b.SetMethod("getHeapStatistics", &AtomBindings::GetHeapStatistics);
|
||||
b.SetMethod("getProcessMemoryInfo", &AtomBindings::GetProcessMemoryInfo);
|
||||
b.SetMethod("getSystemMemoryInfo", &AtomBindings::GetSystemMemoryInfo);
|
||||
|
||||
// Pass in CLI flags needed to setup the renderer
|
||||
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
||||
if (command_line->HasSwitch(switches::kGuestInstanceID))
|
||||
b.Set(options::kGuestInstanceID,
|
||||
command_line->GetSwitchValueASCII(switches::kGuestInstanceID));
|
||||
}
|
||||
|
||||
class AtomSandboxedRenderFrameObserver : public AtomRenderFrameObserver {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue