• Jakob Kummerow's avatar
    [bigint] Fix abstract equality with junk strings · 98df94cd
    Jakob Kummerow authored
    Abstract equality comparison of a BigInt and a String converts the
    latter to BigInt. This conversion can fail; since we do not want to
    pass a context to the comparison function, we must signal such failure
    without throwing an exception.
    This CL uses the existing ShouldThrow enum to configure behavior of
    String-to-BigInt conversion, moving it out of Object into globals.h.
    
    Bug: v8:6791, v8:6979
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Change-Id: Ibb98675079b8392cf03bbcbbbd5556108500a32d
    Reviewed-on: https://chromium-review.googlesource.com/734172
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48946}
    98df94cd
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...