Skip to content

Commit

Permalink
Disable geolocation atoms test for Chrome.
Browse files Browse the repository at this point in the history
Chrome 50 disabled Geolocation APIs on insecure origins.

(... Is this test disabled for every supported browser now?)
  • Loading branch information
juangj committed May 26, 2016
1 parent d702af7 commit 8d83cc9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions javascript/atoms/test/html5/location_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@
// WebDriver does not enable geolocation for Firefox.
// WebDriver does not enable geolocation for IE 9.
// WebDriver does not enable geolocation for Safari.
// Chrome 50+ disables geolocation APIs on insecure origins; see
// https://goo.gl/rStTGz.
var GEOLOCATION_NOT_WORKING =
!bot.html5.isSupported(bot.html5.API.GEOLOCATION) ||
goog.userAgent.product.ANDROID ||
goog.userAgent.product.EDGE ||
goog.userAgent.product.FIREFOX ||
goog.userAgent.product.SAFARI ||
goog.userAgent.product.CHROME ||
// Geolocation is blocked by user consent screen on Chrome for Android.
(goog.labs.userAgent.platform.isAndroid() &&
goog.userAgent.product.CHROME) ||
Expand Down

0 comments on commit 8d83cc9

Please sign in to comment.