[
https://issues.apache.org/jira/browse/CB-8736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14378124#comment-14378124
]
Archana Naik commented on CB-8736:
----------------------------------
I am not sure here whether we had it enabled for amazon-fireos or not.
AmazonWebView had some of the HTML5 features available prior to Lollipop. I
will check with my team here and get back to you.
> 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
> 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]