[webkit-reviews] review granted: [Bug 185868] Date.parse() doesn't properly handle input outside of ES Spec limits : [Attachment 341111] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 23 12:07:02 PDT 2018


Mark Lam <mark.lam at apple.com> has granted Michael Saboff <msaboff at apple.com>'s
request for review:
Bug 185868: Date.parse() doesn't properly handle input outside of ES Spec
limits
https://bugs.webkit.org/show_bug.cgi?id=185868

Attachment 341111: Patch

https://bugs.webkit.org/attachment.cgi?id=341111&action=review




--- Comment #2 from Mark Lam <mark.lam at apple.com> ---
Comment on attachment 341111
  --> https://bugs.webkit.org/attachment.cgi?id=341111
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.


More information about the webkit-reviews mailing list