[Webkit-unassigned] [Bug 215034] New: Date creation methods incorrectly clip to Int32
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 31 14:44:28 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=215034
Bug ID: 215034
Summary: Date creation methods incorrectly clip to Int32
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: me at gus.host
$ eshost -s -e 'Date.UTC(1970, 0, 1, 0, 0, 0, 2**32)'
#### ChakraCore, engine262, engine262+, GraalJS, Moddable XS, QuickJS, SpiderMonkey, V8
4294967296
#### JavaScriptCore
NaN
Relevant code here: https://github.com/WebKit/webkit/blob/de7fb331a9fb6ed6773508765f9498fb12f90b4d/Source/JavaScriptCore/runtime/DateConstructor.cpp#L84-L96
--
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/20200731/7108ee9b/attachment-0001.htm>
More information about the webkit-unassigned
mailing list