<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[283666] trunk/JSTests</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/283666">283666</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2021-10-06 14:38:11 -0700 (Wed, 06 Oct 2021)</dd>
</dl>

<h3>Log Message</h3>
<pre>[JSC] Update test262
https://bugs.webkit.org/show_bug.cgi?id=231201

Add tests that were somehow cut off in the previous patch.

Patch by Philip Chimento <pchimento@igalia.com> on 2021-10-06
Reviewed by Ross Kirsling.

* test262/test/built-ins/Temporal/Now/*: Added.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkJSTestsChangeLog">trunk/JSTests/ChangeLog</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/</li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDatecalendartemporalobjectjs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/calendar-temporal-object.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDatelengthjs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/length.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDatetimezonegetoffsetnanosecondsfornonintegerjs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-getoffsetnanosecondsfor-non-integer.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDatetimezonegetoffsetnanosecondsforoutofrangejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-getoffsetnanosecondsfor-out-of-range.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDatetimezonegetoffsetnanosecondsforwrongtypejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-getoffsetnanosecondsfor-wrong-type.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDatetimezonestringdatetimejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-string-datetime.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDatetoPlainDateoverridejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/toPlainDate-override.js</a></li>
<li>trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/</li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDateISOlengthjs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/length.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDateISOtimezonegetoffsetnanosecondsfornonintegerjs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-getoffsetnanosecondsfor-non-integer.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDateISOtimezonegetoffsetnanosecondsforoutofrangejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-getoffsetnanosecondsfor-out-of-range.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDateISOtimezonegetoffsetnanosecondsforwrongtypejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-getoffsetnanosecondsfor-wrong-type.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDateISOtimezonestringdatetimejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-string-datetime.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDateTimetimezonestringdatetimejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateTime/timezone-string-datetime.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainDateTimetimezonejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateTime/timezone.js</a></li>
<li>trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/</li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOlengthjs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/length.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOtimezonegetoffsetnanosecondsfornonintegerjs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-getoffsetnanosecondsfor-non-integer.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOtimezonegetoffsetnanosecondsforoutofrangejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-getoffsetnanosecondsfor-out-of-range.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOtimezonegetoffsetnanosecondsforwrongtypejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-getoffsetnanosecondsfor-wrong-type.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOtimezonestringdatetimejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-string-datetime.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOtimezonejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOtoPlainTimeoverridejs">trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/toPlainTime-override.js</a></li>
<li>trunk/JSTests/test262/test/built-ins/Temporal/Now/toStringTag/</li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowtoStringTagpropdescjs">trunk/JSTests/test262/test/built-ins/Temporal/Now/toStringTag/prop-desc.js</a></li>
<li><a href="#trunkJSTeststest262testbuiltinsTemporalNowtoStringTagstringjs">trunk/JSTests/test262/test/built-ins/Temporal/Now/toStringTag/string.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkJSTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/JSTests/ChangeLog (283665 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/ChangeLog  2021-10-06 21:24:39 UTC (rev 283665)
+++ trunk/JSTests/ChangeLog     2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -3,8 +3,19 @@
</span><span class="cx">         [JSC] Update test262
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=231201
</span><span class="cx"> 
</span><ins>+        Add tests that were somehow cut off in the previous patch.
+
</ins><span class="cx">         Reviewed by Ross Kirsling.
</span><span class="cx"> 
</span><ins>+        * test262/test/built-ins/Temporal/Now/*: Added.
+
+2021-10-06  Philip Chimento  <pchimento@igalia.com>
+
+        [JSC] Update test262
+        https://bugs.webkit.org/show_bug.cgi?id=231201
+
+        Reviewed by Ross Kirsling.
+
</ins><span class="cx">         Update test262 to latest, to bring in Temporal tests.
</span><span class="cx"> 
</span><span class="cx">         * test262/config.yaml: Ignore tests that depend on unimplemented parts
</span></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDatecalendartemporalobjectjs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/calendar-temporal-object.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/calendar-temporal-object.js                          (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/calendar-temporal-object.js     2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindate
+description: Fast path for converting other Temporal objects to Temporal.Calendar by reading internal slots
+info: |
+    sec-temporal.now.plaindate step 1:
+      1. Let _dateTime_ be ? SystemDateTime(_temporalTimeZoneLike_, _calendar_).
+    sec-temporal-systemdatetime step 3:
+      3. Let _calendar_ be ? ToTemporalCalendar(_calendarLike_).
+    sec-temporal-totemporalcalendar step 1.a:
+      a. If _temporalCalendarLike_ has an [[InitializedTemporalDate]], [[InitializedTemporalDateTime]], [[InitializedTemporalMonthDay]], [[InitializedTemporalYearMonth]], or [[InitializedTemporalZonedDateTime]] internal slot, then
+        i. Return _temporalCalendarLike_.[[Calendar]].
+includes: [compareArray.js, temporalHelpers.js]
+features: [Temporal]
+---*/
+
+TemporalHelpers.checkToTemporalCalendarFastPath((temporalObject, calendar) => {
+  const result = Temporal.Now.plainDate(temporalObject);
+  assert.sameValue(result.calendar, calendar, "Temporal object coerced to calendar");
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDatelengthjs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/length.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/length.js                            (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/length.js       2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+// Copyright (C) 2020 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindate
+description: Temporal.Now.plainDate.length is 1
+info: |
+    Every built-in function object, including constructors, has a "length" property whose value is
+    an integer. Unless otherwise specified, this value is equal to the largest number of named
+    arguments shown in the subclause headings for the function description. Optional parameters
+    (which are indicated with brackets: [ ]) or rest parameters (which are shown using the form
+    «...name») are not included in the default argument count.
+
+    Unless otherwise specified, the "length" property of a built-in function object has the
+    attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
+includes: [propertyHelper.js]
+features: [Temporal]
+---*/
+
+verifyProperty(Temporal.Now.plainDate, "length", {
+  value: 1,
+  writable: false,
+  enumerable: false,
+  configurable: true,
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDatetimezonegetoffsetnanosecondsfornonintegerjs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-getoffsetnanosecondsfor-non-integer.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-getoffsetnanosecondsfor-non-integer.js                              (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-getoffsetnanosecondsfor-non-integer.js 2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindate
+description: RangeError thrown if time zone reports an offset that is not an integer number of nanoseconds
+features: [Temporal]
+includes: [temporalHelpers.js]
+---*/
+
+[3600_000_000_000.5, NaN].forEach((wrongOffset) => {
+  const timeZone = TemporalHelpers.specificOffsetTimeZone(wrongOffset);
+
+  assert.throws(RangeError, () => Temporal.Now.plainDate("iso8601", timeZone));
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDatetimezonegetoffsetnanosecondsforoutofrangejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-getoffsetnanosecondsfor-out-of-range.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-getoffsetnanosecondsfor-out-of-range.js                             (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-getoffsetnanosecondsfor-out-of-range.js        2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindate
+description: RangeError thrown if time zone reports an offset that is out of range
+features: [Temporal]
+includes: [temporalHelpers.js]
+---*/
+
+[-86400_000_000_001, 86400_000_000_001, -Infinity, Infinity].forEach((wrongOffset) => {
+  const timeZone = TemporalHelpers.specificOffsetTimeZone(wrongOffset);
+
+  assert.throws(RangeError, () => Temporal.Now.plainDate("iso8601", timeZone));
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDatetimezonegetoffsetnanosecondsforwrongtypejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-getoffsetnanosecondsfor-wrong-type.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-getoffsetnanosecondsfor-wrong-type.js                               (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-getoffsetnanosecondsfor-wrong-type.js  2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindate
+description: TypeError thrown if time zone reports an offset that is not a Number
+features: [Temporal]
+includes: [temporalHelpers.js]
+---*/
+
+[
+  undefined,
+  null,
+  true,
+  "+01:00",
+  Symbol(),
+  3600_000_000_000n,
+  {},
+  { valueOf() { return 3600_000_000_000; } },
+].forEach((wrongOffset) => {
+  const timeZone = TemporalHelpers.specificOffsetTimeZone(wrongOffset);
+
+  assert.throws(TypeError, () => Temporal.Now.plainDate("iso8601", timeZone));
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDatetimezonestringdatetimejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-string-datetime.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-string-datetime.js                          (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/timezone-string-datetime.js     2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindate
+description: Conversion of ISO date-time strings to Temporal.TimeZone instances
+features: [Temporal]
+---*/
+
+let timeZone = "2021-08-19T17:30";
+assert.throws(RangeError, () => Temporal.Now.plainDate("iso8601", timeZone), "bare date-time string is not a time zone");
+assert.throws(RangeError, () => Temporal.Now.plainDate("iso8601", { timeZone }), "bare date-time string is not a time zone");
+
+// The following are all valid strings so should not throw:
+
+[
+  "2021-08-19T17:30Z",
+  "2021-08-19T17:30-07:00",
+  "2021-08-19T17:30[America/Vancouver]",
+  "2021-08-19T17:30Z[America/Vancouver]",
+  "2021-08-19T17:30-07:00[America/Vancouver]",
+].forEach((timeZone) => {
+  Temporal.Now.plainDate("iso8601", timeZone);
+  Temporal.Now.plainDate("iso8601", { timeZone });
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDatetoPlainDateoverridejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/toPlainDate-override.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/toPlainDate-override.js                              (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDate/toPlainDate-override.js 2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+// Copyright (C) 2020 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindate
+description: PlainDateTime.toPlainDate is not observably called
+includes: [compareArray.js]
+features: [Temporal]
+---*/
+
+const actual = [];
+const expected = [
+  "has timeZone.timeZone",
+  "get timeZone.getOffsetNanosecondsFor",
+  "call timeZone.getOffsetNanosecondsFor",
+];
+
+Object.defineProperty(Temporal.PlainDateTime.prototype, "toPlainDate", {
+  get() {
+    actual.push("get Temporal.PlainDateTime.prototype.toPlainDate");
+    return function() {
+      actual.push("call Temporal.PlainDateTime.prototype.toPlainDate");
+    };
+  },
+});
+
+const timeZone = new Proxy({
+  getOffsetNanosecondsFor(instant) {
+    actual.push("call timeZone.getOffsetNanosecondsFor");
+    assert.sameValue(instant instanceof Temporal.Instant, true, "Instant");
+    return 86399_999_999_999;
+  },
+}, {
+  has(target, property) {
+    actual.push(`has timeZone.${property}`);
+    return property in target;
+  },
+  get(target, property) {
+    actual.push(`get timeZone.${property}`);
+    return target[property];
+  },
+});
+
+const result = Temporal.Now.plainDate("iso8601", timeZone);
+assert.notSameValue(result, undefined);
+assert.sameValue(result instanceof Temporal.PlainDate, true);
+
+assert.compareArray(actual, expected);
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDateISOlengthjs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/length.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/length.js                         (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/length.js    2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+// Copyright (C) 2020 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindateiso
+description: Temporal.Now.plainDateISO.length is 0
+info: |
+    Every built-in function object, including constructors, has a "length" property whose value is
+    an integer. Unless otherwise specified, this value is equal to the largest number of named
+    arguments shown in the subclause headings for the function description. Optional parameters
+    (which are indicated with brackets: [ ]) or rest parameters (which are shown using the form
+    «...name») are not included in the default argument count.
+
+    Unless otherwise specified, the "length" property of a built-in function object has the
+    attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
+includes: [propertyHelper.js]
+features: [Temporal]
+---*/
+
+verifyProperty(Temporal.Now.plainDateISO, "length", {
+  value: 0,
+  writable: false,
+  enumerable: false,
+  configurable: true,
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDateISOtimezonegetoffsetnanosecondsfornonintegerjs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-getoffsetnanosecondsfor-non-integer.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-getoffsetnanosecondsfor-non-integer.js                           (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-getoffsetnanosecondsfor-non-integer.js      2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindateiso
+description: RangeError thrown if time zone reports an offset that is not an integer number of nanoseconds
+features: [Temporal]
+includes: [temporalHelpers.js]
+---*/
+
+[3600_000_000_000.5, NaN].forEach((wrongOffset) => {
+  const timeZone = TemporalHelpers.specificOffsetTimeZone(wrongOffset);
+
+  assert.throws(RangeError, () => Temporal.Now.plainDateISO(timeZone));
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDateISOtimezonegetoffsetnanosecondsforoutofrangejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-getoffsetnanosecondsfor-out-of-range.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-getoffsetnanosecondsfor-out-of-range.js                          (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-getoffsetnanosecondsfor-out-of-range.js     2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindateiso
+description: RangeError thrown if time zone reports an offset that is out of range
+features: [Temporal]
+includes: [temporalHelpers.js]
+---*/
+
+[-86400_000_000_001, 86400_000_000_001, -Infinity, Infinity].forEach((wrongOffset) => {
+  const timeZone = TemporalHelpers.specificOffsetTimeZone(wrongOffset);
+
+  assert.throws(RangeError, () => Temporal.Now.plainDateISO(timeZone));
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDateISOtimezonegetoffsetnanosecondsforwrongtypejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-getoffsetnanosecondsfor-wrong-type.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-getoffsetnanosecondsfor-wrong-type.js                            (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-getoffsetnanosecondsfor-wrong-type.js       2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindateiso
+description: TypeError thrown if time zone reports an offset that is not a Number
+features: [Temporal]
+includes: [temporalHelpers.js]
+---*/
+
+[
+  undefined,
+  null,
+  true,
+  "+01:00",
+  Symbol(),
+  3600_000_000_000n,
+  {},
+  { valueOf() { return 3600_000_000_000; } },
+].forEach((wrongOffset) => {
+  const timeZone = TemporalHelpers.specificOffsetTimeZone(wrongOffset);
+
+  assert.throws(TypeError, () => Temporal.Now.plainDateISO(timeZone));
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDateISOtimezonestringdatetimejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-string-datetime.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-string-datetime.js                               (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateISO/timezone-string-datetime.js  2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindateiso
+description: Conversion of ISO date-time strings to Temporal.TimeZone instances
+features: [Temporal]
+---*/
+
+let timeZone = "2021-08-19T17:30";
+assert.throws(RangeError, () => Temporal.Now.plainDateISO(timeZone), "bare date-time string is not a time zone");
+assert.throws(RangeError, () => Temporal.Now.plainDateISO({ timeZone }), "bare date-time string is not a time zone");
+
+// The following are all valid strings so should not throw:
+
+[
+  "2021-08-19T17:30Z",
+  "2021-08-19T17:30-07:00",
+  "2021-08-19T17:30[America/Vancouver]",
+  "2021-08-19T17:30Z[America/Vancouver]",
+  "2021-08-19T17:30-07:00[America/Vancouver]",
+].forEach((timeZone) => {
+  Temporal.Now.plainDateISO(timeZone);
+  Temporal.Now.plainDateISO({ timeZone });
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDateTimetimezonestringdatetimejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateTime/timezone-string-datetime.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateTime/timezone-string-datetime.js                              (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateTime/timezone-string-datetime.js 2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindatetime
+description: Conversion of ISO date-time strings to Temporal.TimeZone instances
+features: [Temporal]
+---*/
+
+let timeZone = "2021-08-19T17:30";
+assert.throws(RangeError, () => Temporal.Now.plainDateTime("iso8601", timeZone), "bare date-time string is not a time zone");
+assert.throws(RangeError, () => Temporal.Now.plainDateTime("iso8601", { timeZone }), "bare date-time string is not a time zone");
+
+// The following are all valid strings so should not throw:
+
+[
+  "2021-08-19T17:30Z",
+  "2021-08-19T17:30-07:00",
+  "2021-08-19T17:30[America/Vancouver]",
+  "2021-08-19T17:30Z[America/Vancouver]",
+  "2021-08-19T17:30-07:00[America/Vancouver]",
+].forEach((timeZone) => {
+  Temporal.Now.plainDateTime("iso8601", timeZone);
+  Temporal.Now.plainDateTime("iso8601", { timeZone });
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainDateTimetimezonejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateTime/timezone.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateTime/timezone.js                              (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainDateTime/timezone.js 2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+// Copyright (C) 2020 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaindatetime
+description: The value returned by TimeZone.getOffsetNanosecondsFor affects the result
+includes: [compareArray.js]
+features: [Temporal]
+---*/
+
+const actual = [];
+const expected = [
+  "has timeZone.timeZone",
+  "get timeZone.getOffsetNanosecondsFor",
+  "call timeZone.getOffsetNanosecondsFor",
+];
+
+const timeZone = new Proxy({
+  getOffsetNanosecondsFor(instant) {
+    actual.push("call timeZone.getOffsetNanosecondsFor");
+    assert.sameValue(instant instanceof Temporal.Instant, true, "Instant");
+    return -Number(instant.epochNanoseconds % 86400_000_000_000n);
+  },
+}, {
+  has(target, property) {
+    actual.push(`has timeZone.${property}`);
+    return property in target;
+  },
+  get(target, property) {
+    actual.push(`get timeZone.${property}`);
+    return target[property];
+  },
+});
+
+const calendar = Temporal.Calendar.from("iso8601");
+
+const result = Temporal.Now.plainDateTime(calendar, timeZone);
+for (const property of ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond"]) {
+  assert.sameValue(result[property], 0, property);
+}
+
+assert.compareArray(actual, expected);
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOlengthjs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/length.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/length.js                         (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/length.js    2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+// Copyright (C) 2020 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaintimeiso
+description: Temporal.Now.plainTimeISO.length is 0
+info: |
+    Every built-in function object, including constructors, has a "length" property whose value is
+    an integer. Unless otherwise specified, this value is equal to the largest number of named
+    arguments shown in the subclause headings for the function description. Optional parameters
+    (which are indicated with brackets: [ ]) or rest parameters (which are shown using the form
+    «...name») are not included in the default argument count.
+
+    Unless otherwise specified, the "length" property of a built-in function object has the
+    attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
+includes: [propertyHelper.js]
+features: [Temporal]
+---*/
+
+verifyProperty(Temporal.Now.plainTimeISO, "length", {
+  value: 0,
+  writable: false,
+  enumerable: false,
+  configurable: true,
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOtimezonegetoffsetnanosecondsfornonintegerjs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-getoffsetnanosecondsfor-non-integer.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-getoffsetnanosecondsfor-non-integer.js                           (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-getoffsetnanosecondsfor-non-integer.js      2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaintimeiso
+description: RangeError thrown if time zone reports an offset that is not an integer number of nanoseconds
+features: [Temporal]
+includes: [temporalHelpers.js]
+---*/
+
+[3600_000_000_000.5, NaN].forEach((wrongOffset) => {
+  const timeZone = TemporalHelpers.specificOffsetTimeZone(wrongOffset);
+
+  assert.throws(RangeError, () => Temporal.Now.plainTimeISO(timeZone));
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOtimezonegetoffsetnanosecondsforoutofrangejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-getoffsetnanosecondsfor-out-of-range.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-getoffsetnanosecondsfor-out-of-range.js                          (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-getoffsetnanosecondsfor-out-of-range.js     2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaintimeiso
+description: RangeError thrown if time zone reports an offset that is out of range
+features: [Temporal]
+includes: [temporalHelpers.js]
+---*/
+
+[-86400_000_000_001, 86400_000_000_001, -Infinity, Infinity].forEach((wrongOffset) => {
+  const timeZone = TemporalHelpers.specificOffsetTimeZone(wrongOffset);
+
+  assert.throws(RangeError, () => Temporal.Now.plainTimeISO(timeZone));
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOtimezonegetoffsetnanosecondsforwrongtypejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-getoffsetnanosecondsfor-wrong-type.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-getoffsetnanosecondsfor-wrong-type.js                            (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-getoffsetnanosecondsfor-wrong-type.js       2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaintimeiso
+description: TypeError thrown if time zone reports an offset that is not a Number
+features: [Temporal]
+includes: [temporalHelpers.js]
+---*/
+
+[
+  undefined,
+  null,
+  true,
+  "+01:00",
+  Symbol(),
+  3600_000_000_000n,
+  {},
+  { valueOf() { return 3600_000_000_000; } },
+].forEach((wrongOffset) => {
+  const timeZone = TemporalHelpers.specificOffsetTimeZone(wrongOffset);
+
+  assert.throws(TypeError, () => Temporal.Now.plainTimeISO(timeZone));
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOtimezonestringdatetimejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-string-datetime.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-string-datetime.js                               (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone-string-datetime.js  2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaintimeiso
+description: Conversion of ISO date-time strings to Temporal.TimeZone instances
+features: [Temporal]
+---*/
+
+let timeZone = "2021-08-19T17:30";
+assert.throws(RangeError, () => Temporal.Now.plainTimeISO(timeZone), "bare date-time string is not a time zone");
+assert.throws(RangeError, () => Temporal.Now.plainTimeISO({ timeZone }), "bare date-time string is not a time zone");
+
+// The following are all valid strings so should not throw:
+
+[
+  "2021-08-19T17:30Z",
+  "2021-08-19T17:30-07:00",
+  "2021-08-19T17:30[America/Vancouver]",
+  "2021-08-19T17:30Z[America/Vancouver]",
+  "2021-08-19T17:30-07:00[America/Vancouver]",
+].forEach((timeZone) => {
+  Temporal.Now.plainTimeISO(timeZone);
+  Temporal.Now.plainTimeISO({ timeZone });
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOtimezonejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone.js                               (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/timezone.js  2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+// Copyright (C) 2020 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaintimeiso
+description: The value returned by TimeZone.getOffsetNanosecondsFor affects the result
+includes: [compareArray.js]
+features: [Temporal]
+---*/
+
+const actual = [];
+const expected = [
+  "has timeZone.timeZone",
+  "get timeZone.getOffsetNanosecondsFor",
+  "call timeZone.getOffsetNanosecondsFor",
+];
+
+const timeZone = new Proxy({
+  getOffsetNanosecondsFor(instant) {
+    actual.push("call timeZone.getOffsetNanosecondsFor");
+    assert.sameValue(instant instanceof Temporal.Instant, true, "Instant");
+    return -Number(instant.epochNanoseconds % 86400_000_000_000n);
+  },
+}, {
+  has(target, property) {
+    actual.push(`has timeZone.${property}`);
+    return property in target;
+  },
+  get(target, property) {
+    actual.push(`get timeZone.${property}`);
+    return target[property];
+  },
+});
+
+const result = Temporal.Now.plainTimeISO(timeZone);
+assert.sameValue(result instanceof Temporal.PlainTime, true);
+for (const property of ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond"]) {
+  assert.sameValue(result[property], 0, property);
+}
+
+assert.compareArray(actual, expected);
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowplainTimeISOtoPlainTimeoverridejs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/toPlainTime-override.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/toPlainTime-override.js                           (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/plainTimeISO/toPlainTime-override.js      2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+// Copyright (C) 2020 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal.now.plaintimeiso
+description: PlainDateTime.toPlainTime is not observably called
+includes: [compareArray.js]
+features: [Temporal]
+---*/
+
+const actual = [];
+const expected = [
+  "has timeZone.timeZone",
+  "get timeZone.getOffsetNanosecondsFor",
+  "call timeZone.getOffsetNanosecondsFor",
+];
+
+Object.defineProperty(Temporal.PlainDateTime.prototype, "toPlainTime", {
+  get() {
+    actual.push("get Temporal.PlainDateTime.prototype.toPlainTime");
+    return function() {
+      actual.push("call Temporal.PlainDateTime.prototype.toPlainTime");
+    };
+  },
+});
+
+const timeZone = new Proxy({
+  getOffsetNanosecondsFor(instant) {
+    actual.push("call timeZone.getOffsetNanosecondsFor");
+    assert.sameValue(instant instanceof Temporal.Instant, true, "Instant");
+    return -Number(instant.epochNanoseconds % 86400_000_000_000n);
+  },
+}, {
+  has(target, property) {
+    actual.push(`has timeZone.${property}`);
+    return property in target;
+  },
+  get(target, property) {
+    actual.push(`get timeZone.${property}`);
+    return target[property];
+  },
+});
+
+const result = Temporal.Now.plainTimeISO(timeZone);
+assert.sameValue(result instanceof Temporal.PlainTime, true);
+for (const property of ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond"]) {
+  assert.sameValue(result[property], 0, property);
+}
+
+assert.compareArray(actual, expected);
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowtoStringTagpropdescjs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/toStringTag/prop-desc.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/toStringTag/prop-desc.js                               (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/toStringTag/prop-desc.js  2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal-now-@@tostringtag
+description: The @@toStringTag property of Temporal.Now
+includes: [propertyHelper.js]
+features: [Symbol.toStringTag, Temporal]
+---*/
+
+verifyProperty(Temporal.Now, Symbol.toStringTag, {
+  value: "Temporal.Now",
+  writable: false,
+  enumerable: false,
+  configurable: true,
+});
</ins></span></pre></div>
<a id="trunkJSTeststest262testbuiltinsTemporalNowtoStringTagstringjs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/test262/test/built-ins/Temporal/Now/toStringTag/string.js (0 => 283666)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262/test/built-ins/Temporal/Now/toStringTag/string.js                          (rev 0)
+++ trunk/JSTests/test262/test/built-ins/Temporal/Now/toStringTag/string.js     2021-10-06 21:38:11 UTC (rev 283666)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+// Copyright (C) 2021 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-temporal-now-@@tostringtag
+description: The @@toStringTag property of Temporal.Now produces the correct value in toString
+features: [Symbol.toStringTag, Temporal]
+---*/
+
+assert.sameValue(String(Temporal.Now), "[object Temporal.Now]");
</ins></span></pre>
</div>
</div>

</body>
</html>