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.
<rdar://problem/11822378>
Created attachment 151793 [details] patch I'll see about making an API test though conditions where this occur a fairly specific.
Comment on attachment 151793 [details] patch Looks good to me.
Comment on attachment 151793 [details] patch This looks good to me.
http://trac.webkit.org/changeset/122446