Re: Guidance wanted: checking whether a channel (?) comes from a particular domain

2016-07-06 Thread Gabor Krizsanits
I don't think we have exactly what you need, but here is what we have and can be extended to match your use case. 1. What we have is ExpandedPrincipal, which is essentially an array of principals (it subsumes all those principals). What we don't have is a wild card principal which you could use

Guidance wanted: checking whether a channel (?) comes from a particular domain

2016-07-05 Thread Benjamin Smedberg
As part of plugin work, I'm implementing code in nsDocument::StartDocumentLoad which is supposed to check whether this document is being loaded from a list of domains or any subdomains. So e.g. my list is: ["foo.com", "baz.com"] // expect 15-20 domains in this list, maybe more later And I want