Avoid calling JavaScript of devtools WebContents too early
It would craete a context that window.location is about:blank
This commit is contained in:
parent
9a9bc5530e
commit
56747e975e
2 changed files with 25 additions and 7 deletions
|
@ -167,6 +167,7 @@ class InspectableWebContentsImpl :
|
|||
DevToolsContentsResizingStrategy contents_resizing_strategy_;
|
||||
gfx::Rect devtools_bounds_;
|
||||
bool can_dock_;
|
||||
bool frontend_loaded_;
|
||||
|
||||
scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue