<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#c33">Comment # 33</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:mark.lam@apple.com" title="Mark Lam <mark.lam@apple.com>"> <span class="fn">Mark Lam</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=145992#c32">comment #32</a>)
<span class="quote">> Comment on <span class=""><a href="attachment.cgi?id=255486&action=diff" name="attach_255486" title="Patch">attachment 255486</a> <a href="attachment.cgi?id=255486&action=edit" title="Patch">[details]</a></span>
> Patch
>
> View in context:
> <a href="https://bugs.webkit.org/attachment.cgi?id=255486&action=review">https://bugs.webkit.org/attachment.cgi?id=255486&action=review</a>
>
> > Source/JavaScriptCore/tests/stress/equality-type-checking.js:23
> > +if (address === undefined)
>
> Since address is a Number, we should fail with the type check part of ===
> and never get to compare "address" with the Cell*. I'm trying to figure out
> how comparing against the address as a number adds to the testing.</span >
The bug he is testing for is that there’s a 32-bit case where he / someone forgot to compare the tag as well. In that case, the number would masquerade as the cell. This test ensures that === compares the tag as well.</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>