Changeset 249193 in webkit
- Timestamp:
- Aug 28, 2019, 3:21:12 AM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/API/glib/WebKitWebView.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r249192 r249193 1 2019-08-28 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 REGRESSION(r243434): Wrong URL passed to WebKitWebView::load-failed when cancelling previous load 4 https://bugs.webkit.org/show_bug.cgi?id=201176 5 6 Reviewed by Žan Doberšek. 7 8 Use the current provisional/committed url when faking an error event, instead of the current active URI that can 9 be the pending api request of a new load. 10 11 * UIProcess/API/glib/WebKitWebView.cpp: 12 (webkitWebViewWillStartLoad): 13 1 14 2019-08-28 Claudio Saavedra <csaavedra@igalia.com> 2 15 -
trunk/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
r248846 r249193 2099 2099 GUniquePtr<GError> error(g_error_new_literal(WEBKIT_NETWORK_ERROR, WEBKIT_NETWORK_ERROR_CANCELLED, _("Load request cancelled"))); 2100 2100 webkitWebViewLoadFailed(webView, pageLoadState.isProvisional() ? WEBKIT_LOAD_STARTED : WEBKIT_LOAD_COMMITTED, 2101 webView->priv->activeURI.data(), error.get()); 2101 pageLoadState.isProvisional() ? pageLoadState.provisionalURL().utf8().data() : pageLoadState.url().utf8().data(), 2102 error.get()); 2102 2103 } 2103 2104
Note:
See TracChangeset
for help on using the changeset viewer.