• littledan's avatar
    Avoid calling the builtin String.prototype.split in Intl · 97e8046e
    littledan authored
    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
    
    Review-Url: https://codereview.chromium.org/2126073002
    Cr-Commit-Position: refs/heads/master@{#37615}
    97e8046e
Name
Last commit
Last update
..
OWNERS Loading commit data...
array-iterator.js Loading commit data...
array.js Loading commit data...
arraybuffer.js Loading commit data...
collection-iterator.js Loading commit data...
collection.js Loading commit data...
harmony-async-await.js Loading commit data...
harmony-atomics.js Loading commit data...
harmony-simd.js Loading commit data...
harmony-string-padding.js Loading commit data...
i18n.js Loading commit data...
icu-case-mapping.js Loading commit data...
intl-extra.js Loading commit data...
iterator-prototype.js Loading commit data...
macros.py Loading commit data...
math.js Loading commit data...
messages.js Loading commit data...
prologue.js Loading commit data...
promise-extra.js Loading commit data...
promise.js Loading commit data...
proxy.js Loading commit data...
regexp.js Loading commit data...
runtime.js Loading commit data...
spread.js Loading commit data...
string-iterator.js Loading commit data...
string.js Loading commit data...
symbol.js Loading commit data...
templates.js Loading commit data...
typedarray.js Loading commit data...
v8natives.js Loading commit data...
weak-collection.js Loading commit data...