Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 804571: Support for canceling (pausing) system update downloads. #6724

Merged
merged 3 commits into from Dec 4, 2012

Conversation

marshall
Copy link
Contributor

@marshall
Copy link
Contributor Author

r? @etiennesegonzac

subject.cancelDownload();

assert.equal('update-download-cancel', lastDispatchedEvent.type);
assert.equal(subject, MockUpdateManager.mLastDownloadsRemoval);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: if you break it in 2 tests we'll have it nicely documented from looking at the tests results that we're dispatching the event and removing it from the updates queue.

marshall added a commit that referenced this pull request Dec 4, 2012
Bug 804571: Support for canceling (pausing) system update downloads.
@marshall marshall merged commit 9afa4dd into mozilla-b2g:master Dec 4, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants