Closed Bug 783562 Opened 13 years ago Closed 13 years ago

blob: protocol wrong Content-Type header

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: baku, Assigned: baku)

Details

Attachments

(1 file, 2 obsolete files)

The script in attach to https://bugzilla.mozilla.org/show_bug.cgi?id=782342 reproduces this problem. The Content-Type is always "application/xml".
A patch. Waiting for green on try.
Attachment #652791 - Attachment is obsolete: true
Attachment #652835 - Flags: review?(jonas)
Comment on attachment 652835 [details] [diff] [review] Bug 783562 - blob: protocol wrong Content-Type header, r=jonas Review of attachment 652835 [details] [diff] [review]: ----------------------------------------------------------------- r=me. Thanks! ::: modules/libjar/nsJARChannel.cpp @@ +719,5 @@ > if (NS_FAILED(rv)) return rv; > > NS_ADDREF(*stream = mJarInput); > + > + mOpened = true; Nit: I'd keep this together with setting mPending = true so that they are in sync during any functions called by this function. Same in AsyncOpen.
Attachment #652835 - Flags: review?(jonas) → review+
Attachment #652835 - Attachment description: Bug 783562 - blob: protocol wrong Content-Type header → Bug 783562 - blob: protocol wrong Content-Type header, r=jonas
Attachment #652835 - Flags: checkin?
title changed
Attachment #652835 - Attachment is obsolete: true
Attachment #652835 - Flags: checkin?
Attachment #654656 - Flags: checkin?
Keywords: checkin-needed
Attachment #654656 - Flags: checkin?
Green on Try. https://tbpl.mozilla.org/?tree=Try&rev=3eefa652b5f9 https://hg.mozilla.org/integration/mozilla-inbound/rev/9c0e1448ff3b Should this have a test or is it already covered by existing ones?
Assignee: nobody → amarchesini
Flags: in-testsuite?
Keywords: checkin-needed
This patch is covered by existing mochi tests.
Flags: in-testsuite? → in-testsuite-
Flags: in-testsuite- → in-testsuite+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
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: