| Index: third_party/WebKit/WebCore/inspector/InspectorController.cpp
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/inspector/InspectorController.cpp (revision 12882)
|
| +++ third_party/WebKit/WebCore/inspector/InspectorController.cpp (working copy)
|
| @@ -1136,6 +1136,9 @@
|
| {
|
| if (!m_page || !enabled())
|
| return;
|
| +
|
| + // Grant the inspector the ability to script the inspected page.
|
| + m_page->mainFrame()->document()->securityOrigin()->grantUniversalAccess();
|
|
|
| v8::HandleScope handle_scope;
|
| v8::Handle<v8::Context> context = V8Proxy::GetContext(m_page->mainFrame());
|
|
|