[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 19:46:15 PDT 2011


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


Michael Schneider <michschn at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94008|0                           |1
        is obsolete|                            |
  Attachment #94008|review?                     |
               Flag|                            |




--- Comment #4 from Michael Schneider <michschn at google.com>  2011-05-18 19:46:14 PST ---
(From update of attachment 94008)
Looks like I overlooked this test failure and submitted the patch prematurely.

After looking at the failure, my initial analysis is as follows:
- The TimelinePanel was active all the time before, now it ignores the events when the it is not activated.
- The TimelineTests just activate the instrumentation data collection using TimelineAgent.start().
- The WebInspector.TimelinePanel.FormattedRecord constructor has a side effect, which adds the now missing url property to the record.
- This function is not called anymore, as the TimelinePanel is in a disabled state.
- The failing test explicitly checks for that side effect.

IMO, this side effect must either be keept local to the TimelinePanel or be applied to all listeners, regardless if the the TimelinePanel is activated or not.
- we could copy the record, then modify the test to enable the TimelinePanel.
- we could add the URL property in the TimelineManager already, so that every listener receives the modified record

What do you think? I do not know what the best solution is here.

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