Yeah, that seems right. See http://mxr.mozilla.org/mozilla-central/source/netwerk/base/src/nsLoadGroup.cpp#519
-christian On Mon, Aug 19, 2013 at 9:37 AM, Boris Zbarsky <[email protected]> wrote: > On 8/19/13 4:45 AM, Mark Hammond wrote: >> >> nsLoadGroup::MergeLoadFlags() isn't actually called here > > > Hmm. This is only called for sub-requests. Worse yet, the default load > request will clobber the loadgroup flags. See > nsLoadGroup::SetDefaultLoadRequest. > > So you need to set the flag explicitly on the document load in docshell > _and_ propagate it in MergeLoadFlags. On the other hand, you don't need to > manually twiddle the flags on the loadgroup: setting them on the document > load request will handle it for the subresources. > > > -Boris > _______________________________________________ > dev-tech-network mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-network _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
