| Index: Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp
|
| index 87e9550e4c3079d068623393367fdec48057c52d..8dc2502ece85bb68872cbf90662f90b9629c7285 100644
|
| --- a/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -802,6 +802,9 @@ void InspectorPageAgent::didClearWindowObjectInWorld(Frame* frame, DOMWrapperWor
|
| if (!m_frontend)
|
| return;
|
|
|
| + v8::HandleScope handleScope;
|
| + V8ScopedCompilation debuggerCompilation(frame->script()->mainWorldContext(), DevtoolsScriptCompilation);
|
| +
|
| RefPtr<InspectorObject> scripts = m_state->getObject(PageAgentState::pageAgentScriptsToEvaluateOnLoad);
|
| if (scripts) {
|
| InspectorObject::const_iterator end = scripts->end();
|
|
|