| Index: Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp
|
| index 7c48b470ffd228877772f6f71f3412b982352078..d3a638d4abe8a05df00636250006bd0e413aab7b 100644
|
| --- a/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -800,6 +800,9 @@ void InspectorPageAgent::didClearWindowObjectInWorld(Frame* frame, DOMWrapperWor
|
| if (!m_frontend)
|
| return;
|
|
|
| + v8::HandleScope handleScope; // crash unless we declear HandleScope
|
| + V8PerContextDebugData::SystemScope systemScope(frame->script()->mainWorldContext());
|
| +
|
| RefPtr<InspectorObject> scripts = m_state->getObject(PageAgentState::pageAgentScriptsToEvaluateOnLoad);
|
| if (scripts) {
|
| InspectorObject::const_iterator end = scripts->end();
|
|
|