News for hackers. Stuff that matters.
Re:Chrome dev on WebGL security and Microsoft bullshit by tintin on Tuesday June 21, 2011 @05:34AM (#2678028)
Are you saying it's very hard to implement a checkbox to disable WebGL? A lot of browsers protect you from opening or resizing windows via Javascript. How could disabling WebGL be more complicated? My browser is even warning me when a Javascript is running slow.
Re:Chrome dev on WebGL security and Microsoft bullshit by saucetenuto on Tuesday June 21, 2011 @10:23AM (#2678842)
I mostly agree, but there's a bit more to it than that. For example, you want to be able to report back to the page that WebGL is disabled, so that whatever content is supposed to be there can degrade semi-gracefully.
Re:Chrome dev on WebGL security and Microsoft bullshit by tintin on Tuesday June 21, 2011 @02:46PM (#2679892)
You mean something like:

  if(document.getElementById("canvas").getContext("webgl"))
;)