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
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.