Bug 142576

Summary: [GTK] Add support for handling TLS errors to MiniBrowser
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: clopez, commit-queue, gustavo, pnormand, zan
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Fix coding style issues svillar: review+

Carlos Garcia Campos
Reported 2015-03-11 04:51:32 PDT
It's useful for testing TLS errors handling itself, but also to allow ignoring TLS errors when testing.
Attachments
Patch (3.16 KB, patch)
2015-03-11 04:52 PDT, Carlos Garcia Campos
no flags
Fix coding style issues (2.98 KB, patch)
2015-03-11 04:57 PDT, Carlos Garcia Campos
svillar: review+
Carlos Garcia Campos
Comment 1 2015-03-11 04:52:53 PDT
WebKit Commit Bot
Comment 2 2015-03-11 04:55:37 PDT
Attachment 248412 [details] did not pass style-queue: ERROR: Tools/MiniBrowser/gtk/BrowserWindow.c:374: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Tools/MiniBrowser/gtk/BrowserWindow.c:375: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Tools/MiniBrowser/gtk/BrowserWindow.c:376: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Tools/MiniBrowser/gtk/BrowserWindow.c:377: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 4 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Carlos Garcia Campos
Comment 3 2015-03-11 04:57:12 PDT
Created attachment 248413 [details] Fix coding style issues
Sergio Villar Senin
Comment 4 2015-03-11 07:44:18 PDT
Comment on attachment 248413 [details] Fix coding style issues View in context: https://bugs.webkit.org/attachment.cgi?id=248413&action=review > Tools/MiniBrowser/gtk/BrowserWindow.c:374 > + GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, "%s", "Unacceptable TLS Certificate"); /Unacceptable/Invalid/ ?
Carlos Alberto Lopez Perez
Comment 5 2015-03-11 08:58:34 PDT
BTW. I think we also need a switch to completely disable certificate validation. Otherwise URLs that embed content from sites with invalid certs don't work. Example: http://people.igalia.com/clopez/testssl.html
Carlos Garcia Campos
Comment 6 2015-03-11 12:14:56 PDT
Note You need to log in before you can comment on or make changes to this bug.