diff options
author | Moonchild <moonchild@palemoon.org> | 2019-08-09 08:25:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-09 08:25:37 +0000 |
commit | b5b29931034caa2aae356854f13bb744def1cd13 (patch) | |
tree | 49a7a620d38628e0f1f576a3a58538f238ad141b /dom/base/nsIImageLoadingContent.idl | |
parent | fa4d569b93885f47c4b53430fc93bf8b12e43fcb (diff) | |
parent | deae241f5e3db8f9b86b98933291b9a30e28db22 (diff) | |
download | UXP-b5b29931034caa2aae356854f13bb744def1cd13.tar UXP-b5b29931034caa2aae356854f13bb744def1cd13.tar.gz UXP-b5b29931034caa2aae356854f13bb744def1cd13.tar.lz UXP-b5b29931034caa2aae356854f13bb744def1cd13.tar.xz UXP-b5b29931034caa2aae356854f13bb744def1cd13.zip |
Merge pull request #1207 from win7-7/nsImageLoadingContent.cpp-AsyncOpen2
Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
Diffstat (limited to 'dom/base/nsIImageLoadingContent.idl')
-rw-r--r-- | dom/base/nsIImageLoadingContent.idl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/base/nsIImageLoadingContent.idl b/dom/base/nsIImageLoadingContent.idl index fea261a34..eacc4ac3a 100644 --- a/dom/base/nsIImageLoadingContent.idl +++ b/dom/base/nsIImageLoadingContent.idl @@ -104,6 +104,15 @@ interface nsIImageLoadingContent : imgINotificationObserver imgIRequest getRequest(in long aRequestType); /** + * Call this function when the request was blocked by any of the + * security policies enforced. + * + * @param aContentDecision the decision returned from nsIContentPolicy + * (any of the types REJECT_*) + */ + void setBlockedRequest(in int16_t aContentDecision); + + /** * @return true if the current request's size is available. */ [noscript, notxpcom] boolean currentRequestHasSize(); |