webgl-rs icon indicating copy to clipboard operation
webgl-rs copied to clipboard

Blank page in firefox 57

Open kindlychung opened this issue 7 years ago • 4 comments

As in title.

OS: ubuntu 17.04

kindlychung avatar Dec 22 '17 12:12 kindlychung

I'm also getting a blank page. I think it's because you're using a WebGL2 context which isn't supported on a lot of systems.

https://webglstats.com/webgl 97% support https://webglstats.com/webgl2 39% support

verb-noun avatar Dec 22 '17 15:12 verb-noun

thanks for the report. I'm using chrome on windows. I changed to webgl1 context. there is an error related to WeakMap on firefox. but I don't think browser compatibility is a focus at this point.

oussama avatar Dec 24 '17 01:12 oussama

This appears to be a bug in Firefox. I just replicated this error in nightly on OSX. Steps to replicate:

var canvas = document.createElement('canvas')
var ctx = canvas.getContext('webgl')
var buffer = ctx.createBuffer()
var weakMap = new WeakMap()
weakMap.set(buffer, 'some value')

I'll file a bug in the appropriate component and link to it here.

jgmize avatar Jan 05 '18 19:01 jgmize

Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1428438

jgmize avatar Jan 05 '18 19:01 jgmize