If you go to a page that uses plugins such as flash, and click a link or cancel the load, the browser will crash. Investigating the problem I found out that our ResourceHandle implementation calls didFinishLoading in it's cancel method, which is completely bogus, the way I understand the workflow, and is not done by any other ports except for the Windows (WebCore/platform/network/win/ResourceHandleWin.cpp) port. I made a patch removing the calls to didFinishLoading, and tested with acid2, acid3, and the webkit layout tests, and found no regression. The crash is also gone.
Created attachment 28307 [details] backtrace
Created attachment 28308 [details] proposed fix
Comment on attachment 28308 [details] proposed fix > + didFinishLoading here is mostly innofensive for most loads, but Typo: inoffensive. Please add a bug URL to ChangeLog. r=me
Landed as r41453.