Closed Bug 113742 Opened 24 years ago Closed 23 years ago

file:/// directories use moz-icon

Categories

(Core :: Networking: File, defect)

All
Mac System 9.x
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: mozilla, Assigned: mozilla)

References

Details

Attachments

(1 file, 1 obsolete file)

Use moz-icon for file:/// displays
if you do this, keep an eye out for performance regressions. moz-icon images aren't cached (well they are cached but the url used to cache them is the url of the document so file://test.zip and file://bar.zip are going to have different places in the image cache).
mscott: BTW, I just opened up bug # 113745 regarding moz-icon returning the wrong icon when using a file:/// which points to a directory. As mentioned in that bug, I added a specific check in the patch for THIS bug to not return moz-icon references for directories until that bug is fixed. :)
Status: NEW → ASSIGNED
I thought I had a bug on me for this, but I can't find it ATM. This won't affect html directory listings, which are currently explicitly disabled (see nsDirectoryViewer.cpp, nsDirectoryViewerFactory::CreateInstance), but which I hope to have on by the end of this week/early next week. This doesn't affect the XUL ftp/gopher dir listings, does it?
This change only affects file:/// URLs when displayed inside XUL.
Depends on: 113745
Attachment #60587 - Attachment is obsolete: true
Comment on attachment 61222 [details] [diff] [review] Latest file system moz-icon: support [s]r=ben@netscape.com
Attachment #61222 - Flags: superreview+
Comment on attachment 61222 [details] [diff] [review] Latest file system moz-icon: support r=sdagley
Attachment #61222 - Flags: review+
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Where would I see this?
Keywords: qawanted
Type a valid file:/// URL into the browser's location bar. On Mac and Windows, you'll see the OS's native icons.
VERIFIED: Mozilla 0.9.8, Mac OS 9+X, Win 98.
Status: RESOLVED → VERIFIED
Keywords: qawanted
Summary: Use moz-icon for file:/// displays → file:/// directories use moz-icon
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: