From 9c7121a41d8486aa45853fb3be3ebca91602316a Mon Sep 17 00:00:00 2001 From: "yurys@google.com" Date: Fri, 4 Sep 2009 09:11:13 +0000 Subject: DevTools: call a no-op function from the utility context to trigger v8 execution instead of evaluating javascript:void(0). This way we don't need to filter out AfterCompile events for 'javascript:void(0)' scripts. Review URL: http://codereview.chromium.org/195013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25439 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/webdevtoolsagent_impl.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'webkit/glue/webdevtoolsagent_impl.cc') diff --git a/webkit/glue/webdevtoolsagent_impl.cc b/webkit/glue/webdevtoolsagent_impl.cc index e6d267a..787af9a 100644 --- a/webkit/glue/webdevtoolsagent_impl.cc +++ b/webkit/glue/webdevtoolsagent_impl.cc @@ -174,6 +174,10 @@ void WebDevToolsAgentImpl::ExecuteUtilityFunction( result, exception); } +void WebDevToolsAgentImpl::ExecuteVoidJavaScript() { + debugger_agent_impl_->ExecuteVoidJavaScript(utility_context_); +} + void WebDevToolsAgentImpl::GetResourceContent( int call_id, int identifier) { -- cgit v1.1