• jshin's avatar
    Move lang-code checking for case-mapping to C++ from JS · db883422
    jshin authored
    Move the language code checking for 4 languages requiring
    special case mapping to C++ from JavaScript.
    
    This is a speculative fix for crashes reported from Windows and
    Mac Chrome canary builds when icu-case-mapping is enabled by
    default. (see crbug.com/676643)
    
    In addition, tighten up comparision operators in a couple of
    places in i18n.js (=== and !== instead of == and !=).
    
    BUG=v8:4477, v8:4476, chromium:676643
    TEST=test262/{built-ins,intl402}/Strings/*, webkit/fast/js/*,
         mjsunit/string-case, intl/general/case*
    
    Review-Url: https://codereview.chromium.org/2621393002
    Cr-Commit-Position: refs/heads/master@{#42246}
    db883422
Name
Last commit
Last update
..
OWNERS Loading commit data...
array.js Loading commit data...
arraybuffer.js Loading commit data...
async-await.js Loading commit data...
collection-iterator.js Loading commit data...
collection.js Loading commit data...
datetime-format-to-parts.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...
macros.py Loading commit data...
messages.js Loading commit data...
prologue.js Loading commit data...
promise.js Loading commit data...
proxy.js Loading commit data...
runtime.js Loading commit data...
spread.js Loading commit data...
string.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...