<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add a unit test to test BuildbotQueueView._appendPendingRevisionCount."
   href="https://bugs.webkit.org/show_bug.cgi?id=152910#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add a unit test to test BuildbotQueueView._appendPendingRevisionCount."
   href="https://bugs.webkit.org/show_bug.cgi?id=152910">bug 152910</a>
              from <span class="vcard"><a class="email" href="mailto:jmarcell&#64;apple.com" title="Jason Marcell &lt;jmarcell&#64;apple.com&gt;"> <span class="fn">Jason Marcell</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=152910#c14">comment #14</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=268920&amp;action=diff" name="attach_268920" title="Patch">attachment 268920</a> <a href="attachment.cgi?id=268920&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=268920&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=268920&amp;action=review</a>
&gt; 
&gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js:34
&gt; &gt; +    this.element = document.createElement(&quot;div&quot;);
&gt; &gt; +    this.element.classList.add(&quot;queue-view&quot;);
&gt; &gt; +    this.element.__queueView = this;
&gt; &gt; +
&gt; &gt; +    this.queues = queues || [];
&gt; &gt; +
&gt; &gt; +    BaseObject.call(this);
&gt; 
&gt; It may be nice if we could make this class extend QueueView instead of
&gt; duplicating similar logic here. We can do that in a separate patch if it
&gt; turns out to be useful.</span >

I will look into this for a future patch.

<span class="quote">&gt; 
&gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js:47
&gt; &gt; +                &quot;WebKit Repo&quot;: 33020
&gt; 
&gt; Nit: You may want to consider using the same repository name as used in
&gt; production.</span >

I did this.

<span class="quote">&gt; 
&gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockOverrides.js:26
&gt; &gt; +// The real &quot;label&quot; setter was throwing an exception in the unit tests so I overrode it with a simplified version.
&gt; 
&gt; Should this be a FIXME comment?</span >

I investigated this further. The error that I was working around seemed to be particular to PhantomJS but did not affect regular usage (i.e. running the tests in Safari). Therefore I just removed this file from that patch.

<span class="quote">&gt; 
&gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html:29
&gt; &gt; +    &lt;meta charset=&quot;UTF-8&quot; /&gt;
&gt; 
&gt; Nit: The slash is not necessary as this is a HTML5 document.</span >

Removed the slash.

Landed <a href="https://trac.webkit.org/changeset/195062">https://trac.webkit.org/changeset/195062</a></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>