Closed Bug 454360 Opened 16 years ago Closed 16 years ago

Use Components.results.NS_BINDING_ABORTED instead of hardcoding the value

Categories

(Firefox :: General, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Firefox 3.1b1

People

(Reporter: philor, Assigned: philor)

References

Details

Attachments

(1 file)

Attached patch Fix v.1Splinter Review
Since bug 418406 was nice enough to expose network error constants in Components.results, we really ought to make use of them rather than hardcoding 0x804b0002 all over the place in JS. (Well, okay, there's one NET_TIMEOUT in here, too, but it's mostly about the BINDING_ABORTED.)
Attachment #337608 - Flags: review?(gavin.sharp)
Attachment #337608 - Flags: review?(gavin.sharp) → review+
http://hg.mozilla.org/mozilla-central/rev/1e470b607f55
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: