<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - HTMLMediaElement.prototype.canPlayType accounting for 250-750ms first loading theverge.com"
   href="https://bugs.webkit.org/show_bug.cgi?id=158335">158335</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>HTMLMediaElement.prototype.canPlayType accounting for 250-750ms first loading theverge.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Media Elements
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>joepeck&#64;webkit.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>akling&#64;apple.com, eric.carlson&#64;apple.com, jer.noble&#64;apple.com, jonlee&#64;apple.com, koivisto&#64;iki.fi, webkit-bug-importer&#64;group.apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=280402" name="attach_280402" title="[IMAGE] Web Inspector Profile - 750ms in canPlayType">attachment 280402</a> <a href="attachment.cgi?id=280402&amp;action=edit" title="[IMAGE] Web Inspector Profile - 750ms in canPlayType">[details]</a></span>
[IMAGE] Web Inspector Profile - 750ms in canPlayType

* SUMMARY
HTMLMediaElement.prototype.canPlayType accounting for 250-750ms first loading theverge.com.

See attached screenshot. With the steps to reproduce below I saw 250ms and 750ms spent in canPlayType for the first page load in a WebContentProcess.

* STEPS TO REPRODUCE
1. Open about:blank
2. Open Web Inspector
3. Show Timeline Tab
4. Enable Script &amp; Events Timeline
5. Navigate the page to &lt;<a href="http://www.theverge.com">http://www.theverge.com</a>&gt;
6. Let timeline auto-record and stop recording
7. Show Script &amp; Events Timeline, Call Trees, Bottom Up View
  =&gt; Many milliseconds were spent inside of HTMLMediaElement.prototype.canPlayType</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>