Initialize script context in DidClearWindowObject
authorCheng Zhao <zcbenz@gmail.com>
Mon, 30 May 2016 05:56:31 +0000 (14:56 +0900)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 30 May 2016 07:34:28 +0000 (16:34 +0900)
commit6755aa44f67b6dcad4937d09e14d87b38a8686e7
tree5b9bb89709f44b87ef72ddc3518cefabc0549926
parentce0d3d93abe060b5c46a55b85bc93eca1b6a9984
Initialize script context in DidClearWindowObject

Doing it in RunScriptsAtDocumentStart would somehow result in weird
results when webSecurity is off.
atom/renderer/atom_renderer_client.cc
atom/renderer/atom_renderer_client.h