• Jeremy Roman's avatar
    Expose v8::TypedArray::kMaxLength. · 19fee8b2
    Jeremy Roman authored
    There is an API check failure if values larger than i::Smi::kMaxValue are
    provided, but it is inconvenient for API users to know what this value is
    (and SIZE_MAX and INT_MAX are both incorrect).
    
    This is analogous to v8::String::kMaxLength.
    
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Bug: chromium:750788
    Change-Id: Ic3e0da62aeacfeb996122595232aa0ea8744517e
    Reviewed-on: https://chromium-review.googlesource.com/594677Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Jeremy Roman <jbroman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47099}
    19fee8b2
api.cc 386 KB