[Webkit-unassigned] [Bug 61098] Web Inspector: Provide inspector extension API to access timeline data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 19 14:49:06 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61098


Michael Schneider <michschn at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94123|                            |review?
               Flag|                            |




--- Comment #9 from Michael Schneider <michschn at google.com>  2011-05-19 14:49:05 PST ---
Created an attachment (id=94123)
 --> (https://bugs.webkit.org/attachment.cgi?id=94123&action=review)
Proposed patch

- Fixed the failing test by copying the record, enabling the timeline panel from the test and sniffing for the records on the timeline panel.
- Incorporated review feedback.
- removed onStarted and onStopped

There are open questions:
- What is a good way to copy the record, is there a utility? I use JSON.parse(JSON.stringify(record)) currently
- When adding a listener, the actual start of the instrumentation could be delayed. Do we have to add a callback to EventSink.addListener which is called as soon as the subscription is successful (seems strange, in this case I would rather have a explicit start/stop again)? Or can we neglect that? If the async requests wont be executed out-of-order, this is probably not an issue.

-- 
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