Commit d6dd4a8d authored by Clemens Backes's avatar Clemens Backes Committed by Commit Bot

Revert "Fix SEGMAP_ERR by rolling ICU?"

This reverts commit 44380f80.

Reason for revert: Breaks tsan, msan and ubsan, e.g. https://ci.chromium.org/p/v8/builders/ci/V8%20Linux64%20TSAN/30187

Original change's description:
> Fix SEGMAP_ERR by rolling ICU?
> 
> Fix Intl.ListFormat long strings cause SEGMAP_ERR
> Add slow regression test.
> 
> Bug: chromium:1044570
> Change-Id: I20e3523832ac3c69e88c11bd530122bbe782ad01
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2032712
> Reviewed-by: Shu-yu Guo <syg@chromium.org>
> Reviewed-by: Michael Achenbach <machenbach@chromium.org>
> Commit-Queue: Frank Tang <ftang@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#66140}

TBR=machenbach@chromium.org,ftang@chromium.org,syg@chromium.org

Change-Id: I079a675b754b413398d327c44bfeded9c7406333
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:1044570
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2039355Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66141}
parent 44380f80
...@@ -39,9 +39,6 @@ ...@@ -39,9 +39,6 @@
# http://crbug/v8/9930 # http://crbug/v8/9930
'date-format/format_range_hour_cycle': [FAIL], 'date-format/format_range_hour_cycle': [FAIL],
# Slow tests.
'regress-1044570': [PASS, SLOW, NO_VARIANTS],
}], # ALWAYS }], # ALWAYS
['variant == no_wasm_traps', { ['variant == no_wasm_traps', {
......
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Test no crash with array of very long string.
const num = 0xAFFFFFF;
const lfm = new Intl.ListFormat();
const s = 'a'.repeat(num);
// Ensure the following won't crash. The length will be 0
// because it will be too long to return correct result.
assertEquals(0, lfm.format(Array(16).fill(s)).length);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment