Open Bug 132347 Opened 22 years ago Updated 2 years ago

necko progress "status" codes need not be errors

Categories

(Core :: Networking, defect, P5)

defect

Tracking

()

People

(Reporter: darin.moz, Unassigned)

Details

(Whiteboard: [necko-would-take])

necko progress "status" codes need not be errors.

for example, NS_NET_STATUS_RESOLVING_HOST is defined as:

#define NS_NET_STATUS_RESOLVING_HOST \
    NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_NETWORK, 3)

but should really be defined as:

#define NS_NET_STATUS_RESOLVING_HOST \
    NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_NETWORK, 3)

having these defined as errors causes problems for nsIWebProgressListener::
onStateChange impls, which need to distinguish progress status from actual errors.
Target Milestone: --- → mozilla1.1beta
Target Milestone: mozilla1.1beta → ---
mass futuring of untargeted bugs
Target Milestone: --- → Future
-> default owner
Assignee: darin → nobody
QA Contact: benc → networking
Target Milestone: Future → ---
Whiteboard: [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.