<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>147204</bug_id>
          
          <creation_ts>2015-07-22 15:17:57 -0700</creation_ts>
          <short_desc>Web Inspector: Timeline&apos;s Current Time does not jump forward to new start time when starting a new recording, causes timeline to appear delayed and broken</short_desc>
          <delta_ts>2015-07-22 21:20:01 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joseph Pecoraro">joepeck</reporter>
          <assigned_to name="Joseph Pecoraro">joepeck</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>jonowells</cc>
    
    <cc>mattbaker</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1111443</commentid>
    <comment_count>0</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-07-22 15:17:57 -0700</bug_when>
    <thetext>* SUMMARY
Timeline&apos;s Current Time does not jump forward to new start time when starting a new recording, causes timeline to appear delayed and broken.

* STEPS TO REPRODUCE
1. Inspect https://en.wikipedia.org/wiki/Main_Page
2. Show timelines tab
3. Command-R to reload
4. Timeline starts automatically
5. Wait for timeline to stop or manually stop at about the 5s mark.
6. Wait 30 seconds
7. Click button to start recording
8. Scroll page a bit to ensure we have events.
9. Click button to stop recording
  =&gt; Timeline plays nothing for 30 seconds and the shows events for the 1s of recording
  =&gt; Expected timeline to immediately jump forward 30s and show the events for the 1s of recording</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1111444</commentid>
    <comment_count>1</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-07-22 15:18:30 -0700</bug_when>
    <thetext>&lt;rdar://problem/21946519&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1111445</commentid>
    <comment_count>2</comment_count>
      <attachid>257300</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-07-22 15:21:15 -0700</bug_when>
    <thetext>Created attachment 257300
[PATCH] Proposed Fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1111459</commentid>
    <comment_count>3</comment_count>
      <attachid>257300</attachid>
    <who name="Matt Baker">mattbaker</who>
    <bug_when>2015-07-22 15:50:52 -0700</bug_when>
    <thetext>Comment on attachment 257300
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=257300&amp;action=review

&gt; Source/WebInspectorUI/UserInterface/Views/TimelineRecordingContentView.js:-520
&gt; -

Child records of the rendering frame are added to the other timelines, so this change would potentially net us an earlier current time, but the difference should be very small.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1111466</commentid>
    <comment_count>4</comment_count>
      <attachid>257300</attachid>
    <who name="Matt Baker">mattbaker</who>
    <bug_when>2015-07-22 16:07:30 -0700</bug_when>
    <thetext>Comment on attachment 257300
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=257300&amp;action=review

&gt; Source/WebInspectorUI/UserInterface/Views/TimelineRecordingContentView.js:-517
&gt; -            // The rendering frame timeline doesn&apos;t use a time axis.

The axis type is irrelevant. A rendering frame record generally has an earlier start time than its first child, which we want to account for. We should remove this check.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1111574</commentid>
    <comment_count>5</comment_count>
      <attachid>257300</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-07-22 21:19:58 -0700</bug_when>
    <thetext>Comment on attachment 257300
[PATCH] Proposed Fix

Clearing flags on attachment: 257300

Committed r187209: &lt;http://trac.webkit.org/changeset/187209&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1111575</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-07-22 21:20:01 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>257300</attachid>
            <date>2015-07-22 15:21:15 -0700</date>
            <delta_ts>2015-07-22 21:19:58 -0700</delta_ts>
            <desc>[PATCH] Proposed Fix</desc>
            <filename>le-issue.patch</filename>
            <type>text/plain</type>
            <size>1960</size>
            <attacher name="Joseph Pecoraro">joepeck</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJJbnNwZWN0b3JVSS9DaGFuZ2VMb2cgYi9Tb3VyY2UvV2Vi
SW5zcGVjdG9yVUkvQ2hhbmdlTG9nCmluZGV4IDUwMDJhNGUuLmZhZDBjMmEgMTAwNjQ0Ci0tLSBh
L1NvdXJjZS9XZWJJbnNwZWN0b3JVSS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYkluc3BlY3Rv
clVJL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDE1LTA3LTIyICBKb3NlcGggUGVjb3Jh
cm8gIDxwZWNvcmFyb0BhcHBsZS5jb20+CisKKyAgICAgICAgV2ViIEluc3BlY3RvcjogVGltZWxp
bmUncyBDdXJyZW50IFRp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BpZiAoIWxhc3RSZWNvcmQpCiAgICAg
ICAgICAgICAgICAgY29udGludWU7Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>