[Webkit-unassigned] [Bug 108545] Document is never released if an image's src attribute is changed to a url blocked by content-security-policy.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 1 12:04:00 PST 2013


--- Comment #6 from Yongjun Zhang <yongjun_zhang at apple.com>  2013-02-01 12:06:01 PST ---
(In reply to comment #5)
> > At the end of ImageLoader::updateFromElement, we ref the source Element in updateHasPendingEvent() since m_hasPendingErrorEvent is still true, at ImageLoader.cpp:256:
> This makes me wonder if we should set m_hasPendingErrorEvent to false when calling errorEventSender().cancelEvent(this).

We could... but then we won't fire the error event in this case.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list