Darin Fisher wrote:
Hmm... so you would have data: URLs inherit some sort of context instead of getting assigned a null context per bug 334407. Or, are you saying that "some sort of context" in that case is the null context?
Right now data: URIs inherit a context if there is one to inherit (hardcoded check for "data" scheme). If not, they get a context based on the URI.
I want to remove the hardcoded check and to give them a null context if there's nothing to inherit instead of using the URI context.
s/context/principal/ in everything, of course, but I don't want to use "principal" in a necko interface.
At any rate, I'm generally pro adding flags to nsIProtocolHandler that can be used to avoid special-casing protocol schemes elsewhere, so yeah... sounds good :)
Awesome. I'll work on that tonight, I guess. Patch will be on bug 334407. -Boris _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
