Commit 904b372b authored by Frank Tang's avatar Frank Tang Committed by V8 LUCI CQ

[Temporal] (Calendar|TimeZone).prototype.toJSON

Also change the macro to pass method name directly to CHECK_RECEIVER()
Remove MACROs which has up to only two usage.
Sync with changes in
https://github.com/tc39/proposal-temporal/pull/1693

Spec Text:
https://tc39.es/proposal-temporal/#sec-temporal.calendar.prototype.tojson
https://tc39.es/proposal-temporal/#sec-temporal.timezone.prototype.tojson

Bug: v8:11544
Change-Id: I31f4ef6f725462da885893f1266d30590098b031
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3438378Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80363}
parent 60135f9f
This diff is collapsed.
......@@ -1649,9 +1649,6 @@
'built-ins/Temporal/TimeZone/prototype/getPreviousTransition/argument-zoneddatetime': [FAIL],
'built-ins/Temporal/TimeZone/prototype/getPreviousTransition/branding': [FAIL],
'built-ins/Temporal/TimeZone/prototype/getPreviousTransition/instant-string': [FAIL],
'built-ins/Temporal/TimeZone/prototype/toJSON/tostring-call': [FAIL],
'built-ins/Temporal/TimeZone/prototype/toJSON/tostring-undefined-custom': [FAIL],
'built-ins/Temporal/TimeZone/prototype/toJSON/tostring-undefined': [FAIL],
'built-ins/Temporal/ZonedDateTime/compare/argument-propertybag-timezone-getoffsetnanosecondsfor-non-integer': [FAIL],
'built-ins/Temporal/ZonedDateTime/compare/argument-propertybag-timezone-getoffsetnanosecondsfor-not-callable': [FAIL],
'built-ins/Temporal/ZonedDateTime/compare/argument-propertybag-timezone-getoffsetnanosecondsfor-out-of-range': [FAIL],
......@@ -2177,12 +2174,10 @@
'built-ins/Temporal/Calendar/prototype/daysInWeek/year-zero': [FAIL],
'built-ins/Temporal/Calendar/prototype/daysInYear/year-zero': [FAIL],
'built-ins/Temporal/Calendar/prototype/day/year-zero': [FAIL],
'built-ins/Temporal/Calendar/prototype/id/branding': [FAIL],
'built-ins/Temporal/Calendar/prototype/inLeapYear/year-zero': [FAIL],
'built-ins/Temporal/Calendar/prototype/monthCode/year-zero': [FAIL],
'built-ins/Temporal/Calendar/prototype/monthsInYear/year-zero': [FAIL],
'built-ins/Temporal/Calendar/prototype/month/year-zero': [FAIL],
'built-ins/Temporal/Calendar/prototype/toJSON/branding': [FAIL],
'built-ins/Temporal/Calendar/prototype/weekOfYear/year-zero': [FAIL],
'built-ins/Temporal/Calendar/prototype/year/year-zero': [FAIL],
'built-ins/Temporal/Duration/compare/argument-string-fractional-units-rounding-mode': [FAIL],
......@@ -2458,8 +2453,6 @@
'built-ins/Temporal/TimeZone/prototype/getPlainDateTimeFor/year-zero': [FAIL],
'built-ins/Temporal/TimeZone/prototype/getPossibleInstantsFor/year-zero': [FAIL],
'built-ins/Temporal/TimeZone/prototype/getPreviousTransition/year-zero': [FAIL],
'built-ins/Temporal/TimeZone/prototype/id/branding': [FAIL],
'built-ins/Temporal/TimeZone/prototype/toJSON/branding': [FAIL],
'built-ins/Temporal/ZonedDateTime/compare/argument-propertybag-offset-not-agreeing-with-timezone': [FAIL],
'built-ins/Temporal/ZonedDateTime/compare/year-zero': [FAIL],
'built-ins/Temporal/ZonedDateTime/from/argument-propertybag-offset-not-agreeing-with-timezone': [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