WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
215034
Date creation methods incorrectly clip to Int32
https://bugs.webkit.org/show_bug.cgi?id=215034
Summary
Date creation methods incorrectly clip to Int32
me
Reported
2020-07-31 14:44:28 PDT
$ 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
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-08-01 12:59:39 PDT
<
rdar://problem/66429109
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug