Changeset 244512 in webkit
- Timestamp:
- Apr 22, 2019 2:54:58 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r244510 r244512 1 2019-04-22 David Quesada <david_quesada@apple.com> 2 3 Remove linked-on-or-after check for download attribute handling 4 https://bugs.webkit.org/show_bug.cgi?id=197176 5 rdar://problem/48459714 6 7 Reviewed by Alex Christensen. 8 9 There are no apps linked prior to this SDK version that are using the _WKDownload SPI, 10 so it doesn't make sense to preserve the old behavior of forcing download-attribute 11 links to start downloads. 12 13 * UIProcess/Cocoa/VersionChecks.h: 14 * UIProcess/WebPageProxy.cpp: 15 (WebKit::WebPageProxy::receivedNavigationPolicyDecision): 16 1 17 2019-04-22 Chris Dumez <cdumez@apple.com> 2 18 -
trunk/Source/WebKit/UIProcess/Cocoa/VersionChecks.h
r244239 r244512 69 69 FirstWithProcessSwapOnCrossSiteNavigation = DYLD_IOS_VERSION_FIRST_WITH_PROCESS_SWAP_ON_CROSS_SITE_NAVIGATION, 70 70 FirstWithSnapshotAfterScreenUpdates = DYLD_IOS_VERSION_FIRST_WITH_SNAPSHOT_AFTER_SCREEN_UPDATES, 71 FirstWhereDownloadAttributeDoesNotOverrideNavigationDelegate = DYLD_IOS_VERSION_FIRST_WHERE_DOWNLOAD_ATTRIBUTE_DOES_NOT_OVERRIDE_NAVIGATION_DELEGATE,72 71 FirstWithDeviceOrientationAndMotionPermissionAPI = DYLD_IOS_VERSION_FIRST_WITH_DEVICE_ORIENTATION_AND_MOTION_PERMISSION_API, 73 72 FirstThatDecidesPolicyBeforeLoadingQuickLookPreview = DYLD_IOS_VERSION_FIRST_THAT_DECIDES_POLICY_BEFORE_LOADING_QUICK_LOOK_PREVIEW, … … 81 80 FirstWithMainThreadReleaseAssertionInWebPageProxy = DYLD_MACOSX_VERSION_10_14, 82 81 FirstWithSnapshotAfterScreenUpdates = DYLD_MACOS_VERSION_FIRST_WITH_SNAPSHOT_AFTER_SCREEN_UPDATES, 83 FirstWhereDownloadAttributeDoesNotOverrideNavigationDelegate = DYLD_MACOS_VERSION_FIRST_WHERE_DOWNLOAD_ATTRIBUTE_DOES_NOT_OVERRIDE_NAVIGATION_DELEGATE,84 82 FirstWithExceptionsForRelatedWebViewsUsingDifferentDataStores = DYLD_MACOS_VERSION_FIRST_WITH_EXCEPTIONS_FOR_RELATED_WEBVIEWS_USING_DIFFERENT_DATA_STORES, 85 83 #endif -
trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
r244510 r244512 193 193 #include "TouchBarMenuData.h" 194 194 #include "TouchBarMenuItemData.h" 195 #include "VersionChecks.h"196 195 #include "VideoFullscreenManagerProxy.h" 197 196 #include "VideoFullscreenManagerProxyMessages.h" … … 2752 2751 2753 2752 #if PLATFORM(COCOA) 2754 static const bool forceDownloadFromDownloadAttribute = !WebKit::linkedOnOrAfter(SDKVersion::FirstWhereDownloadAttributeDoesNotOverrideNavigationDelegate);2753 static const bool forceDownloadFromDownloadAttribute = false; 2755 2754 #else 2756 2755 static const bool forceDownloadFromDownloadAttribute = true;
Note: See TracChangeset
for help on using the changeset viewer.