In a complex web application developer might want to timeline a specific piece of code. In this case he can do the next steps: 1) start timeline; 2) eval a command in console; 3) stop timeline. I think it'd be nice to have a root event for the all the events that happened as the result of such eval.
Created attachment 108483 [details] Patch
Comment on attachment 108483 [details] Patch Attachment 108483 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/9801680
Comment on attachment 108483 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=108483&action=review > Source/WebCore/bindings/v8/ScriptFunctionCall.cpp:34 > +#include "DOMWindow.h" Why do you need this? > Source/WebCore/inspector/InjectedScript.cpp:194 > + DOMWindow* domWindow = domWindowFromScriptState(m_injectedScriptObject.scriptState()); domWindow may be 0, e.g. in case of worker context, r- for this.
Created attachment 108644 [details] Patch
Committed r95941: <http://trac.webkit.org/changeset/95941>