Changeset 223798 in webkit
- Timestamp:
- Oct 20, 2017 4:12:10 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r223791 r223798 1 2017-10-20 Alex Christensen <achristensen@webkit.org> 2 3 Fix download tests on El Capitan after r223730 4 https://bugs.webkit.org/show_bug.cgi?id=178547 5 6 * UIProcess/Downloads/DownloadProxy.cpp: 7 (WebKit::DownloadProxy::decideDestinationWithSuggestedFilename): 8 Revert to original behavior. This uses suggestedFilename, which may have come from places like 9 the download attribute, instead of always using the filename from CFNetwork. 10 1 11 2017-10-20 Alex Christensen <achristensen@webkit.org> 2 12 -
trunk/Source/WebKit/UIProcess/Downloads/DownloadProxy.cpp
r223730 r223798 206 206 207 207 String suggestedFilename = MIMETypeRegistry::appendFileExtensionIfNecessary(m_suggestedFilename.isEmpty() ? filename : m_suggestedFilename, mimeType); 208 m_processPool->downloadClient().decideDestinationWithSuggestedFilename(*m_processPool, *this, filename, [reply = WTFMove(reply)] (AllowOverwrite allowOverwrite, String destination) {208 m_processPool->downloadClient().decideDestinationWithSuggestedFilename(*m_processPool, *this, suggestedFilename, [reply = WTFMove(reply)] (AllowOverwrite allowOverwrite, String destination) { 209 209 SandboxExtension::Handle sandboxExtensionHandle; 210 210 if (!destination.isNull())
Note: See TracChangeset
for help on using the changeset viewer.