Changeset 228711 in webkit
- Timestamp:
- Feb 19, 2018 2:20:13 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r228696 r228711 1 2018-02-19 Ryan Haddad <ryanhaddad@apple.com> 2 3 Unreviewed, rolling out r228696. 4 5 The API test added with this change is timing out on macOS. 6 7 Reverted changeset: 8 9 "Null pointer dereference in 10 WebPageProxy::urlSchemeHandlerForScheme()" 11 https://bugs.webkit.org/show_bug.cgi?id=182905 12 https://trac.webkit.org/changeset/228696 13 1 14 2018-02-19 Daniel Bates <dabates@apple.com> 2 15 -
trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
r228696 r228711 7200 7200 WebURLSchemeHandler* WebPageProxy::urlSchemeHandlerForScheme(const String& scheme) 7201 7201 { 7202 return scheme.isNull() ? nullptr :m_urlSchemeHandlersByScheme.get(scheme);7202 return m_urlSchemeHandlersByScheme.get(scheme); 7203 7203 } 7204 7204 -
trunk/Tools/ChangeLog
r228589 r228711 1 2018-02-19 Ryan Haddad <ryanhaddad@apple.com> 2 3 Unreviewed, rolling out r228696. 4 5 The API test added with this change is timing out on macOS. 6 7 Reverted changeset: 8 9 "Null pointer dereference in 10 WebPageProxy::urlSchemeHandlerForScheme()" 11 https://bugs.webkit.org/show_bug.cgi?id=182905 12 https://trac.webkit.org/changeset/228696 13 1 14 2018-02-16 Ryosuke Niwa <rniwa@webkit.org> 2 15 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/DecidePolicyForNavigationAction.mm
r228696 r228711 562 562 } 563 563 564 @interface DecidePolicyForNavigationActionForMalformedURLDelegate : NSObject <WKNavigationDelegate>565 @end566 567 @implementation DecidePolicyForNavigationActionForMalformedURLDelegate568 569 - (void)webView:(WKWebView *)webView didFinishNavigation:(WKNavigation *)navigation570 {571 finishedNavigation = true;572 }573 574 @end575 576 TEST(WebKit, DecidePolicyForNavigationActionForMalformedURL)577 {578 auto webView = adoptNS([[WKWebView alloc] init]);579 auto controller = adoptNS([[DecidePolicyForNavigationActionForMalformedURLDelegate alloc] init]);580 [webView setNavigationDelegate:controller.get()];581 582 finishedNavigation = false;583 [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"N"]]];584 TestWebKitAPI::Util::run(&finishedNavigation);585 }586 587 564 #endif 588 565
Note: See TracChangeset
for help on using the changeset viewer.