Summary: | Date.parse() doesn't properly handle input outside of ES Spec limits | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Michael Saboff <msaboff> | ||||
Component: | JavaScriptCore | Assignee: | Michael Saboff <msaboff> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | benjamin, cdumez, cmarcelo, dbates, ews-watchlist, mark.lam, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Michael Saboff
2018-05-22 07:50:36 PDT
Created attachment 341111 [details]
Patch
Comment on attachment 341111 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=341111&action=review r=me > Source/WTF/wtf/DateMath.cpp:562 > + // Clamp to EcmaScript standard of +/- 100,000,000 days from 01 January, 1970. Let's add a link to https://tc39.github.io/ecma262/#sec-time-values-and-time-range here. Committed r232122: <https://trac.webkit.org/changeset/232122> |