DescriptionAvoid calling the builtin String.prototype.split in Intl
The Intl code previously called the initial value of String.prototype.split
for some internal operations. However, this did not have the intended effect
as Intl only needs to split strings by strings, but String.prototype.split
has integration with Symbol.split for RegExps.
This patch replaces the calls of StringSplit in the Intl implementation
with direct calls to the %StringSplit runtime function to avoid the issue.
R=yangguo@chromium.org
BUG=v8:5179
Committed: https://crrev.com/97e8046e444da3e7e4729aa1ee5a4f86d56f69d0
Cr-Commit-Position: refs/heads/master@{#37615}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Call %StringSplit directly at callsites #Patch Set 3 : Remove stray newline #
Messages
Total messages: 22 (9 generated)
|