Closed Bug 801146 Opened 12 years ago Closed 12 years ago

remove file from downloaded list

Categories

(Firefox for Metro Graveyard :: General, defect)

x86
Windows 8.1
defect
Not set
normal

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)

No description provided.
OS: Mac OS X → Windows 8 Metro
Whiteboard: [metro-mvp] → [metro-mvp] [LOE:1]
Depends on: 800996
Assignee: nobody → sfoster
Whiteboard: [metro-mvp] [LOE:1] → [metro-mvp] [LOE:1][metro-it2]
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 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+
Whiteboard: [metro-mvp] [LOE:1][metro-it2] → [metro-mvp][LOE:1][metro-it2][completed-elm]
No longer depends on: 800996
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
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: