<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Timeline Recording across page navigations behaves poorly"
   href="https://bugs.webkit.org/show_bug.cgi?id=151112#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Timeline Recording across page navigations behaves poorly"
   href="https://bugs.webkit.org/show_bug.cgi?id=151112">bug 151112</a>
              from <span class="vcard"><a class="email" href="mailto:joepeck&#64;webkit.org" title="Joseph Pecoraro &lt;joepeck&#64;webkit.org&gt;"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=265203&amp;action=diff" name="attach_265203" title="[PATCH] Work in Progress">attachment 265203</a> <a href="attachment.cgi?id=265203&amp;action=edit" title="[PATCH] Work in Progress">[details]</a></span>
[PATCH] Work in Progress

Attached is a work in progress that highlights the issue. InspectorPageAgent is reseting the stopwatch when the main frame loads. If we are recording a timeline this will mean suddenly timestamps have lower values then expected.

I'm not proposing this as a patch in and of itself because I think we may want to specifically handle PageAgent.reload. If a user is in the frontend and reloads during an auto-record, I think it should treat that as another new auto-record and not a sub-load within an active recording.

Also, I wonder what happens if we just never reset the stopwatch.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>