Change length from 0 to 2 for Intl.DisplayNames
Bug: v8:10733 Change-Id: I417c19b13ecc3de1e7a33ed31e4eb0129eabe7e8 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2309113 Reviewed-by: Shu-yu Guo <syg@chromium.org> Commit-Queue: Frank Tang <ftang@chromium.org> Cr-Commit-Position: refs/heads/master@{#68952}
This commit is contained in:
parent
6b4e55a892
commit
583f5ecc23
@ -3033,7 +3033,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
||||
isolate(), intl, "DisplayNames", JS_DISPLAY_NAMES_TYPE,
|
||||
JSDisplayNames::kHeaderSize, 0, factory->the_hole_value(),
|
||||
Builtins::kDisplayNamesConstructor);
|
||||
display_names_fun->shared().set_length(0);
|
||||
display_names_fun->shared().set_length(2);
|
||||
display_names_fun->shared().DontAdaptArguments();
|
||||
InstallWithIntrinsicDefaultProto(
|
||||
isolate(), display_names_fun,
|
||||
|
@ -457,6 +457,9 @@
|
||||
# https://bugs.chromium.org/p/v8/issues/detail?id=7472
|
||||
'intl402/NumberFormat/currency-digits': [FAIL],
|
||||
|
||||
# https://github.com/tc39/test262/pull/2711
|
||||
'intl402/DisplayNames/length': [FAIL],
|
||||
|
||||
# https://bugs.chromium.org/p/v8/issues/detail?id=7831
|
||||
'language/statements/generators/generator-created-after-decl-inst': [FAIL],
|
||||
'language/expressions/generators/generator-created-after-decl-inst': [FAIL],
|
||||
|
Loading…
Reference in New Issue
Block a user