Closed
Bug 801146
Opened 12 years ago
Closed 12 years ago
remove file from downloaded list
Categories
(Firefox for Metro Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ally, Assigned: sfoster)
References
Details
(Keywords: feature, Whiteboard: [metro-mvp][LOE:1][metro-it2][completed-elm])
Attachments
(1 file)
(deleted),
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Updated•12 years ago
|
OS: Mac OS X → Windows 8 Metro
Updated•12 years ago
|
Whiteboard: [metro-mvp] → [metro-mvp] [LOE:1]
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → sfoster
Whiteboard: [metro-mvp] [LOE:1] → [metro-mvp] [LOE:1][metro-it2]
Assignee | ||
Comment 1•12 years ago
|
||
This patch implements file *removal* where the entry is removed from the downloads panel but the file remains on the file system. There seems to be ambiguity about what is expected and/or the right thing to do here. Its easy to change/put back if that's what we decide.
There's tests of the functionality with some minor refactoring of the other downloads tests to use new helpers.
Patch depends on "show downloads" patch https://bug801138.bugzilla.mozilla.org/attachment.cgi?id=694149
Attachment #694458 -
Flags: review?(mbrubeck)
Comment 2•12 years ago
|
||
Comment on attachment 694458 [details] [diff] [review]
Change 'delete file' to 'remove file' (no confirmation), tests
Review of attachment 694458 [details] [diff] [review]:
-----------------------------------------------------------------
Look good, with some minor nits that I can fix on checkin.
::: browser/metro/base/content/downloads.js
@@ +65,3 @@
>
> + // let title = Strings.browser.GetStringFromName("downloadsDeleteTitle");
> + // let isConfirmed = Services.prompt.confirm(null, title, file.leafName);
Let's just delete this unused code and the associated string.
@@ +297,5 @@
> },
>
> + observe: function dv_managerObserver(aSubject, aTopic, aData) {
> + // observer-service message handler
> + switch(aTopic) {
Minor style nit: add a space after keywords like "while" or "if" (here and below).
Attachment #694458 -
Flags: review?(mbrubeck) → review+
Comment 3•12 years ago
|
||
Whiteboard: [metro-mvp] [LOE:1][metro-it2] → [metro-mvp][LOE:1][metro-it2][completed-elm]
Comment 4•12 years ago
|
||
Resolving bugs in the Firefox for Metro product that are fixed on the elm branch. Sorry for the bugspam. Search your email for "bugspam-elm" if you want to find and delete all of these messages at once.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•