Initialize script context in DidClearWindowObject
Doing it in RunScriptsAtDocumentStart would somehow result in weird results when webSecurity is off.
This commit is contained in:
parent
ce0d3d93ab
commit
6755aa44f6
2 changed files with 10 additions and 3 deletions
|
@ -21,6 +21,7 @@ class AtomRendererClient : public content::ContentRendererClient {
|
|||
AtomRendererClient();
|
||||
virtual ~AtomRendererClient();
|
||||
|
||||
void DidClearWindowObject(content::RenderFrame* render_frame);
|
||||
void DidCreateScriptContext(
|
||||
v8::Handle<v8::Context> context, content::RenderFrame* render_frame);
|
||||
void WillReleaseScriptContext(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue