Closed
Bug 589025
Opened 14 years ago
Closed 14 years ago
e10s: ExternalHelperAppParent must support content-disposition property of nsIChannel
Categories
(Core :: Networking: HTTP, defect)
Core
Networking: HTTP
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | 2.0b1+ | --- |
People
(Reporter: crowderbt, Assigned: crowderbt)
References
Details
Attachments
(1 file, 5 obsolete files)
7.66 KB,
patch
|
crowderbt
:
review+
|
Details | Diff | Splinter Review |
Summary+patch says it all.
Assignee | ||
Updated•14 years ago
|
Attachment #467625 -
Flags: review?(dwitte)
Comment 1•14 years ago
|
||
We can also fix this by just moving contentDisposition onto nsIChannel -- bug 589292. Let's see what happens there, because it'll basically give you what you want for free. ;)
Assignee | ||
Comment 2•14 years ago
|
||
We should merge this patch with the patch in that bug, then, since that bug has ExternalHelperAppParent returning an empty Content-Disposition, which is not sufficient... would that be alright?
Comment 3•14 years ago
|
||
Yep!
Comment 4•14 years ago
|
||
Comment on attachment 467625 [details] [diff] [review] Add support for Content-Disposition: header across process boundaries Canceling request -- want to write a patch on top of the one in that bug, and I'll stamp?
Attachment #467625 -
Flags: review?(dwitte)
Assignee | ||
Comment 5•14 years ago
|
||
Heading out to go see my kids after their first day of school, but I'll happily spin a rev of this tomorrow morning built on the patch in bug 589292 (you going to spin that for read-only?)
Assignee | ||
Comment 6•14 years ago
|
||
Assignee: nobody → crowderbt
Attachment #467625 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Summary: e10s: ExternalHelperAppParent must support nsIMultiPartChannel to enable content-disposition to work → e10s: ExternalHelperAppParent must support content-disposition property of nsIChannel
Assignee | ||
Comment 7•14 years ago
|
||
This now requires the work from bug 589292 and will not work/apply without it.
Depends on: 589292
Assignee | ||
Comment 8•14 years ago
|
||
Comment on attachment 469168 [details] [diff] [review] Add support for Content-Disposition: header across process boundaries If you like this, maybe you can just land it in-sync with the patch from bug 589292?
Attachment #469168 -
Flags: review?(dwitte)
Comment 9•14 years ago
|
||
Comment on attachment 469168 [details] [diff] [review] Add support for Content-Disposition: header across process boundaries > void > ExternalHelperAppParent::Init(TabParent *parent, > const nsCString& aMimeContentType, >+ const nsCString& aContentDisposition, > const PRBool& aForceSave) > { >+ SetContentDisposition(aContentDisposition); Latest patch in that bug makes contentDisposition readonly, so you'll want to directly set mContentDisposition here. > NS_IMETHODIMP > ExternalHelperAppParent::SetContentDisposition(const nsACString& aContentDisposition) > { >- return NS_ERROR_NOT_IMPLEMENTED; >+ mContentDisposition = aContentDisposition; >+ return NS_OK; > } Likewise you'll want to remove this. r=dwitte with that. Want to post an exported patch?
Attachment #469168 -
Flags: review?(dwitte) → review+
Assignee | ||
Comment 10•14 years ago
|
||
Keeping dwitte's review
Attachment #469168 -
Attachment is obsolete: true
Attachment #469239 -
Flags: review+
Comment 11•14 years ago
|
||
http://hg.mozilla.org/projects/electrolysis/rev/bc6739931542 Should leave this open til we merge to m-c. Should do that before Monday.
Comment 12•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/bc6739931542
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 13•14 years ago
|
||
Need a new fix here now that bug 589292 is getting backed out.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 14•14 years ago
|
||
This should block fennec2.0b1 but not beta5, right?
Updated•14 years ago
|
blocking2.0: beta6+ → ---
Assignee | ||
Comment 16•14 years ago
|
||
Yes, this should block Fennec 2.0b1 because it is required functionality for Content-Disposition to work correctly. The original patch is the "new fix" needed here. I'll refresh that patch if it needs it and if not re-request review.
Assignee | ||
Comment 17•14 years ago
|
||
With r=dwitte in the checkin-message, I'll update in review moves.
Attachment #469239 -
Attachment is obsolete: true
Attachment #471539 -
Flags: review?(dwitte)
Updated•14 years ago
|
tracking-fennec: ? → 2.0b1+
Comment 18•14 years ago
|
||
Comment on attachment 471539 [details] [diff] [review] the older version, updated >+NS_IMETHODIMP >+ExternalHelperAppParent::GetBaseChannel(nsIChannel* *aChannel) >+{ >+ *aChannel = this; Any reason you didn't just make this throw? If not, I'd prefer that. r=dwitte
Attachment #471539 -
Flags: review?(dwitte) → review+
Assignee | ||
Comment 19•14 years ago
|
||
Carrying dwitte's review over with GetBaseChannel change
Attachment #471539 -
Attachment is obsolete: true
Attachment #474208 -
Flags: review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 20•14 years ago
|
||
Attachment #474208 -
Attachment is obsolete: true
Attachment #474746 -
Flags: review+
Comment 21•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/4906e07c0970
Keywords: checkin-needed
Assignee | ||
Updated•14 years ago
|
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•