Summary: | [Cocoa] Add an originatingWebView property to _WKDownload | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andy Estes <aestes> | ||||||
Component: | New Bugs | Assignee: | Andy Estes <aestes> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | benjamin | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Andy Estes
2014-03-30 13:13:23 PDT
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. |