v8 API now has a method for forcing debug command processing. We should use it instead of executing empty function to trigger JS execution.
Created attachment 48328 [details] patch
Attachment 48328 [details] did not build on chromium: Build output: http://webkit-commit-queue.appspot.com/results/245261
Created attachment 48470 [details] patch that I'm going to land The patch includes changes to the recently upstreamed *.js files.
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebKit/chromium/ChangeLog M WebKit/chromium/src/DebuggerAgent.h M WebKit/chromium/src/DebuggerAgentImpl.cpp M WebKit/chromium/src/DebuggerAgentImpl.h M WebKit/chromium/src/ToolsAgent.h M WebKit/chromium/src/WebDevToolsAgentImpl.cpp M WebKit/chromium/src/WebDevToolsAgentImpl.h M WebKit/chromium/src/js/DebuggerAgent.js M WebKit/chromium/src/js/DevToolsHostStub.js M WebKit/chromium/src/js/InjectDispatch.js M WebKit/chromium/src/js/ProfilerAgent.js M WebKit/chromium/src/js/Tests.js Committed r54592