[Webkit-unassigned] [Bug 230331] Various tweaks in preparation for Temporal.Instant

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 15 18:32:41 PDT 2021


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

--- Comment #3 from Yusuke Suzuki <ysuzuki at apple.com> ---
Comment on attachment 438310
  --> https://bugs.webkit.org/attachment.cgi?id=438310
Patch

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

>> Source/JavaScriptCore/runtime/TemporalDuration.cpp:146
>> +            throwRangeError(globalObject, scope, makeString("'"_s, string, "' is not a valid Duration string"_s));
> 
> Need to handle the case string is INT32_MAX size already.
> We need to truncate the string if it is too long.

Can you add a test passing super long string? `"T".repeat(int32_max)`

-- 
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/20210916/ba27a190/attachment.htm>


More information about the webkit-unassigned mailing list