dnsservice asserts do not match return values

VERIFIED WONTFIX

Status

()

Core
Networking
--
enhancement
VERIFIED WONTFIX
16 years ago
16 years ago

People

(Reporter: timeless, Assigned: gordon)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

16 years ago
950 gordon 1.80 NS_ASSERTION(mDNSServiceLock == nsnull, "nsDNSService 
not shut down");
951 if (mDNSServiceLock) return NS_ERROR_ALREADY_INITIALIZED;
The return is already initialized; the assertion should be too.

986 gordon 1.36 // create DNS thread
987 gordon 1.45 NS_ASSERTION(mThread == nsnull, "nsDNSService not shut down");
I'm not sure what the assertion should be,
but I'm pretty sure that it shouldn't be what it is.
(Assignee)

Comment 1

16 years ago
These assertions fire only if the DNS service was previously initialized and not
shutdown properly, so although the assertions don't match the returned error
word for word, I don't think they're wrong.

Marking WONTFIX, but I'm happy to entertain counter proposals.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WONTFIX

Comment 2

16 years ago
VERIFIED/wontfix
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.