Closed
Bug 165360
Opened 24 years ago
Closed 24 years ago
if NS_CheckContentLoadPolicy fails in nsHTMLImageElement::SetSrcInner, should we really continue?
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
DUPLICATE
of bug 164781
People
(Reporter: timeless, Assigned: jst)
Details
while talking about bug 164781, siking and jkeiser worried about continuing if
the NS_CheckContentLoadPolicy call failed
PRBool shouldLoad = PR_TRUE;
result =
NS_CheckContentLoadPolicy(nsIContentPolicy::IMAGE,
uri,
NS_STATIC_CAST(nsIDOMHTMLImageElement *,
this),
domWin, &shouldLoad);
if (NS_SUCCEEDED(result) && !shouldLoad) {
return NS_OK;
}
(eventually we'll return the NS_CheckContentLoadPolicy failure code to the caller).
*** This bug has been marked as a duplicate of 164781 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
You need to log in
before you can comment on or make changes to this bug.
Description
•