mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 671906 - Fix the logic for matching principals in imagelib CORS code. r=bz
This commit is contained in:
parent
33e03d0d4b
commit
f2e56e6dc3
@ -445,7 +445,7 @@ ValidateCORS(imgRequest* request, PRInt32 corsmode, nsIPrincipal* loadingPrincip
|
||||
if (otherprincipal && loadingPrincipal) {
|
||||
PRBool equals = PR_FALSE;
|
||||
otherprincipal->Equals(loadingPrincipal, &equals);
|
||||
return !equals;
|
||||
return equals;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user