WebGLContext.sizeInBytes is not part of the WebGL standard and should be removed. One of the conformance tests and a couple of the samples were using this deprecated function. I've fixed those but it seems like sizeInBytes should be removed so people don't mistakenly use it in the future.
Created attachment 63920 [details] patch
forget to mention: tests are synced with khronos.
Looks good to me. Consider putting sizeInBytes into webgl-test.js for better code sharing.
Committed r64998: <http://trac.webkit.org/changeset/64998>