Closed Bug 952912 Opened 11 years ago Closed 10 years ago

System update check for NOFTU build

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alive, Assigned: cedric)

References

Details

(Whiteboard: [good first bug][mentor=alive][mentor-lang=zh][lang=js])

Attachments

(1 file)

Currently in bootstrap.js it only enable gaia.system.checkForUpdates when ftu is done. But there may be a chance the phone is booted without FTU.
We should also listen to ftuskip event here.
I was not able to check/reproduce this as I am using the latest version already. Should I build a lower version of Gaia (from where?) for this or I can work without that?
I can reproduce with latest build. Before any change, where should this be tested?
Attachment #8373068 - Flags: review?(alive)
Nice work, I will check tomorrow.
Depends on: 970521
I've updated the pull request to fix the isolation of another test that was failing because of my new mocks. During the review, I would like you to pay attention to the way I define/use the mocks in the bootstrap test, I am not sure everything is good there and this is in fact the important part of the commit.

I've also referenced a simple typo bug as dependency.
Comment on attachment 8373068 [details] [review]
Fix bug and test it, v0

Thanks for adding the unit test for one line patch!

Please rebase and squash your commits.
Attachment #8373068 - Flags: review?(alive) → review+
Rebased, squashed.
Assignee: nobody → cedric
https://github.com/mozilla-b2g/gaia/commit/f9d91630ad16b44acd46a467d7ebc77aa4276297
Thanks contributor!
Status: NEW → RESOLVED
Closed: 10 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: