Closed
Bug 297865
Opened 20 years ago
Closed 5 years ago
nsIURIChecker asyncCheck never returns with unexisting file:// URI
Categories
(Core :: Networking, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: marja, Unassigned)
References
Details
(Keywords: helpwanted, Whiteboard: [necko-backlog])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050613 I call nsIURIChecker asyncCheck() from javascript to check the URI does not yet exists when the URI is http:// URI or an existing file:// URI it calls onStartRequest but if URI is an unexisting file:// URI it never calls onStartRequest and never returns Reproducible: Always Steps to Reproduce: 1. call asyncCheck with an unexisting file:// URI 2. see if onStartRequest is called 3. Actual Results: onStartRequest does not get called Expected Results: call onStartRequest
Comment 1•20 years ago
|
||
Hrm... when I tested this just now, I find that AsyncCheck throws an exception. I agree that it should call the API instead to report the non-existant file in a consistent manner. You should be able to hack around this problem until that is fixed. This is not a critical bug.
Severity: critical → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: helpwanted
Target Milestone: --- → mozilla1.8beta3
(In reply to comment #1) > This is not a critical bug. I agree. It does throw an exception and I can use that now that I finally understand what it is doing. And yes I would still vote to change it to use the normal API. I was promised in some documentation to be able to treat file:// http:// etc. URIs with the same routines and let mozilla take care of the underlying protocol handling and I'm trying to utilize it as much as I can :-).
Comment 3•20 years ago
|
||
*** Bug 297868 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Target Milestone: mozilla1.8beta3 → mozilla1.9alpha
Updated•19 years ago
|
Assignee: darin → nobody
QA Contact: benc → networking
Target Milestone: mozilla1.9alpha → ---
Updated•9 years ago
|
Whiteboard: [necko-backlog]
Comment 4•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 5•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Comment 6•5 years ago
|
||
Code seems to have been removed.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•