Fix downloads when using NetworkSession
Created attachment 272071 [details] Patch
Comment on attachment 272071 [details] Patch This first patch fixes all the API tests, but I'm not sure if everything is necessary and there's probably a better way for some of the things.
Created attachment 272127 [details] Patch
Comment on attachment 272127 [details] Patch Makes things work, doesn't break other things, it must be right; Right?
http://trac.webkit.org/changeset/197050
Comment on attachment 272127 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=272127&action=review > Source/WebKit2/NetworkProcess/cocoa/NetworkSessionCocoa.mm:281 > auto downloadID = m_downloadMap.take(taskIdentifier); > - ASSERT(downloadID.downloadID()); > return downloadID; In a case like this, I would like to see us remove the local variable when refactoring to remove the line of code in between.