gecko-dev/docshell
Matt Woodrow a2c085754a Bug 1600211 - Disable content conversion by HttpChannelChild if we have already applied it by the time we get to HttpChannelParent::OnStartRequest. r=mayhemer
We normally get HttpChannelParent::OnStartRequest directly from nsHttpChannel::OnStartRequest, where we disable content conversion and ask the child to do it instead.

When we install a multipart converter, we defer calling HttpChannelParent::OnStartRequest until we've decoded parts, at which point content conversion is already applied to the stream.

This detects that case, and stops the child trying to do it a second time (which fails, and breaks the content).

Differential Revision: https://phabricator.services.mozilla.com/D55222

--HG--
extra : moz-landing-system : lando
2019-12-04 03:19:26 +00:00
..
base Backed out 2 changesets (bug 1599662) for multiple reftest failures e.g. downscale-moz-icon-1.html on a CLOSED TREE. 2019-12-04 03:54:27 +02:00
build Bug 1599968 - Remove nsIChildProcessChannelListerner interface. r=farre 2019-11-29 15:14:07 +00:00
resources/content Bug 1562642 - add missing license in docshell/resources/content/netError.js r=smaug 2019-11-12 08:26:18 +00:00
shistory Bug 1600454 - Fix build with --disable-accessibility. r=MarcoZ 2019-12-02 06:25:40 +00:00
test Bug 1600211 - Disable content conversion by HttpChannelChild if we have already applied it by the time we get to HttpChannelParent::OnStartRequest. r=mayhemer 2019-12-04 03:19:26 +00:00
moz.build Bug 1594981 - update Core::DOM* and Core::Storage* bugzilla product and component meta data in moz.build files after reorganization in bug 1594717. r=annevk 2019-11-08 12:17:57 +00:00