Closed Bug 714751 Opened 14 years ago Closed 9 years ago

XHR needs to cancel channels with a failure code

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1191981

People

(Reporter: khuey, Assigned: khuey)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
No description provided.
Attachment #585376 - Flags: review?(bugs)
Comment on attachment 585376 [details] [diff] [review] Patch I'm not familiar with this strange looking blob handling in XHR. Sicking and Masatoshi should know better.
Attachment #585376 - Flags: review?(jonas)
Attachment #585376 - Flags: review?(bugs)
Attachment #585376 - Flags: review?(VYV03354)
Comment on attachment 585376 [details] [diff] [review] Patch NS_OK is required here, otherwise the cache entry for the blob response will be doomed. At least you also need to modify codes about caching.
Attachment #585376 - Flags: review?(VYV03354) → review-
Hmm, the nsIRequest docs say that the code needs to be a failure code. Guess we'll need to fix the cache here.
Comment on attachment 585376 [details] [diff] [review] Patch Yeah, we need other or more changes here. As an aside, does this pass tests? If so that's probably an indication that our tests aren't good enough.
Attachment #585376 - Flags: review?(jonas)
Component: DOM: Mozilla Extensions → DOM
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: