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

Merged
merged 3 commits into from Dec 4, 2012

Conversation

Projects
None yet
2 participants
Contributor

marshall commented Nov 29, 2012

apps/system/test/unit/updatable_test.js
+ subject.cancelDownload();
+
+ assert.equal('update-download-cancel', lastDispatchedEvent.type);
+ assert.equal(subject, MockUpdateManager.mLastDownloadsRemoval);
@etiennesegonzac

etiennesegonzac Nov 29, 2012

Contributor

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

Merge pull request #6724 from marshall/updateDownloadCancel
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 join this conversation on GitHub. Already have an account? Sign in to comment