[Cocoa] Add an originatingWebView property to _WKDownload
Created attachment 228129 [details] Patch
Comment on attachment 228129 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=228129&action=review > Tools/TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:248 > + _webView.clear(); Please use = nullptr here instead.
Created attachment 228133 [details] Patch
(In reply to comment #2) > (From update of attachment 228129 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=228129&action=review > > > Tools/TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:248 > > + _webView.clear(); > > Please use = nullptr here instead. Thanks! Will do. I uploaded a new patch before I saw your review, but the only difference is that I'm initializing allowOverwrite to NO in DownloadClient::decideDestinationWithSuggestedFilename().
Committed r166466: <http://trac.webkit.org/changeset/166466>
Two APIs tests are failing after this. Can you please have a look?
(In reply to comment #6) > Two APIs tests are failing after this. Can you please have a look? http://trac.webkit.org/changeset/166470 should fix them.