<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Strict Equality on objects should only check that one of the two sides is an object."
   href="https://bugs.webkit.org/show_bug.cgi?id=145992#c32">Comment # 32</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Strict Equality on objects should only check that one of the two sides is an object."
   href="https://bugs.webkit.org/show_bug.cgi?id=145992">bug 145992</a>
              from <span class="vcard"><a class="email" href="mailto:msaboff&#64;apple.com" title="Michael Saboff &lt;msaboff&#64;apple.com&gt;"> <span class="fn">Michael Saboff</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=255486&amp;action=diff" name="attach_255486" title="Patch">attachment 255486</a> <a href="attachment.cgi?id=255486&amp;action=edit" title="Patch">[details]</a></span>
Patch

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

<span class="quote">&gt; Source/JavaScriptCore/tests/stress/equality-type-checking.js:23
&gt; +if (address === undefined)</span >

Since address is a Number, we should fail with the type check part of === and never get to compare &quot;address&quot; with the Cell*.  I'm trying to figure out how comparing against the address as a number adds to the testing.

<span class="quote">&gt; Source/JavaScriptCore/tests/stress/equality-type-checking.js:26
&gt; +if (foo === address || address === foo)</span >

Same comment about comparing the a cell* address as a number with the object.</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>