Closed Bug 14847 Opened 21 years ago Closed 20 years ago

urltest fails one of the tests

Categories

(Core :: Networking, defect, P3, minor)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bratell, Assigned: gagan)

Details

I just tried "urltest.exe -all" and one of the tests failed.
The output was:

Should not create URL
Analyzing mailbox:///foo
Got    mailbox,,,-1,/foo
looks good to me. If you are talking about that it should not create an URL I
think it's time to change the result of the test in urltest. Is there now a
mailbox protocol handler?
Looks like you're right. The code says:
	// These tests will fail to create a URI from NS_NewURI calls...
	// because of a missing scheme: in front. This set assumes
	// an only working http handler is available. When we switch on mail
these
        // results will change!

The fix is extremely simple. Just change PR_TRUE to PR_FALSE on line 149 in
mozilla/netwerk/test/urltest.cpp.
Status: NEW → ASSIGNED
Fixed. Will check in soon.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
This was checked in some time ago and works fine now. I mark the bug FIXED.
Bulk move of all Networking-Core (to be deleted component) bugs to new
Networking component.
Verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.