<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Test existence of controls on MediaSession"
   href="https://bugs.webkit.org/show_bug.cgi?id=146356#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Test existence of controls on MediaSession"
   href="https://bugs.webkit.org/show_bug.cgi?id=146356">bug 146356</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=146356#c7">comment #7</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=255682&amp;action=diff" name="attach_255682" title="Patch">attachment 255682</a> <a href="attachment.cgi?id=255682&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=255682&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=255682&amp;action=review</a>
&gt; 
&gt; &gt; LayoutTests/ChangeLog:9
&gt; &gt; +        * media/session/controls-existence-expected.txt: Added.
&gt; &gt; +        * media/session/controls-existence.html: Added.
&gt; 
&gt; You need to mark the new test as Skipped in
&gt; LayoutTests/platform/mac/TestExpectations.</span >

Done. Wasn't sure if they were opt-in or opt-out.

<span class="quote">&gt; 
&gt; &gt; LayoutTests/media/session/controls-existence-expected.txt:6
&gt; &gt; +EXPECTED (session.controls != 'null') OK
&gt; &gt; +EXPECTED (session.controls == 'null') OK
&gt; &gt; +EXPECTED (session.controls == 'null') OK
&gt; &gt; +EXPECTED (session.controls == 'null') OK
&gt; 
&gt; Nit: It can be helpful to have more context about what is being tested in
&gt; the results, so it would be helpful to log the session type. For example:
&gt; 
&gt;     run(&quot;session = new MediaSession('content')&quot;);
&gt;     testExpected(&quot;session.controls&quot;, null, '!=');</span >

I'll do that.

<span class="quote">&gt; 
&gt; or maybe
&gt; 
&gt;     testExpected(&quot;new MediaSession('content').controls&quot;, null, '!=');
&gt; 
&gt; etc.</span ></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>