cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8736) Android WebGL feature check returns incorrect result on some devices
Date Mon, 23 Mar 2015 23:04:53 GMT

    [ https://issues.apache.org/jira/browse/CB-8736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14376862#comment-14376862
] 

Joe Bowser commented on CB-8736:
--------------------------------

[~speige] Which non-amazon devices are affected by this? Any examples?

> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message