mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
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)
This commit is contained in:
parent
73cdb3106e
commit
e6f376f5ef
12 changed files with 130 additions and 79 deletions
|
|
@ -103,6 +103,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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue