Display hex dump of cache data in about:cache-entry

RESOLVED FIXED in mozilla1.9alpha1

Status

()

--
enhancement
RESOLVED FIXED
13 years ago
13 years ago

People

(Reporter: darin.moz, Assigned: darin.moz)

Tracking

Trunk
mozilla1.9alpha1
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 2 obsolete attachments)

(Assignee)

Description

13 years ago
Display hex dump of cache data in about:cache-entry

There are times when you really want to see the data for a cache entry.  It's really easy to add a hexdump of the data to about:cache-entry, so why not? ;-)

Patch coming up...
(Assignee)

Comment 1

13 years ago
Created attachment 204085 [details] [diff] [review]
v1 patch
Attachment #204085 - Flags: review?(cbiesinger)
hm... what does isprint return for \n or \r? (\v ?) it's also locale-sensitive... although that shouldn't cause problems for chars < 0x80, I think.
(Assignee)

Comment 3

13 years ago
Created attachment 204090 [details] [diff] [review]
v1.1 patch

better is printable handling.
Attachment #204085 - Attachment is obsolete: true
Attachment #204090 - Flags: review?(cbiesinger)
Attachment #204085 - Flags: review?(cbiesinger)
(Assignee)

Comment 4

13 years ago
Created attachment 205342 [details] [diff] [review]
v1.2 patch

Slightly improved patch.
Attachment #204090 - Attachment is obsolete: true
Attachment #205342 - Flags: review?(cbiesinger)
Attachment #204090 - Flags: review?(cbiesinger)
Comment on attachment 205342 [details] [diff] [review]
v1.2 patch

hm... this always dumps the entire cache contents? might lead to a long page. either way, r=biesi
Attachment #205342 - Flags: review?(cbiesinger) → review+
(Assignee)

Comment 6

13 years ago
Yeah, I decided that it was more useful to have a way to actually see the cache contents than to have a responsive UI.  Afterall, about:cache is a hidden feature of the developer oriented browser.
(Assignee)

Comment 7

13 years ago
> Afterall, about:cache is a hidden feature of the developer oriented browser.

Uhm... no coffee yet.  I meant:

 "Afterall, about:cache is a hidden developer-oriented feature of the browser."
(Assignee)

Comment 8

13 years ago
fixed-on-trunk
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.