diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2019-08-08 16:44:51 +0300 |
---|---|---|
committer | win7-7 <win7-7@users.noreply.github.com> | 2019-08-08 16:44:51 +0300 |
commit | deae241f5e3db8f9b86b98933291b9a30e28db22 (patch) | |
tree | 150ec42d7352ffd8d61dafb4397d89bcaa396d5e /dom/base/nsIImageLoadingContent.idl | |
parent | 5a957202b70a0b11078b0cffa8967b63baff5661 (diff) | |
download | UXP-deae241f5e3db8f9b86b98933291b9a30e28db22.tar UXP-deae241f5e3db8f9b86b98933291b9a30e28db22.tar.gz UXP-deae241f5e3db8f9b86b98933291b9a30e28db22.tar.lz UXP-deae241f5e3db8f9b86b98933291b9a30e28db22.tar.xz UXP-deae241f5e3db8f9b86b98933291b9a30e28db22.zip |
Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
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(); |