From 5039f2139665bb27839dd997a6b6a0f9a27ddf07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 20 Jul 2021 09:15:38 +0200 Subject: [PATCH] deps: V8: backport 16ffec97e5eb Original commit message: Fix maximize/minimize of Intl.Locale Roll ICU to 46f53dfc chromium/src/DEPS already roll in https://chromium-review.googlesource.com/c/chromium/src/+/2235734 Bug: v8:10448 Change-Id: I147189527e57282c6cc7a1e92f832275d5ef55c6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2237353 Reviewed-by: Shu-yu Guo Commit-Queue: Frank Tang Cr-Commit-Position: refs/heads/master@{#68275} Refs: https://github.com/v8/v8/commit/16ffec97e5eb3d7555817dba7e16d1944b359799 PR-URL: https://github.com/nodejs/node/pull/39051 Reviewed-By: Jiawen Geng Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau --- common.gypi | 2 +- deps/v8/test/intl/regress-7982.js | 2 +- deps/v8/test/test262/test262.status | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/common.gypi b/common.gypi index 5755d8e4744393..a8b38b25678171 100644 --- a/common.gypi +++ b/common.gypi @@ -36,7 +36,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.74', + 'v8_embedder_string': '-node.75', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/test/intl/regress-7982.js b/deps/v8/test/intl/regress-7982.js index 92bcaf9d82309f..95151e703484c1 100644 --- a/deps/v8/test/intl/regress-7982.js +++ b/deps/v8/test/intl/regress-7982.js @@ -17,7 +17,7 @@ assertEquals("zh-TW-u-ca-chinese", new Intl.Locale("zh-TW-u-ca-chinese").minimiz assertEquals("zh-Hant-HK-u-ca-chinese", new Intl.Locale("zh-HK-u-ca-chinese").maximize().toString()); assertEquals("zh-HK-u-ca-chinese", new Intl.Locale("zh-HK-u-ca-chinese").minimize().toString()); assertEquals("zh-Hant-TW-u-ca-chinese", new Intl.Locale("zh-Hant-u-ca-chinese").maximize().toString()); -assertEquals("zh-Hant-u-ca-chinese", new Intl.Locale("zh-Hant-u-ca-chinese").minimize().toString()); +assertEquals("zh-TW-u-ca-chinese", new Intl.Locale("zh-Hant-u-ca-chinese").minimize().toString()); assertEquals("zh-Hans-CN-u-ca-chinese", new Intl.Locale("zh-Hans-u-ca-chinese").maximize().toString()); assertEquals("zh-u-ca-chinese", new Intl.Locale("zh-Hans-u-ca-chinese").minimize().toString()); assertEquals("zh-Hant-CN-u-ca-chinese", new Intl.Locale("zh-Hant-CN-u-ca-chinese").maximize().toString()); diff --git a/deps/v8/test/test262/test262.status b/deps/v8/test/test262/test262.status index 6057d3f74cf4d7..ce68783c33ce90 100644 --- a/deps/v8/test/test262/test262.status +++ b/deps/v8/test/test262/test262.status @@ -507,9 +507,6 @@ 'intl402/Intl/getCanonicalLocales/unicode-ext-canonicalize-yes-to-true': [FAIL], 'intl402/Intl/getCanonicalLocales/unicode-ext-key-with-digit': [FAIL], - # http://crbug/v8/10448 - 'intl402/Locale/prototype/minimize/removing-likely-subtags-first-adds-likely-subtags': [FAIL], - # https://bugs.chromium.org/p/v8/issues/detail?id=9646 'built-ins/ThrowTypeError/name': [FAIL], 'language/expressions/class/name': [FAIL],