[
https://issues.apache.org/jira/browse/CB-8736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14377134#comment-14377134
]
Devin Garner commented on CB-8736:
----------------------------------
The only example of a non-amazon device I can reproduce this with is
RCT6773W22. I think it's rare to see this issue on non-amazon as I have
tons of example devices where the code is working fine.
> 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, Android
> 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]