Closed Bug 1371263 Opened 8 years ago Closed 8 years ago

Selecting particular caches on about:cache via checkboxes results in cryptic error

Categories

(Core :: Networking: Cache, enhancement)

52 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: gk, Assigned: gk)

Details

(Whiteboard: [tor 16485])

Attachments

(1 file, 1 obsolete file)

Let's assume you are in permanent private browsing mode and want to inspect the entries in your cache via the about:cache page. After opening that page you want to see all the private entries. You tick the respective checkbox and hit the "Update"-button. You get greeted with "Unrecognized storage name 'null'" and nothing happens. What should have happened is an update of the list of cache entries which you then may select for closer inspection.
Attached is a patch that we are shipping in Tor Browser to fix this issue. It is against mozilla-central (not ESR 52).
Attachment #8875707 - Flags: review?(honzab.moz)
Comment on attachment 8875707 [details] [diff] [review] 0001-Bug-1371263-Improve-about-cache-page-when-selecting-.patch Review of attachment 8875707 [details] [diff] [review]: ----------------------------------------------------------------- could you just append || ""; at [1] and be done? f- only for the bad formatting and how the patch was submitted (you really ship this??). just FYI, please submit patches with 8 line context. Then, the assignment line should look like: storage = ""; But if you agree on the above suggestion this is moot anyway. [1] https://dxr.mozilla.org/mozilla-central/rev/e61060be36424240058f8bef4c5597f401bc8b7e/toolkit/components/aboutcache/content/aboutCache.js#9
Attachment #8875707 - Flags: review?(honzab.moz) → feedback-
Sorry for the bad formatting. I like your idea and have implemented it in the attached patch.
Assignee: nobody → gk
Attachment #8875707 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8876096 - Flags: review?(honzab.moz)
Comment on attachment 8876096 [details] [diff] [review] bug_1371263.patch Review of attachment 8876096 [details] [diff] [review]: ----------------------------------------------------------------- If you verified the problem is fixed with it, let's get it in! thanks.
Attachment #8876096 - Flags: review?(honzab.moz) → review+
(In reply to Honza Bambas (:mayhemer) from comment #4) > Comment on attachment 8876096 [details] [diff] [review] > bug_1371263.patch > > Review of attachment 8876096 [details] [diff] [review]: > ----------------------------------------------------------------- > > If you verified the problem is fixed with it, let's get it in! thanks. Yes, I did that on my Linux box.
Keywords: checkin-needed
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Whiteboard: [tor 16485]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: