Commit 5609e27e authored by Frank Tang's avatar Frank Tang Committed by Commit Bot

[Intl] fix Intl.Locale toStringTag bugs

Bug: v8:7684
Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Change-Id: I48490187d4cb967b3567ff12306aad094698d0ee
Reviewed-on: https://chromium-review.googlesource.com/1218062Reviewed-by: 's avatarSathya Gunasekaran <gsathya@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55773}
parent 1cc57350
......@@ -4667,7 +4667,7 @@ void Genesis::InitializeGlobal_harmony_locale() {
// Install the @@toStringTag property on the {prototype}.
JSObject::AddProperty(isolate(), prototype, factory()->to_string_tag_symbol(),
factory()->NewStringFromAsciiChecked("Locale"),
factory()->NewStringFromStaticChars("Intl.Locale"),
static_cast<PropertyAttributes>(DONT_ENUM | READ_ONLY));
SimpleInstallFunction(isolate(), prototype, "toString",
......
......@@ -595,8 +595,6 @@
'intl402/Locale/invalid-tag-throws': [FAIL],
'intl402/Locale/likely-subtags': [FAIL],
'intl402/Locale/likely-subtags-grandfathered': [FAIL],
'intl402/Locale/prototype/toStringTag/toStringTag': [FAIL],
'intl402/Locale/prototype/toStringTag/toString': [FAIL],
# https://bugs.chromium.org/p/v8/issues/detail?id=6705
'built-ins/Object/assign/strings-and-symbol-order': [FAIL],
......
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