Closed
Bug 127408
Opened 23 years ago
Closed 23 years ago
cant open directory viewer to local drive
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mozbugz, Assigned: darin.moz)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.95 KB,
patch
|
Details | Diff | Splinter Review |
using build 2-22-03 w2k,
I try to enter c: or file:///c:/, or file:/c:/
I just get a dialog that tells me that file:/c:/ cannot be found.
this is a regression.
Reporter | ||
Updated•23 years ago
|
Severity: normal → major
Summary: cant open directory viewer to local drive → cant open directory viewer to local drive
Comment 1•23 years ago
|
||
This happens on OS/2 as well. Changing OS to all and moving it to a better
component.
Assignee: hewitt → law
Severity: major → blocker
Component: URL Bar → File Handling
OS: Windows 2000 → All
QA Contact: claudius → sairuh
It looks like we're passing plain "c:" to the docshell. From there it does a
bunch of uri fixup kind of stuff. I couldn't figure out at what point things
break down.
If somebody could say precisely when this broke, it would be real easy to figure
out what code changed to break it.
Assignee: law → adamlock
Component: File Handling → Embedding: Docshell
QA Contact: sairuh → adamlock
Comment 3•23 years ago
|
||
I can to the build search tomorrow to try to identify the day of the regression.
I think we really want this for 0.9.9 so I'm adding it to our tracking bug. Law,
do you think this is you or adamlock or someone else? (I guess pinpointing the
offending checkin will tell).
Blocks: 122050
Updated•23 years ago
|
Keywords: regression
Reporter | ||
Comment 4•23 years ago
|
||
Ok, I've got several older builds here, I'll check to see If I can nail it down
by tomorrow evening for ya.
Reporter | ||
Comment 5•23 years ago
|
||
ok, that was easy, build 2-20 w2k (win32) works fine, build 2-21-03 w2k is broke.
bonsai: 02/20/2002 06:00 and 02/21/2002 12:00 :
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=SeaMonkeyAll&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=02%2F20%2F02+06%3A00&maxdate=02%2F21%2F02+12%3A00&cvsroot=%2Fcvsroot
I'm going to take a stab at DougT: bug 122523, nsFileStreams., removing stat
call on opening file.
Definitely appears to be this code.
http://lxr.mozilla.org/seamonkey/source/netwerk/base/src/nsFileStreams.cpp#191
The call to nsILocalFile::OpenNSPRFileDesc is returning
PR_NO_ACCESS_RIGHTS_ERROR for drives and probably PR_IS_DIRECTORY_ERROR for
normal directories. This causes the code to code to return NS_ERROR_FILE_NOT_FOUND.
My guess is that if OpenNSPRFileSpec fails, the code should do an isDir to catch
drives and directions.
Doug, do you want to take this?
Doug can you review this?
Patch calls IsDirectory if the file open fails and fixes a potential crasher if
method is called on a dir with contentLength as nsnull and contentType
non-nsnull.
Assignee | ||
Comment 9•23 years ago
|
||
my patch for bug 124042 incorporates dougt's fix for this already.
Depends on: 124042
Assignee | ||
Comment 10•23 years ago
|
||
*** Bug 128491 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 11•23 years ago
|
||
*** Bug 128487 has been marked as a duplicate of this bug. ***
Comment 12•23 years ago
|
||
*** Bug 128912 has been marked as a duplicate of this bug. ***
Comment 13•23 years ago
|
||
This is on the 0.9.9 radar apparently. Any progress with this bug?
Assignee | ||
Comment 15•23 years ago
|
||
so this has been fixed on the trunk w/ the landing of my patch for bug 124042.
if that patch lands for 0.9.9, then it'll also be fixed there... so, hold onto
your horses...
Comment 16•23 years ago
|
||
I can't imagine they're going to take an 100k+ patch on the 0.9.9 branch.. I
think we need a better way to fix this on 0.9.9
Assignee | ||
Comment 17•23 years ago
|
||
various drivers have been saying since the inception of bug 124042 that it
should go out w/ 0.9.9 in order to get sufficient coverage. i am still waiting
to hear the final word from them.
Comment 18•23 years ago
|
||
if not, then there's always my patch above.
Comment 19•23 years ago
|
||
*** Bug 129493 has been marked as a duplicate of this bug. ***
Comment 20•23 years ago
|
||
+cc: gagan - shouldn't we plus this for nsbeta?
Assignee | ||
Comment 21•23 years ago
|
||
fixed-on-trunk, fixed-on-branch.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 22•23 years ago
|
||
qa to me.
another one of this necko qa testable docshell bugs.
QA Contact: adamlock → benc
You need to log in
before you can comment on or make changes to this bug.
Description
•