Closed
Bug 1473228
Opened 7 years ago
Closed 7 years ago
Add Intl.RelativeTimeFormat.prototype[@@toStringTag]
Categories
(Core :: JavaScript: Internationalization API, enhancement)
Core
JavaScript: Internationalization API
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: anba, Assigned: khyperia)
References
()
Details
Attachments
(1 file, 1 obsolete file)
2.98 KB,
patch
|
khyperia
:
review+
|
Details | Diff | Splinter Review |
Add Intl.RelativeTimeFormat.prototype[@@toStringTag], but probably wait until <https://github.com/tc39/proposal-intl-relative-time/issues/72> was resolved.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → khyperia
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Attachment #9002846 -
Flags: review?(jwalden+bmo)
Assignee | ||
Comment 2•7 years ago
|
||
Note that the value of it actually is "Intl.RelativeTimeFormat", unlike what seems like other Intl.* objects, which are "Object".
https://tc39.github.io/proposal-intl-relative-time/#sec-Intl.RelativeTimeFormat.prototype-toStringTag
Comment 3•7 years ago
|
||
Comment on attachment 9002846 [details] [diff] [review]
Add @@toStringTag in Intl.RelativeTimeFormat.
Review of attachment 9002846 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/tests/non262/Intl/RelativeTimeFormat/relativetimeformat.js
@@ +9,5 @@
>
> addIntlExtras(Intl);
>
> rtf = new Intl.RelativeTimeFormat("en-us");
> +assertEq(rtf[Symbol.toStringTag], "Intl.RelativeTimeFormat");
Instead, delete these lines from js/src/tests/jstests.list:
# https://bugzilla.mozilla.org/show_bug.cgi?id=1473228
skip script test262/intl402/RelativeTimeFormat/prototype/toStringTag/toString.js
skip script test262/intl402/RelativeTimeFormat/prototype/toStringTag/toStringTag.js
Updated•7 years ago
|
Attachment #9002846 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Comment 4•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Attachment #9002846 -
Attachment is obsolete: true
Assignee | ||
Updated•7 years ago
|
Attachment #9002912 -
Flags: review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c1e8bad5cea6
Add @@toStringTag in Intl.RelativeTimeFormat. r=jorendorff
Keywords: checkin-needed
Comment 6•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•