<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Notify clients when the user plays media otherwise prevented from autoplaying"
   href="https://bugs.webkit.org/show_bug.cgi?id=167390#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Notify clients when the user plays media otherwise prevented from autoplaying"
   href="https://bugs.webkit.org/show_bug.cgi?id=167390">bug 167390</a>
              from <span class="vcard"><a class="email" href="mailto:achristensen&#64;apple.com" title="Alex Christensen &lt;achristensen&#64;apple.com&gt;"> <span class="fn">Alex Christensen</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=299644&amp;action=diff" name="attach_299644" title="Patch">attachment 299644</a> <a href="attachment.cgi?id=299644&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=299644&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=299644&amp;action=review</a>

<span class="quote">&gt; Source/WebKit2/UIProcess/WebPageProxy.messages.in:441
&gt; +    DidPlayMediaPreventedFromPlayingWithoutUserGesture()</span >

This name is a bit verbose, but I can't think of anything better.

<span class="quote">&gt; Tools/TestWebKitAPI/Tests/WebKit2/js-play-with-controls.html:5
&gt; +                setTimeout(function() {</span >

Could we remove this setTimeout?

<span class="quote">&gt; Tools/TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:217
&gt; +TEST(WebKit2, WebsitePoliciesPlayAfterPreventedAutoplay)</span >

It would be good to test that a video that shouldn't autoplay doesn't call the didPlayMediaPreventedFromPlayingWithoutUserGesture when you play it.</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>