Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r155347 - [GTK] Cancel the current active WebKitAuthenticationR…
…equest on load failed https://bugs.webkit.org/show_bug.cgi?id=120350 Patch by Anton Obzhirov <a.obzhirov@samsung.com> on 2013-09-09 Reviewed by Carlos Garcia Campos. The default dialog does not get closed and the authentication is not cancelled if loading fails or is stopped on a page which requires HTTP authentication. This patch cancels the authentication request on load failed and adds new authentication cancelled signal in WebKitAuthenticationRequest to allow the application handling of authentication UI. * UIProcess/API/gtk/WebKitAuthenticationDialog.cpp: (authenticationCancelled): (webkitAuthenticationDialogInitialize): (webkitAuthenticationDialogDispose): (webkitAuthenticationDialogNew): * UIProcess/API/gtk/WebKitAuthenticationDialog.h: * UIProcess/API/gtk/WebKitAuthenticationRequest.cpp: (webkit_authentication_request_class_init): (webkit_authentication_request_cancel): * UIProcess/API/gtk/WebKitWebView.cpp: (webkitWebViewAuthenticate): (webkitWebViewLoadFailed): (webkitWebViewHandleAuthenticationChallenge): (webkitWebViewCancelAuthenticationRequest): * UIProcess/API/gtk/tests/TestWebKitWebView.cpp: (testWebViewAuthenticationLoadCancelled): (beforeAll):
- Loading branch information
1 parent
65adf30
commit 21db3d9
Showing
7 changed files
with
115 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters