[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 16:26:45 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=108545





--- Comment #13 from Yongjun Zhang <yongjun_zhang at apple.com>  2013-02-01 16:28:47 PST ---
(In reply to comment #12)
> (From update of attachment 186180 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=186180&action=review
> 
> > LayoutTests/fast/images/image-error-event-not-firing.html:25
> > +    }, 200);
> 
> Would a zero timeout work?

My concern is using zero timeout could cause flaky results since onerror is fired asynchronously and errorEventSender's timer might fire after setTimeout DOMTimer.  Setting to 200 gives us a safe buffer for that.

-- 
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