-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Description
Hi there \o
Description
The chromium extension makes WebGL context crash after its activation (for one origin), until the browser is restarted.
Steps
- open chromium 59 with a fresh profile
- install webgl-inspector from the store
- Visit http://www.itowns-project.org/itowns2/examples/globe.html
- activate the chromium console
- activate webgl-inspector
Expected
- The page still works correctly (you can see the texture on the globe, zoom etc)
- The page can be debugged with webgl-inspector
Actual
- My computer freeze some seconds, the page crashes with all lot of errors, the first of them being
(unknown) Uncaught TypeError: Cannot read property 'createShader' of null
at new TexturePreviewGenerator (<anonymous>:9134:20)
at SurfaceInspector.TextureView.inspector.setupPreview (<anonymous>:10656:30)
at <anonymous>:7582:18
There are also a lot of warnings seemingly concerning my application (itowns), but I don't have them if I disable this extension. Full logs
- From this point on, every attempt to load this url will fail until I restart the browser, whether in this tab or another. And it seems it affect the whole origin (because http://www.itowns-project.org/itowns2/examples/3dtiles.html fails too, with other errors:
THREE.WebGLRenderer: Error creating WebGL context.
xn @ itowns.js:1
l @ itowns.js:12
i @ itowns.js:5
i @ itowns.js:12
(anonymous) @ globe.js:11
itowns.js:1 Uncaught TypeError: Cannot read property 'getExtension' of null
at Object.get (itowns.js:1)
at new xn (itowns.js:1)
at new l (itowns.js:12)
at i [as constructor] (itowns.js:5)
at new i (itowns.js:12)
at globe.js:11
get @ itowns.js:1
xn @ itowns.js:1
l @ itowns.js:12
i @ itowns.js:5
i @ itowns.js:12
(anonymous) @ globe.js:11
globe.html:50 Uncaught TypeError: Cannot read property 'addEventListener' of undefined
at globe.html:50
(anonymous) @ globe.html:50
Additionnal informations
OS: Ubuntu 16.04 LTS
Device: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)
If I embed directly the script (<script src="http://benvanik.github.com/WebGL-Inspector/core/embed.js"></script>) in my webpage, it also fails, but with other errors.
I'll be happy to provide other relevant infos.
Metadata
Metadata
Assignees
Labels
No labels