mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-27 01:27:30 +09:00
import change from mozilla upstream: Bug 1559715 r=dholbert,mstange a=RyanVM
This commit is contained in:
parent
41dd9e2994
commit
ac9bc068b8
1 changed files with 0 additions and 7 deletions
|
|
@ -288,13 +288,6 @@ SVGFEImageElement::OutputIsTainted(const nsTArray<bool>& aInputsAreTainted,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t status;
|
|
||||||
currentRequest->GetImageStatus(&status);
|
|
||||||
if ((status & imgIRequest::STATUS_LOAD_COMPLETE) == 0) {
|
|
||||||
// The load has not completed yet.
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
nsCOMPtr<nsIPrincipal> principal;
|
nsCOMPtr<nsIPrincipal> principal;
|
||||||
rv = currentRequest->GetImagePrincipal(getter_AddRefs(principal));
|
rv = currentRequest->GetImagePrincipal(getter_AddRefs(principal));
|
||||||
if (NS_FAILED(rv) || !principal) {
|
if (NS_FAILED(rv) || !principal) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue