[Webkit-unassigned] [Bug 145992] Strict Equality on objects should only check that one of the two sides is an object.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 24 10:47:47 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145992

--- Comment #32 from Michael Saboff <msaboff at apple.com> ---
Comment on attachment 255486
  --> https://bugs.webkit.org/attachment.cgi?id=255486
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=255486&action=review

> 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.

> Source/JavaScriptCore/tests/stress/equality-type-checking.js:26
> +if (foo === address || address === foo)

Same comment about comparing the a cell* address as a number with the object.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150624/9cc6f901/attachment.html>


More information about the webkit-unassigned mailing list