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)
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
| Reporter | ||
Comment 1•12 years ago
|
||
Regression from bug 1035754 according to the blame.
Blocks: 1035754
Flags: needinfo?(gweng)
Comment 2•12 years ago
|
||
Flags: needinfo?(gweng)
Comment 3•12 years ago
|
||
I've scanned the lockscreen.js, and found only this place lack the Date object. Sorry for the bug!
| Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 5•12 years ago
|
||
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.
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 9•12 years ago
|
||
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
Updated•12 years ago
|
Attachment #8477971 -
Flags: review?(timdream)
Updated•12 years ago
|
Attachment #8477971 -
Flags: review?(timdream) → review+
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 15•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•