RESOLVED FIXED 91018
Failure to dispatch didFinishLoadForFrame if font load fails synchronously
https://bugs.webkit.org/show_bug.cgi?id=91018
Summary Failure to dispatch didFinishLoadForFrame if font load fails synchronously
Antti Koivisto
Reported 2012-07-11 14:40:20 PDT
If a font load fails synchronously (by willSendRequest delegate) we might fail to dispatch didFinishLoadForFrame. Normally checkLoadComplete would be invoked by DocumentLoader::removeSubresourceLoader but in case of a synchronous failure add/removeSubresourceLoader is not called at all.
Attachments
patch (1.83 KB, patch)
2012-07-11 15:07 PDT, Antti Koivisto
enrica: review+
Antti Koivisto
Comment 1 2012-07-11 14:41:57 PDT
Antti Koivisto
Comment 2 2012-07-11 15:07:28 PDT
Created attachment 151793 [details] patch I'll see about making an API test though conditions where this occur a fairly specific.
Pratik Solanki
Comment 3 2012-07-11 15:29:41 PDT
Comment on attachment 151793 [details] patch Looks good to me.
Enrica Casucci
Comment 4 2012-07-11 17:40:49 PDT
Comment on attachment 151793 [details] patch This looks good to me.
Antti Koivisto
Comment 5 2012-07-12 04:41:46 PDT
Note You need to log in before you can comment on or make changes to this bug.