Closed Bug 1021592 Opened 10 years ago Closed 10 years ago

Update wifi_test.js of Gaia unit tests to be compatible with WebIDL migration on Alarm API

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S4 (20june)

People

(Reporter: selin, Assigned: selin)

References

Details

Attachments

(1 file)

Inspired from bug 901114 comment 33, I realized wifi_test.js should mock navigator.mozAlarms in a more garcefully way, due to the error message "Cannot stub non-existent own property mozAlarms" found in the following try-run:

https://tbpl.mozilla.org/php/getParsedLog.php?id=41022156&tree=Try
Attached file Patch
Assignee: nobody → selin
Attachment #8435683 - Flags: review?(alive)
Comment on attachment 8435683 [details]
Patch

Please fix the lint error and make sure all tests pass before merging.
Attachment #8435683 - Flags: review?(alive) → review+
Master: https://github.com/mozilla-b2g/gaia/commit/69431ddf22197483cfcdc7db678baa6096b317d5
Status: NEW → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S4 (20june)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: