Skip to content
Browse files

Add Xbox 360 and Xbox One to the blacklist for geolocation

  • Loading branch information...
1 parent 4b1a381 commit ecce78fcb09f6c8cba5825abec0ca650e1390135 @NielsLeenheer committed Nov 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/engine.js
View
2 scripts/engine.js
@@ -39,7 +39,7 @@ Test = (function() {
'form.progress.element': Browsers.isBrowser('Baidu Browser'),
'files.fileSystem': Browsers.isOs('BlackBerry Tablet OS'),
'input.getUserMedia': Browsers.isBrowser('Baidu Browser') || Browsers.isBrowser('Sogou Explorer') || Browsers.isBrowser('UC Browser') || Browsers.isBrowser('Dolphin'),
- 'location.geolocation': Browsers.isBrowser('Baidu Browser'),
+ 'location.geolocation': Browsers.isDevice('Xbox 360') || Browsers.isDevice('Xbox One') || Browsers.isBrowser('Baidu Browser'),
'location.orientation': Browsers.isBrowser('Baidu Browser'),
'output.notifications': Browsers.isBrowser('Opera', '=', '18') || Browsers.isBrowser('Baidu Browser') || Browsers.isBrowser('Sogou Explorer'),
'output.requestFullScreen': Browsers.isBrowser('Sogou Explorer') || Browsers.isOs('BlackBerry Tablet OS') || Browsers.isOs('BlackBerry OS'),

0 comments on commit ecce78f

Please sign in to comment.
Something went wrong with that request. Please try again.