Changeset 202329 in webkit
- Timestamp:
- Jun 22, 2016 9:55:49 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r202316 r202329 1 2016-06-21 Sam Weinig <sam@webkit.org> 2 3 WKWebView with no WKNavigationDelegate does not follow universal links 4 <rdar://problem/24374110> 5 https://bugs.webkit.org/show_bug.cgi?id=158997 6 7 Reviewed by Dan Bernstein. 8 9 API Test: 10 WKWebView.DefaultNavigationDelegate 11 12 * UIProcess/API/Cocoa/WKWebView.mm: 13 (-[WKWebView _initializeWithConfiguration:]): 14 When initializing the WKWebView, set a default navigation client. 15 1 16 2016-06-21 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
r202316 r202329 543 543 544 544 _navigationState = std::make_unique<WebKit::NavigationState>(self); 545 _page->setNavigationClient(_navigationState->createNavigationClient()); 546 545 547 _uiDelegate = std::make_unique<WebKit::UIDelegate>(self); 546 548 _page->setFindClient(std::make_unique<WebKit::FindClient>(self)); -
trunk/Tools/ChangeLog
r202327 r202329 1 2016-06-21 Sam Weinig <sam@webkit.org> 2 3 WKWebView with no WKNavigationDelegate does not follow universal links 4 <rdar://problem/24374110> 5 https://bugs.webkit.org/show_bug.cgi?id=158997 6 7 Reviewed by Dan Bernstein. 8 9 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: 10 * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDefaultNavigationDelegate.mm: Added. 11 Add a new test that shows that we have a default navigation delegate by swizzling 12 -[NSWorkspace openURL:]. This will only be called if there is a default client. 13 1 14 2016-06-22 Per Arne Vollan <pvollan@apple.com> 2 15 -
trunk/Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
r202316 r202329 101 101 7C3965061CDD74F90094DBB8 /* Color.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C3965051CDD74F90094DBB8 /* Color.cpp */; }; 102 102 7C3DB8E41D12129B00AE8CC3 /* CommandBackForward.mm in Sources */ = {isa = PBXBuildFile; fileRef = 7C3DB8E21D12129B00AE8CC3 /* CommandBackForward.mm */; }; 103 7C417F331D19E14800B8EF53 /* WKWebViewDefaultNavigationDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 7C417F311D19E14800B8EF53 /* WKWebViewDefaultNavigationDelegate.mm */; }; 103 104 7C486BA11AA12567003F6F9B /* bundle-file.html in Copy Resources */ = {isa = PBXBuildFile; fileRef = 7C486BA01AA1254B003F6F9B /* bundle-file.html */; }; 104 105 7C54A4BE1AA11CCA00380F78 /* WKBundleFileHandle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C54A4BC1AA11CCA00380F78 /* WKBundleFileHandle.cpp */; }; … … 753 754 7C3965051CDD74F90094DBB8 /* Color.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Color.cpp; sourceTree = "<group>"; }; 754 755 7C3DB8E21D12129B00AE8CC3 /* CommandBackForward.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CommandBackForward.mm; sourceTree = "<group>"; }; 756 7C417F311D19E14800B8EF53 /* WKWebViewDefaultNavigationDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKWebViewDefaultNavigationDelegate.mm; sourceTree = "<group>"; }; 755 757 7C486BA01AA1254B003F6F9B /* bundle-file.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; path = "bundle-file.html"; sourceTree = "<group>"; }; 756 758 7C54A4BC1AA11CCA00380F78 /* WKBundleFileHandle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WKBundleFileHandle.cpp; sourceTree = "<group>"; }; … … 1167 1169 93E943F11CD3E87E00AC08C2 /* VideoControlsManager.mm */, 1168 1170 2D00065D1C1F58940088E6A7 /* WKPDFViewResizeCrash.mm */, 1171 7C417F311D19E14800B8EF53 /* WKWebViewDefaultNavigationDelegate.mm */, 1169 1172 0F3B94A51A77266C00DE3272 /* WKWebViewEvaluateJavaScript.mm */, 1170 1173 9984FACA1CFFAEEE008D198C /* WKWebViewTextInput.mm */, … … 2100 2103 7CCE7EAF1A411A3800447C4C /* PlatformUtilities.cpp in Sources */, 2101 2104 0F139E781A423A6B00F590F5 /* PlatformUtilitiesCocoa.mm in Sources */, 2105 7C417F331D19E14800B8EF53 /* WKWebViewDefaultNavigationDelegate.mm in Sources */, 2102 2106 7CCE7EA61A411A0F00447C4C /* PlatformUtilitiesMac.mm in Sources */, 2103 2107 7CCE7EA71A411A1300447C4C /* PlatformWebViewMac.mm in Sources */,
Note: See TracChangeset
for help on using the changeset viewer.