bradley/Blotter

Webpage not showing in Safari / macOS

daslicht opened this issue · 2 comments

https://blotter.js.org is not showing in Safari / macOS.
The console shows:

[Error] THREE.WebGLRenderer: Error creating WebGL context.
	ub (blotter-site.min.js:32:112974)
	(anonymous function) (blotter-site.min.js:32:354127)
	Global Code (blotter-site.min.js:32:354235)
[Error] TypeError: null is not an object (evaluating 'a.getExtension')
	get (blotter-site.min.js:32:93895)
	c (blotter-site.min.js:32:98209)
	ub (blotter-site.min.js:32:113069)
	(anonymous function) (blotter-site.min.js:32:354127)
	Global Code (blotter-site.min.js:32:354235)

hope that helps somehow

First of all thank you very much for excellent library. I have same problem with web-site.

What I see in Chrome 66:

problem

Errors in console:

chrome-66

In Firefox 59 I can see all content, but there are such errors in console:

firefox-59

In Edge 42 does't display any content:

edge-42

@daslicht, @sergey-pimenov Your problems appear to be different so (months later, Im sorry) Ill offer some advice to each post:

@daslicht It looks like webgl failed to load in your browser. Note how the error itself is coming from Three.js. That's very early in Blotter's lifecycle and likely has nothing to do with Blotter or even ThreeJS but rather something wrong with your browser or system. However, I think the Three.js project is a better place to debug that issue: mrdoob/three.js#4927

@sergey-pimenov The issue with ImageData data lengths should now be fixed after the closing of #34.