Re: Question about auto xlinks

Boris Zbarsky <[email protected]> Mon, 05 Feb 2007 20:29:18 -0600
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
Jonas Sicking wrote:
>> Can we just remove that?  Shouldn't the CheckLoadURI check it does 
>> handle this?
> 
> That it does where? TriggerLink calls CheckLoadURIWithPrincipal, but 
> that doesn't seem to have enough info to dig back to the DocShell

That's true, but it passes the flag that tells the security manager to deny if 
the link is coming from a document loaded via any of the mailnews protocols.

So I guess the real question is what sort of check we want here.  Do we care to 
do this for an http:// document loaded in a mailnews docshell, e.g.?

-Boris