Comment 88 for bug 294712

(From update of attachment 386326)
What I mean is: and are the same to the content policy in that policies will be enforced for bar.baz in both cases. In this api, if you call ignorePolicy on, will not be ignored. I don't know how to reliably get the "bar.baz" out of a url and doing the same thing TestPermission does of culling between the second-to-last and last '.' won't work for (or any other international suffix).

As to the scheme checking, I can do that, but I just use GetHost, which is pretty much the same thing. I think ShouldLoad should be changed to check for a valid host, as it is probably a bit faster then comparing strings.

Do you want me to do that here?