[
https://issues.apache.org/jira/browse/CB-8736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Gill closed CB-8736.
--------------------------
Resolution: Won't Fix
> Android WebGL feature check returns incorrect result on some devices
> --------------------------------------------------------------------
>
> Key: CB-8736
> URL: https://issues.apache.org/jira/browse/CB-8736
> Project: Apache Cordova
> Issue Type: Bug
> Components: Amazon FireOS (deprecated)
> Affects Versions: 3.5.0
> Environment: Kindle Fire Tablets HD 6, 7, & HDX 8.9. (Although Fire
> Phone works correctly) Also, a small % of other Android devices
> Reporter: Devin Garner
> Assignee: Archana Naik
>
> //This following javascript code should determine if WebGL is available. On
> versions of Android prior to 5 (Lolipop), WebView didn't support WebGL, so
> all pre-Lolipop android devices should return "false" on this WebGL feature
> availability check. However, some pre-Lolipop devices are returning "true",
> which is incorrect.
> var canvas = document.createElement('canvas');
> canvas.screencanvas = false;
> var supportsWebGL = !!window.WebGLRenderingContext &&
> (canvas.getContext('webgl') || canvas.getContext('experimental-webgl'));
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]