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?

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 :)

-Darin



On 4/17/06, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> I'd like to propose a new protocol handler flag:
>
>    URI_HAS_NO_SECURITY_CONTEXT
>
> to be used by protocols whose URI does not carry any inherent security context
> and should instead "inherit" some sort of context.  Specific examples are:
> data:, javascript:, external protocol handler.
>
> This would allow me to remove a bunch of hardcoded checks for data: and
> javascript:, as well as fix bug 334407 in a sane way.
>
> Thoughts?
>
> -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

Reply via email to