mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1165558 - Return valid dispositions even if there wasn't a header. r=bz
This commit is contained in:
parent
41ed092324
commit
12a66da9f6
@ -1,9 +1,12 @@
|
||||
[DEFAULT]
|
||||
skip-if = e10s # Bug 1159385
|
||||
support-files = file_pdfjs_test.pdf
|
||||
|
||||
[browser_pdfjs_main.js]
|
||||
skip-if = e10s # Bug 1159385
|
||||
[browser_pdfjs_navigation.js]
|
||||
skip-if = e10s # Bug 1159385
|
||||
[browser_pdfjs_savedialog.js]
|
||||
[browser_pdfjs_views.js]
|
||||
skip-if = e10s # Bug 1159385
|
||||
[browser_pdfjs_zoom.js]
|
||||
skip-if = e10s # Bug 1159385
|
||||
|
@ -396,7 +396,9 @@ ExternalHelperAppParent::SetContentCharset(const nsACString& aContentCharset)
|
||||
NS_IMETHODIMP
|
||||
ExternalHelperAppParent::GetContentDisposition(uint32_t *aContentDisposition)
|
||||
{
|
||||
if (mContentDispositionHeader.IsEmpty())
|
||||
// NB: mContentDisposition may or may not be set to a non UINT32_MAX value in
|
||||
// nsExternalHelperAppService::DoContentContentProcessHelper
|
||||
if (mContentDispositionHeader.IsEmpty() && mContentDisposition == UINT32_MAX)
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
|
||||
*aContentDisposition = mContentDisposition;
|
||||
|
Loading…
Reference in New Issue
Block a user