Re: HTTP redirect code removing a request from the load group of a docshell-generated about:blank document

Honza Bambas <[email protected]> Thu, 02 Aug 2012 18:08:05 +0200
Newsgroups gmane.comp.mozilla.devel.netlib
Message-ID <[email protected]>
On 8/2/2012 1:47 PM, Henri Sivonen wrote:
> Could someone who understands HTTP redirects (and, perhaps, strict
> transport security), please, take a look at
> https://bugzilla.mozilla.org/show_bug.cgi?id=779100 ?
>
> Redirect handling code somehow manages to not only remove a request
> from the load group of and about:blank document that has been
> generated by the docshell (not the parser) but removes the last
> request from the load group prematurely. The premature removal of the
> last request in the load group happens even with
> https://bugzilla.mozilla.org/attachment.cgi?id=648310&action=edit
> applied, and that patch explicitly adds a non-HTTP request to the load
> group, which suggests that networking code removes requests that
> someone else added to the load group.
>
> What might be going on here? Why would HTTP redirect code have
> anything to do with a document that wasn't loaded over a HTTP(S)
> connection and, in fact, didn't originate from a stream at all?
>
I'll take a look.
-hb-