RESOLVED FIXED158200
[GTK] Test /webkit2/WebKitWebView/geolocation-permission-requests is failing since r201423
https://bugs.webkit.org/show_bug.cgi?id=158200
Summary [GTK] Test /webkit2/WebKitWebView/geolocation-permission-requests is failing ...
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.