Closed Bug 1869884 Opened 5 months ago Closed 4 months ago

Downloads dont clear properly when cleared alone

Categories

(Toolkit :: Data Sanitization, defect, P3)

defect

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: hsohaney, Assigned: hsohaney, Mentored)

References

Details

Attachments

(1 file, 1 obsolete file)

Currently, downloads initiated through the new clear history dialog interface don't disappear when you try to delete them individually. This is because download clearing is tied to clearing browsing history. We're working on making it possible to clear downloads independently.

Assignee: nobody → hsohaney

We will be remerging downloads into the browsing history checkbox due to engineering work requirements for this feature to ship with time restrictions.

Depends on D197952

Attachment #9372500 - Attachment is obsolete: true
Attachment #9372499 - Attachment description: Bug 1869884 - (part 1) Remerging downloads into history. r?pbz → Bug 1869884 - Remerging downloads into history. r?pbz
No longer blocks: clear-data-revamp
Pushed by hsohaney@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7969278ce39f
Remerging downloads into history. r=pbz,fluent-reviewers,bolsson

Backed out for causing failures on browser_sanitizeDialog_v2.js

[task 2024-01-18T22:30:58.505Z] 22:30:58     INFO - TEST-PASS | browser/base/content/test/sanitize/browser_sanitizeDialog_v2.js | Sanity check: download fakefile-65-minutes-ago should exist after creating it - 
[task 2024-01-18T22:30:58.505Z] 22:30:58     INFO - Buffered messages finished
[task 2024-01-18T22:30:58.507Z] 22:30:58     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/sanitize/browser_sanitizeDialog_v2.js | Uncaught exception in test bound test_clear_on_shutdown - [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://mochitests/content/browser/browser/base/content/test/sanitize/browser_sanitizeDialog_v2.js :: boolPrefIs :: line 82"  data: no]
[task 2024-01-18T22:30:58.507Z] 22:30:58     INFO - Stack trace:
[task 2024-01-18T22:30:58.507Z] 22:30:58     INFO - boolPrefIs@chrome://mochitests/content/browser/browser/base/content/test/sanitize/browser_sanitizeDialog_v2.js:82:21
[task 2024-01-18T22:30:58.507Z] 22:30:58     INFO - test_clear_on_shutdown@chrome://mochitests/content/browser/browser/base/content/test/sanitize/browser_sanitizeDialog_v2.js:973:13
[task 2024-01-18T22:30:58.507Z] 22:30:58     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1138:26
[task 2024-01-18T22:30:58.507Z] 22:30:58     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18
[task 2024-01-18T22:30:58.507Z] 22:30:58     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14
[task 2024-01-18T22:30:58.507Z] 22:30:58     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1127:14
[task 2024-01-18T22:30:58.507Z] 22:30:58     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-01-18T22:30:58.507Z] 22:30:58     INFO - Leaving test bound test_clear_on_shutdown
[task 2024-01-18T22:30:58.508Z] 22:30:58     INFO - Entering test bound test_defaults_prefs
Flags: needinfo?(hsohaney)

Looks like there was a rebase error that I overlooked, sorry about that! Fixing it up right now

Flags: needinfo?(hsohaney)
Pushed by hsohaney@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/811ac0a6fd8e
Remerging downloads into history. r=pbz,fluent-reviewers,bolsson
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: