Closed Bug 1395773 Opened 3 years ago Closed 3 years ago
_datetime _datepicker .js | "August 2017" == "September 2017" - JS frame :: chrome://mochitests/content/browser/toolkit/content/tests/browser/browser _datetime _datepicker .js :: test _datepicker _today :: line 57
59 bytes, text/x-review-board-request
Looks like we've got a new timebomb test (one that fails when it happens to run at just the right time to hit a change in month mid-run).
Thanks for filing the bug. Turns out this doesn't just happen when month changes mid-run, but hours leading up to the month change. In this particular test, DateTimeFormat was set to UTC, when it should have been local time. So at 8/31 17:01 pacific daylight time, the month string becomes `September` rather than `August`.
thanks for working on this :scottwu!
Whiteboard: [stockwell needswork]
Comment on attachment 8903474 [details] Bug 1395773 - Fix intermittent browser_datetime_datepicker test when crossing months, https://reviewboard.mozilla.org/r/175312/#review181784 Thanks!
Attachment #8903474 - Flags: review?(mconley) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/f99a4070d320 Fix intermittent browser_datetime_datepicker test when crossing months, r=mconley
Whiteboard: [stockwell needswork] → [stockwell fixed:logic]
You need to log in before you can comment on or make changes to this bug.