Commit f5b96313 authored by yurys@chromium.org's avatar yurys@chromium.org

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

        Reviewed by Pavel Feldman.

        Resume script execution if user tries to navigate to another URL
        https://bugs.webkit.org/show_bug.cgi?id=39842

        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::):
        (WebKit::WebDevToolsAgentImpl::didNavigate):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 523adfaa
2010-05-27 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Resume script execution if user tries to navigate to another URL
https://bugs.webkit.org/show_bug.cgi?id=39842
* src/WebDevToolsAgentImpl.cpp:
(WebKit::):
(WebKit::WebDevToolsAgentImpl::didNavigate):
2010-05-27 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
......
......@@ -146,6 +146,13 @@ public:
s_instance->m_frozenViews.remove(view);
}
static void didNavigate()
{
// Release render thread if necessary.
if (s_instance && s_instance->m_running)
WebCore::ScriptDebugServer::shared().continueProgram();
}
private:
ClientMessageLoopAdapter(PassOwnPtr<WebKit::WebDevToolsAgentClient::WebKitClientMessageLoop> messageLoop)
: m_running(false)
......@@ -289,6 +296,9 @@ void WebDevToolsAgentImpl::detach()
void WebDevToolsAgentImpl::didNavigate()
{
#if ENABLE(V8_SCRIPT_DEBUG_SERVER)
ClientMessageLoopAdapter::didNavigate();
#endif
DebuggerAgentManager::onNavigate();
}
......
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