Closed Bug 1057812 Opened 12 years ago Closed 12 years ago

Intermittent errors.JavascriptException: JavascriptException: TypeError: d is undefined

Categories

(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kats, Unassigned)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 external file)

The Marionette-WebAPI test on tbpl seems to be going red a lot with the following error summary: errors.JavascriptException: JavascriptException: TypeError: d is undefined Return code: 1 Marionette exited with return code 1: harness failures # TBPL FAILURE # See e.g. https://tbpl.mozilla.org/php/getParsedLog.php?id=46607237&tree=B2g-Inbound#error0 for an example log that has this error. Based on some digging around in the code, I believe the problem is that the call to refreshClock at [1] doesn't pass an argument. The refreshClock function takes a Date object which it then passes to the the navigatior.mozL10n.DateTimeFormat.localeFormat function, which is the one reporting the error. [1] https://github.com/mozilla-b2g/gaia/blob/a8bd1ac5b6a8090780924c7732bf64dcfd3b1b6a/apps/system/js/lockscreen.js#L348
Regression from bug 1035754 according to the blame.
Blocks: 1035754
Flags: needinfo?(gweng)
Attached file Patch —
Flags: needinfo?(gweng)
I've scanned the lockscreen.js, and found only this place lack the Date object. Sorry for the bug!
Waiting CI to set review. One calendar error which seems irrelevant, but I do the re-trigger to see if it would pass this time.
OK. I re-ran the test and it's all green. Set reviewer and hope this can be landed ASAP. https://tbpl.mozilla.org/?rev=718ae401ca1f03e44dc2182e7bb24cfae3185917&tree=Gaia-Try
Attachment #8477971 - Flags: review?(timdream)
Attachment #8477971 - Flags: review?(timdream) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: