Closed
Bug 783562
Opened 13 years ago
Closed 13 years ago
blob: protocol wrong Content-Type header
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
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".
| Assignee | ||
Comment 1•13 years ago
|
||
A patch. Waiting for green on try.
| Assignee | ||
Comment 2•13 years ago
|
||
Attachment #652791 -
Attachment is obsolete: true
| Assignee | ||
Updated•13 years ago
|
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+
| Assignee | ||
Updated•13 years ago
|
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?
| Assignee | ||
Comment 4•13 years ago
|
||
title changed
Attachment #652835 -
Attachment is obsolete: true
Attachment #652835 -
Flags: checkin?
Attachment #654656 -
Flags: checkin?
| Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Updated•13 years ago
|
Attachment #654656 -
Flags: checkin?
Comment 5•13 years ago
|
||
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 | ||
Comment 6•13 years ago
|
||
This patch is covered by existing mochi tests.
Updated•13 years ago
|
Flags: in-testsuite? → in-testsuite-
Updated•13 years ago
|
Flags: in-testsuite- → in-testsuite+
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Depends on: 786399
No longer depends on: 786399
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•