[Webkit-unassigned] [Bug 198495] Date.prototype.toJSON throws if toISOString returns an object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 4 16:36:13 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=198495

Alex Christensen <achristensen at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |achristensen at apple.com

--- Comment #18 from Alex Christensen <achristensen at apple.com> ---
Comment on attachment 371240
  --> https://bugs.webkit.org/attachment.cgi?id=371240
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=371240&action=review

> Source/JavaScriptCore/ChangeLog:8
> +        Don't throw TypeError if result of toISOString call is not a primitive.

What's the motivation for this change?  Is there a relevant specification?  How do other browsers behave?

-- 
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/20190604/c8737b42/attachment-0001.html>


More information about the webkit-unassigned mailing list