[Webkit-unassigned] [Bug 61098] Web Inspector: Provide inspector extension API to access timeline data
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 18 17:21:58 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=61098
Michael Schneider <michschn at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #94008| |review?
Flag| |
--- Comment #1 from Michael Schneider <michschn at google.com> 2011-05-18 17:21:58 PST ---
Created an attachment (id=94008)
--> (https://bugs.webkit.org/attachment.cgi?id=94008&action=review)
Proposed Patch
This proposed patch adds an webInspector.timeline API. It contains three event sinks:
- onStarted: Listeners are notified when the backend starts collecting timeline data.
- onStopped: Listeners are notified when the backend stops collecting timeline data.
- onEventRecorded: Listeners are notified when a timeline record is collected. The record is passed as first argument to the listener.
The start/stop is implicitly controlled if onEventRecorded listeners are present.
For it to work, a TimelineManager was introduced to broadcast the events received via InspectorBackend.registerDomainDispatcher("Timeline", ...). The TimelinePanel now registers at the TimelineManager to receive events.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list