Closed
Bug 6936
Opened 25 years ago
Closed 25 years ago
file:// Can not view directories
Categories
(Core :: Networking: File, defect, P3)
Core
Networking: File
Tracking
()
VERIFIED
FIXED
M10
People
(Reporter: jim_nance, Assigned: waterson)
References
()
Details
Using a file URL to view the contents of a directory other than / does
not work. For example If I try to open file:/tmp or file:///tmp I see
no files in the directory despite the fact that several exist. Other
directories have the problem too, but looking at / does seem to work.
From looking at strace output it seems that the problem is that apprunner
is trying to stat the files in the directory using an incorrect
relitive path rather than the absolute path. When this fails it assumes
that the files are not really there:
172 196
/* 10 entries */, 3933) = 196
stat("tmp/.X0-lock", 0xbfffd464) = -1 ENOENT (No such file or directory)
stat("tmp/jln", 0xbfffd464) = -1 ENOENT (No such file or directory)
stat("tmp/look", 0xbfffd464) = -1 ENOENT (No such file or directory)
stat("tmp/.X11-unix", 0xbfffd464) = -1 ENOENT (No such file or directory)
stat("tmp/.font-unix", 0xbfffd464) = -1 ENOENT (No such file or directory)
stat("tmp/nscomm40-lisa", 0xbfffd464) = -1 ENOENT (No such file or directory)
stat("tmp/wpc-Bessie", 0xbfffd464) = -1 ENOENT (No such file or directory)
stat("tmp/tksysv-backup", 0xbfffd464) = -1 ENOENT (No such file or directory)
lseek(13, 0, SEEK_CUR) = 1024
Comment 1•25 years ago
|
||
Same or similar problem happens on MacOS 8.6, Mozilla M6. Directories are not
browseable.
Changing all Networking Library/Browser bugs to Networking-Core component for
Browser.
Occasionally, Bugzilla will burp and cause Verified bugs to reopen when I do
this in a bulk change. If this happens, I will fix. ;-)
Summary: Can not view directories using file:// URLs → NECKO: Can not view directories using file:// URLs
Pl. verify this with Necko builds. Should be fixed now. (If not pls. assign to
warren)
Comment 5•25 years ago
|
||
file url's are not looking good. Something like file://c:/ should give a
directory listing on windows at least, per 4.x behavior. I get a
blank screen, however, on win95. Re-assigning to warren per gagzilla's
instructions
Note: you can open local files using the File - Open menu no problem
Updated•25 years ago
|
Assignee: gagan → warren
Status: ASSIGNED → NEW
Updated•25 years ago
|
Status: NEW → ASSIGNED
Updated•25 years ago
|
OS: Linux → All
Hardware: PC → All
Updated•25 years ago
|
Component: Networking-Core → Necko
Comment 8•25 years ago
|
||
Setting component to necko.
Updated•25 years ago
|
Target Milestone: M9 → M10
Comment 9•25 years ago
|
||
Moving to m10.
Comment 10•25 years ago
|
||
*** Bug 11424 has been marked as a duplicate of this bug. ***
Comment 11•25 years ago
|
||
Tried on 1999070614 <mislabel build of 8/13/1999.
To reproduce :
1. Run apprunner
2. Type File:// and hit enter
Result : apprunner will display Unknow Contant windows. On the Apprunner
console this will display regarding to this action :
{
DocLoaderFactory: Unable to create ContentViewer for command=view, content-type=
(null) }
note : But if you have valid HTML file it'll be happy to render it.
surch as this one. file:///C|/MOZILLA/BIN/res/samples/test2.html
file:///C|/MOZILLA/BIN/res/samples/test2.html
Updated•25 years ago
|
Assignee: warren → waterson
Status: ASSIGNED → NEW
Comment 12•25 years ago
|
||
Chris has changes for this now.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 13•25 years ago
|
||
this is in on all platforms, looking pretty snazzy! There are a few bugs, which
will be filed separately, so marking this tracker bug verified.
Comment 14•25 years ago
|
||
Bulk move of all Necko (to be deleted component) bugs to new Networking
component.
Component: Networking → Networking: File
Summary: NECKO: Can not view directories using file:// URLs → file:// Can not view directories
You need to log in
before you can comment on or make changes to this bug.
Description
•