mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset d3e15ba0fd92 (bug 1121857) for cppunit failures
This commit is contained in:
parent
0f016d6a1b
commit
7d47fa4cc7
@ -3617,7 +3617,7 @@ nsDocument::SetBaseURI(nsIURI* aURI)
|
||||
nsCOMPtr<nsIContentSecurityPolicy> csp;
|
||||
nsresult rv = NodePrincipal()->GetCsp(getter_AddRefs(csp));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
if (csp && aURI) {
|
||||
if (csp) {
|
||||
bool permitsBaseURI = false;
|
||||
|
||||
// base-uri is only enforced if explicitly defined in the
|
||||
|
Loading…
Reference in New Issue
Block a user