Bug 158200

Summary: [GTK] Test /webkit2/WebKitWebView/geolocation-permission-requests is failing since r201423
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, commit-queue, lforschler
Priority: P2 Keywords: Gtk
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Fix coding style pnormand: review+

Carlos Garcia Campos
Reported 2016-05-30 06:11:05 PDT
/webkit2/WebKitWebView/geolocation-permission-requests: ** ERROR:../../Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:741:void testWebViewGeolocationPermissionRequests(UIClientTest*, gconstpointer): assertion failed (result == "1"): ("2" == "1") FAIL This is because geolocation is no longer allowed for non secure sites, like HTTP. In that case POSITION_UNAVAILABLE ('2') is returned without asking the API layer. We need to update the test to not use HTTP, or even better keep the HTTP case to check that it's indeed returning POSITION_UNAVAILABLE.
Attachments
Patch (6.20 KB, patch)
2016-05-30 06:15 PDT, Carlos Garcia Campos
no flags
Fix coding style (6.20 KB, patch)
2016-05-30 06:23 PDT, Carlos Garcia Campos
pnormand: review+
Carlos Garcia Campos
Comment 1 2016-05-30 06:15:27 PDT
WebKit Commit Bot
Comment 2 2016-05-30 06:16:31 PDT
Attachment 280090 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:285: Declaration has space between type name and * in const char *waitUntilPermissionResultMessageReceived [whitespace/declaration] [3] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Carlos Garcia Campos
Comment 3 2016-05-30 06:23:58 PDT
Created attachment 280094 [details] Fix coding style
Carlos Garcia Campos
Comment 4 2016-05-31 00:21:36 PDT
Note You need to log in before you can comment on or make changes to this bug.