Closed
Bug 1253585
Opened 9 years ago
Closed 9 years ago
Remove legacy downloads test code and re-enable test_unknownContentType_dialog_layout.xul
Categories
(Toolkit :: Downloads API, defect, P1)
Toolkit
Downloads API
Tracking
()
People
(Reporter: Paolo, Assigned: Paolo)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxprivacy])
Attachments
(1 file)
Except for test_unknownContentType_dialog_layout.xul, that is disabled unnecessarily, we should just remove other test code that runs only in legacy configurations where MOZ_JSDOWNLOADS is not defined.
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/38199/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/38199/
Attachment #8726726 -
Flags: review?(mak77)
Assignee | ||
Comment 2•9 years ago
|
||
Updated•9 years ago
|
Blocks: 1216897
Iteration: --- → 47.3 - Mar 7
Flags: qe-verify?
Priority: -- → P1
Whiteboard: [fxprivacy]
Updated•9 years ago
|
Updated•9 years ago
|
Attachment #8726726 -
Flags: review?(mak77) → review+
Comment 3•9 years ago
|
||
Comment on attachment 8726726 [details]
MozReview Request: Bug 1253585 - Remove legacy downloads test code and re-enable test_unknownContentType_dialog_layout.xul. r=mak
https://reviewboard.mozilla.org/r/38199/#review35299
LGTM.
My only "complain" is that among these tests there may be some that could be useful if converted to cover the new API... but not a good enough reason to keep them around.
::: toolkit/components/downloads/test/unit/head_download_manager.js
(Diff revision 1)
> -Services.prefs.setBoolPref("browser.download.manager.showAlertOnComplete", false);
do we have a bug filed to remove all the remaining references to browser.download.manager.showAlertOnComplete and in general old DM prefs?
Assignee | ||
Comment 4•9 years ago
|
||
(In reply to Marco Bonardo [::mak] from comment #3)
> My only "complain" is that among these tests there may be some that could be
> useful if converted to cover the new API... but not a good enough reason to
> keep them around.
I agree. I think most tests are fully covered under the new API, that has also many other tests that weren't present originally. If there are any remaining cases that are not covered, they are probably edge cases, and we can easily add back the tests when touching the related code.
> do we have a bug filed to remove all the remaining references to
> browser.download.manager.showAlertOnComplete and in general old DM prefs?
No, good point, I just filed bug 1254558.
Updated•9 years ago
|
Iteration: 47.3 - Mar 7 → 48.1 - Mar 21
Updated•9 years ago
|
Flags: qe-verify? → qe-verify+
QA Contact: paul.silaghi
Comment 6•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Assignee | ||
Updated•9 years ago
|
Comment 7•9 years ago
|
||
Is there something QA can do here? If not, please set the [qe-verify-] flag.
Thanks.
Flags: needinfo?(paolo.mozmail)
Assignee | ||
Comment 8•9 years ago
|
||
No, this was meant to be "qe-verify-". Thanks!
Flags: qe-verify-
Flags: qe-verify+
Flags: needinfo?(paolo.mozmail)
You need to log in
before you can comment on or make changes to this bug.
Description
•