DescriptionThrow when case mapping result > max string length
Throw 'Range Error: invalid string length' when the result of
case mapping is longer than the max string length (kMaxLength in
objects.h = 1 << 28 - 16).
This is for case mapping with ICU.
BUG=v8:5271
TEST=intl/general/case-mapping.js with --icu_case_mapping
Committed: https://crrev.com/c7a2046670468b900b9dbbb4ce45beb5e0e717fd
Cr-Commit-Position: refs/heads/master@{#38565}
Patch Set 1 #Patch Set 2 : add tests #
Total comments: 2
Patch Set 3 : AssertThrows and destructuring #
Messages
Total messages: 17 (6 generated)
|