summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdevtoolsagent_impl.cc
diff options
context:
space:
mode:
authoryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 09:11:13 +0000
committeryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 09:11:13 +0000
commit9c7121a41d8486aa45853fb3be3ebca91602316a (patch)
tree545b39058702d48c9b413c2ec0d1a1a83878902e /webkit/glue/webdevtoolsagent_impl.cc
parent61866962148bbf7e83df98c4002b053af1b19cb3 (diff)
downloadchromium_src-9c7121a41d8486aa45853fb3be3ebca91602316a.zip
chromium_src-9c7121a41d8486aa45853fb3be3ebca91602316a.tar.gz
chromium_src-9c7121a41d8486aa45853fb3be3ebca91602316a.tar.bz2
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
Diffstat (limited to 'webkit/glue/webdevtoolsagent_impl.cc')
-rw-r--r--webkit/glue/webdevtoolsagent_impl.cc4
1 files changed, 4 insertions, 0 deletions
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) {