Commit 5dd4e395 authored by yurys@chromium.org's avatar yurys@chromium.org

2010-05-27 Yury Semikhatsky <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [v8] Web Inspector: check that ScriptDebugListener was not removed
        while messages were dispatched in the nested loop.
        https://bugs.webkit.org/show_bug.cgi?id=39838

        * bindings/v8/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::handleV8DebugEvent):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent faedb12d
2010-05-27 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
[v8] Web Inspector: check that ScriptDebugListener was not removed
while messages were dispatched in the nested loop.
https://bugs.webkit.org/show_bug.cgi?id=39838
* bindings/v8/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::handleV8DebugEvent):
2010-05-27 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
......
......@@ -305,7 +305,9 @@ void ScriptDebugServer::handleV8DebugEvent(const v8::Debug::EventDetails& eventD
m_clientMessageLoop->run(m_pausedPage);
ASSERT(!m_pausedPage);
listener->didContinue();
// The listener may have been removed in the nested loop.
if (ScriptDebugListener* listener = m_listenersMap.get(frame->page()))
listener->didContinue();
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment