[Webkit-unassigned] [Bug 197362] New: SameValueZero implementation bug
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 29 00:54:22 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=197362
Bug ID: 197362
Summary: SameValueZero implementation bug
Product: WebKit
Version: Safari 12
Hardware: Macintosh
OS: macOS 10.13
Status: NEW
Severity: Major
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: me at nuragic.io
Given this code:
`const uniqueSet = new Set([NaN, 0/0])`
The content of `uniqueSet` is:
`Set {NaN, NaN} (2)`
This behaviour violates the step 2.a. of the SameValueZero spec which states:
> "If x is NaN and y is NaN, return true."
https://www.ecma-international.org/ecma-262/#sec-samevaluezero
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190429/e765d2ab/attachment.html>
More information about the webkit-unassigned
mailing list