<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Media Session: test Play/Pause media control events delivered to non-Content media sessions"
   href="https://bugs.webkit.org/show_bug.cgi?id=147414#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Media Session: test Play/Pause media control events delivered to non-Content media sessions"
   href="https://bugs.webkit.org/show_bug.cgi?id=147414">bug 147414</a>
              from <span class="vcard"><a class="email" href="mailto:mrajca&#64;apple.com" title="Matt Rajca &lt;mrajca&#64;apple.com&gt;"> <span class="fn">Matt Rajca</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=147414#c3">comment #3</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=257774&amp;action=diff" name="attach_257774" title="Patch">attachment 257774</a> <a href="attachment.cgi?id=257774&amp;action=edit" title="Patch">[details]</a></span>
&gt; Patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=257774&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=257774&amp;action=review</a>
&gt; 
&gt; &gt; LayoutTests/media/session/play-pause-media-events-in-non-content-sessions.html:31
&gt; &gt; +            video.play();
&gt; 
&gt; Nit: If you want to add the event listener with &quot;video.on&lt;event type&gt;&quot;, I
&gt; think it will make the test results easier to understand if you log the
&gt; event name as you would if you used waitForEvent, eg:
&gt; 
&gt; consoleWrite(&quot;EVENT(&quot; + event.type + &quot;)&quot;);</span >

I switched to `waitForEvent`.

<span class="quote">&gt; 
&gt; &gt; LayoutTests/media/session/play-pause-media-events-in-non-content-sessions.html:62
&gt; &gt; +    &lt;p&gt;'Transient' sessions should not respond to Play/Pause media control events.&lt;/p&gt;
&gt; 
&gt; You are testing both transient and ambient sessions.</span >

Good catch.</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>