NEW 119877
DocumentLoader should be finished after convertMainResourceLoadToDownload
https://bugs.webkit.org/show_bug.cgi?id=119877
Summary DocumentLoader should be finished after convertMainResourceLoadToDownload
Mary Wu
Reported 2013-08-15 22:56:15 PDT
After convertMainResourceLoadToDownload(), we should wrap up current documentLoader. But if mainResource is cachedResource, mainResourceLoader doesn't exist, ResourceLoader::didFail() won't be hit, so the following DocumentLoader() dataReceived() will still cause the page loading. We add cancelMainResourceLoad() to make sure current page load finished gracefully.
Attachments
patch (1.92 KB, patch)
2013-08-15 23:03 PDT, Mary Wu
beidson: review-
Mary Wu
Comment 1 2013-08-15 23:03:22 PDT
Darin Adler
Comment 2 2013-08-15 23:22:45 PDT
Comment on attachment 208882 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=208882&action=review > Source/WebCore/ChangeLog:13 > + No new tests (OOPS!). Why no regression test? Can we make one?
Brady Eidson
Comment 3 2016-05-24 22:02:28 PDT
Comment on attachment 208882 [details] patch Assuming that patches for review since 2013 are stale, r-
Note You need to log in before you can comment on or make changes to this bug.