Commit 071accdf authored by Frank Tang's avatar Frank Tang Committed by Commit Bot

[Intl] Implement formatToParts of Intl.ListFormat

Change ListFormat.prototype.formatToParts to use FieldPositionIterator

Bug: v8:8152
Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Change-Id: I03e64f9843e55e624fa9ec090f5b3db7b4949f47
Reviewed-on: https://chromium-review.googlesource.com/c/1215273
Commit-Queue: Frank Tang <ftang@chromium.org>
Reviewed-by: 's avatarSathya Gunasekaran <gsathya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57199}
parent 7350e7b2
......@@ -37,6 +37,7 @@
V(_, kana_string, "kana") \
V(_, letter_string, "letter") \
V(_, lineBreakStyle_string, "lineBreakStyle") \
V(_, list_string, "list") \
V(_, literal_string, "literal") \
V(_, locale_string, "locale") \
V(_, localeWithExtension_string, "localeWithExtension") \
......
This diff is collapsed.
......@@ -610,9 +610,6 @@
# https://bugs.chromium.org/p/v8/issues/detail?id=8099
'intl402/NumberFormat/prototype/format/format-negative-numbers': [FAIL],
# https://bugs.chromium.org/p/v8/issues/detail?id=7871
'intl402/ListFormat/prototype/formatToParts/en-us-disjunction': [FAIL],
# https://bugs.chromium.org/p/v8/issues/detail?id=8382
'intl402/RelativeTimeFormat/prototype/formatToParts/en-us-numeric-auto': [FAIL],
'intl402/RelativeTimeFormat/prototype/formatToParts/en-us-numeric-always': [FAIL],
......
......@@ -297,42 +297,42 @@ KNOWN_MAPS = {
("RO_SPACE", 0x02699): (171, "Tuple2Map"),
("RO_SPACE", 0x02739): (173, "ArrayBoilerplateDescriptionMap"),
("RO_SPACE", 0x02a79): (161, "InterceptorInfoMap"),
("RO_SPACE", 0x05119): (153, "AccessCheckInfoMap"),
("RO_SPACE", 0x05169): (154, "AccessorInfoMap"),
("RO_SPACE", 0x051b9): (155, "AccessorPairMap"),
("RO_SPACE", 0x05209): (156, "AliasedArgumentsEntryMap"),
("RO_SPACE", 0x05259): (157, "AllocationMementoMap"),
("RO_SPACE", 0x052a9): (158, "AsyncGeneratorRequestMap"),
("RO_SPACE", 0x052f9): (159, "DebugInfoMap"),
("RO_SPACE", 0x05349): (160, "FunctionTemplateInfoMap"),
("RO_SPACE", 0x05399): (162, "InterpreterDataMap"),
("RO_SPACE", 0x053e9): (163, "ModuleInfoEntryMap"),
("RO_SPACE", 0x05439): (164, "ModuleMap"),
("RO_SPACE", 0x05489): (165, "ObjectTemplateInfoMap"),
("RO_SPACE", 0x054d9): (166, "PromiseCapabilityMap"),
("RO_SPACE", 0x05529): (167, "PromiseReactionMap"),
("RO_SPACE", 0x05579): (168, "PrototypeInfoMap"),
("RO_SPACE", 0x055c9): (169, "ScriptMap"),
("RO_SPACE", 0x05619): (170, "StackFrameInfoMap"),
("RO_SPACE", 0x05669): (172, "Tuple3Map"),
("RO_SPACE", 0x056b9): (174, "WasmDebugInfoMap"),
("RO_SPACE", 0x05709): (175, "WasmExportedFunctionDataMap"),
("RO_SPACE", 0x05759): (176, "CallableTaskMap"),
("RO_SPACE", 0x057a9): (177, "CallbackTaskMap"),
("RO_SPACE", 0x057f9): (178, "PromiseFulfillReactionJobTaskMap"),
("RO_SPACE", 0x05849): (179, "PromiseRejectReactionJobTaskMap"),
("RO_SPACE", 0x05899): (180, "PromiseResolveThenableJobTaskMap"),
("RO_SPACE", 0x058e9): (181, "WeakFactoryCleanupJobTaskMap"),
("RO_SPACE", 0x05939): (182, "MicrotaskQueueMap"),
("RO_SPACE", 0x05989): (183, "AllocationSiteWithWeakNextMap"),
("RO_SPACE", 0x059d9): (183, "AllocationSiteWithoutWeakNextMap"),
("RO_SPACE", 0x05a29): (215, "LoadHandler1Map"),
("RO_SPACE", 0x05a79): (215, "LoadHandler2Map"),
("RO_SPACE", 0x05ac9): (215, "LoadHandler3Map"),
("RO_SPACE", 0x05b19): (222, "StoreHandler0Map"),
("RO_SPACE", 0x05b69): (222, "StoreHandler1Map"),
("RO_SPACE", 0x05bb9): (222, "StoreHandler2Map"),
("RO_SPACE", 0x05c09): (222, "StoreHandler3Map"),
("RO_SPACE", 0x05131): (153, "AccessCheckInfoMap"),
("RO_SPACE", 0x05181): (154, "AccessorInfoMap"),
("RO_SPACE", 0x051d1): (155, "AccessorPairMap"),
("RO_SPACE", 0x05221): (156, "AliasedArgumentsEntryMap"),
("RO_SPACE", 0x05271): (157, "AllocationMementoMap"),
("RO_SPACE", 0x052c1): (158, "AsyncGeneratorRequestMap"),
("RO_SPACE", 0x05311): (159, "DebugInfoMap"),
("RO_SPACE", 0x05361): (160, "FunctionTemplateInfoMap"),
("RO_SPACE", 0x053b1): (162, "InterpreterDataMap"),
("RO_SPACE", 0x05401): (163, "ModuleInfoEntryMap"),
("RO_SPACE", 0x05451): (164, "ModuleMap"),
("RO_SPACE", 0x054a1): (165, "ObjectTemplateInfoMap"),
("RO_SPACE", 0x054f1): (166, "PromiseCapabilityMap"),
("RO_SPACE", 0x05541): (167, "PromiseReactionMap"),
("RO_SPACE", 0x05591): (168, "PrototypeInfoMap"),
("RO_SPACE", 0x055e1): (169, "ScriptMap"),
("RO_SPACE", 0x05631): (170, "StackFrameInfoMap"),
("RO_SPACE", 0x05681): (172, "Tuple3Map"),
("RO_SPACE", 0x056d1): (174, "WasmDebugInfoMap"),
("RO_SPACE", 0x05721): (175, "WasmExportedFunctionDataMap"),
("RO_SPACE", 0x05771): (176, "CallableTaskMap"),
("RO_SPACE", 0x057c1): (177, "CallbackTaskMap"),
("RO_SPACE", 0x05811): (178, "PromiseFulfillReactionJobTaskMap"),
("RO_SPACE", 0x05861): (179, "PromiseRejectReactionJobTaskMap"),
("RO_SPACE", 0x058b1): (180, "PromiseResolveThenableJobTaskMap"),
("RO_SPACE", 0x05901): (181, "WeakFactoryCleanupJobTaskMap"),
("RO_SPACE", 0x05951): (182, "MicrotaskQueueMap"),
("RO_SPACE", 0x059a1): (183, "AllocationSiteWithWeakNextMap"),
("RO_SPACE", 0x059f1): (183, "AllocationSiteWithoutWeakNextMap"),
("RO_SPACE", 0x05a41): (215, "LoadHandler1Map"),
("RO_SPACE", 0x05a91): (215, "LoadHandler2Map"),
("RO_SPACE", 0x05ae1): (215, "LoadHandler3Map"),
("RO_SPACE", 0x05b31): (222, "StoreHandler0Map"),
("RO_SPACE", 0x05b81): (222, "StoreHandler1Map"),
("RO_SPACE", 0x05bd1): (222, "StoreHandler2Map"),
("RO_SPACE", 0x05c21): (222, "StoreHandler3Map"),
("MAP_SPACE", 0x00139): (1057, "ExternalMap"),
("MAP_SPACE", 0x00189): (1073, "JSMessageObjectMap"),
}
......
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