Closed Bug 1946823 Opened 16 days ago Closed 8 days ago

Enable Temporal on Nightly

Categories

(Core :: JavaScript: Standard Library, task, P1)

task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
relnote-firefox --- nightly+
firefox137 --- fixed

People

(Reporter: dminor, Assigned: dminor)

References

(Blocks 2 open bugs)

Details

(Keywords: dev-doc-needed)

Attachments

(5 files)

To get more feedback on Temporal, I think it would make sense to enable it for Nightly only for a few cycles before we consider shipping it.

Assignee: nobody → dminor
Status: NEW → ASSIGNED

I cleared this with the fuzzing team, I think we're good to go here.

Pushed by dminor@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/00105254ffff Enable Temporal in Nightly builds; r=mgaudet

Yep, I didn't think about this in terms of shipping a new feature, so I got caught by the usual gotchas that check for exposing something new on the global object. Try job here would indicate that I've caught the problems: https://treeherder.mozilla.org/jobs?repo=try&revision=d03b64ffda2f7dc3daa6ba76736e0a6c2a2113ad.

Flags: needinfo?(dminor)

Because Temporal.PlainDate.prototype.valueOf is specified to throw,
I've adjusted the stringification tests to check that if an
exception occurs, an identical exception is thrown in both cases.

Severity: -- → N/A
Priority: -- → P1
Pushed by dminor@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/707bb5b43e16 Enable Temporal in Nightly builds; r=mgaudet https://hg.mozilla.org/integration/autoland/rev/b3e95d718426 Adjust test_xrayToJS.html expectations; r=peterv https://hg.mozilla.org/integration/autoland/rev/5e78edce046b Adjust interfaces tests to expose Temporal on Nightly only; r=mgaudet,webidl,smaug

Looks like my mach try auto try run didn't schedule any sm jobs :/

Flags: needinfo?(dminor)

This is a testcase for test262-export.py, but it is also run as a
normal reftest. For test262-export.py, Temporal tests are skipped
from the export. When run as a reftest with Temporal enabled,
the second part of the condition outro() is evaluated, and it turns
out that outro is undefined. This changes outro to true so
that the test continues to be skipped like before when run as a
reftest.

Pushed by dminor@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bdb50fea050c Enable Temporal in Nightly builds; r=mgaudet https://hg.mozilla.org/integration/autoland/rev/7f3a9b884d88 Adjust test_xrayToJS.html expectations; r=peterv https://hg.mozilla.org/integration/autoland/rev/52ee3305de24 Adjust interfaces tests to expose Temporal on Nightly only; r=mgaudet,webidl,smaug https://hg.mozilla.org/integration/autoland/rev/ecdda9773ff1 Fix multi-header.js skip-if; r=mgaudet

Backed out for causing dt failures on browser_jsterm_autocomplete_mapped_variables.js

Backout link

Push with failures

Failure log

Flags: needinfo?(dminor)

That test that fails seems unrelated to these changes, and has had a problem with intermittent failures in the past: https://bugzilla.mozilla.org/show_bug.cgi?id=1896759

Flags: needinfo?(dminor)

We've had a try run that confirmed backing out the changesets fixed the perma failures caused here. Taskcluster failure artifacts pointed to Firefox Nightly failures on all affected platforms (temporal was also seen in one artifact that failed on Linux). example: https://firefoxci.taskcluster-artifacts.net/RB8SII9FSH2BeiWE_HYAMQ/0/public/test_info/mozilla-test-fail-screenshot_gfv8znx3.png

Yes, you're correct, the autocomplete will now also suggest Temporal, breaking the test, I missed that the first time I looked at the test case.

Autocomplete will now also suggest Temporal, this adjusts the test
expecations accordingly.

Pushed by dminor@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e395ee1a85b7 Enable Temporal in Nightly builds; r=mgaudet https://hg.mozilla.org/integration/autoland/rev/2161091e37ea Adjust test_xrayToJS.html expectations; r=peterv https://hg.mozilla.org/integration/autoland/rev/a892f49ac205 Adjust interfaces tests to expose Temporal on Nightly only; r=mgaudet,webidl,smaug https://hg.mozilla.org/integration/autoland/rev/70f15e233e64 Fix multi-header.js skip-if; r=mgaudet https://hg.mozilla.org/integration/autoland/rev/2e4706ea8f36 Add Temporal to browser_jsterm_autocomplete_mapped_variables.js expectations; r=nchevobbe,devtools-reviewers
Keywords: dev-doc-needed

That looks like something that could go into our Nightly release notes. Could you nominate it? Thanks
https://wiki.mozilla.org/Release_Management/Release_Notes#Nomination_in_Bugzilla

Flags: needinfo?(dminor)

Release Note Request (optional, but appreciated)
[Why is this notable]: Temporal is now enabled by default in Nightly. Temporal is meant to a be better version of Date, which has been a long-standing pain point in the language.
[Affects Firefox for Android]:
[Suggested wording]: The Temporal proposal is enabled by default in Firefox Nightly, please experiment with it and provide feedback. Temporal is a better version of Date, for more details, please see https://tc39.es/proposal-temporal/docs/.
[Links (documentation, blog post, etc)]: https://tc39.es/proposal-temporal/docs/

relnote-firefox: --- → ?
Flags: needinfo?(dminor)

Thanks, added to our nightly notes

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: