by cleeus · 8y ago · 0 comments
(I'm aware that at least Chrome does some syntactic checks on the shader syntax)
There can still be issues, but it isn't quite as much of a free for all as the above comment sounds.
"This issue allows attackers to capture screen shots of private or confidential information"
https://blog.mozilla.org/security/2011/06/16/webgl-graphics-...
Todays WebGL implementations take care to wipe new memory allocations with zeros before letting the untrusted script do anything with them though.