refactor: expose process.contextId directly (#29236)
This commit is contained in:
parent
12aa6d7343
commit
8fc86517fa
6 changed files with 5 additions and 23 deletions
|
@ -200,8 +200,6 @@ void ElectronSandboxedRendererClient::RunScriptsAtDocumentEnd(
|
|||
void ElectronSandboxedRendererClient::DidCreateScriptContext(
|
||||
v8::Handle<v8::Context> context,
|
||||
content::RenderFrame* render_frame) {
|
||||
RendererClientBase::DidCreateScriptContext(context, render_frame);
|
||||
|
||||
// Only allow preload for the main frame or
|
||||
// For devtools we still want to run the preload_bundle script
|
||||
// Or when nodeSupport is explicitly enabled in sub frames
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue