Closed
Bug 288921
Opened 20 years ago
Closed 20 years ago
[FIX]Media (and XUL) documents have no content-disposition
Categories
(Core :: DOM: Core & HTML, defect, P1)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.8beta2
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
()
Details
Attachments
(1 file)
|
16.08 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
The problem is that content-disposition is only set in nsContentSink on the document. It should probably happen in RetrieveRelevantHeaders.
| Assignee | ||
Comment 1•20 years ago
|
||
To clarify, the steps are: 1) Load http://inconstruction.kairo.at/?d=g&p=2289&f[m]=thumb 2) hit Ctrl-S The suggested filename shouldn't be the hostname.
| Assignee | ||
Comment 2•20 years ago
|
||
This patch just moves processing of all headers except "link" from the sink into the document, since the sink itself doesn't really need to deal with them. It also moves processing of the "refresh" header for normal loads out of docshell and into the document so that the header won't be processed twice if it's an actual HTTP header (the document needs to process it for the case when it's a <meta> tag). I've tested that refresh still works, both as HTTP and meta tag. The end result is that documents that don't use nsContentSink (XUL and media documents) still get the relevant headers.
| Assignee | ||
Updated•20 years ago
|
Attachment #179590 -
Flags: superreview?(jst)
Attachment #179590 -
Flags: review?(jst)
| Assignee | ||
Updated•20 years ago
|
Priority: -- → P1
Summary: Media (and XUL) documents have no content-disposition → [FIX]Media (and XUL) documents have no content-disposition
Target Milestone: --- → mozilla1.8beta2
Comment 3•20 years ago
|
||
Comment on attachment 179590 [details] [diff] [review] Proposed patch r+sr=jst
Attachment #179590 -
Flags: superreview?(jst)
Attachment #179590 -
Flags: superreview+
Attachment #179590 -
Flags: review?(jst)
Attachment #179590 -
Flags: review+
| Assignee | ||
Comment 4•20 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•