This sample demonstrates the issue https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/misc/delayed-drawing.html It draws a quad, does a setTimeout of 1000, then issues the draw command again. No state is changed between the first draw command and the second by JavaScript. Sometime between the two calls 2 things happen #1) a GL error is generated by code not related to JavaScript #2) The texture bound to texture unit 0's TEXTURE_2D bind point has changed.
just fyi, The bug is also related to NPOT textures. If you change the texture to POT the bug doesn't happen.
Does this happen in chromium or webkit or both?
Gregg indicated offline that this only happens in Safari, not in Chromium.
Sorry for taking so long to get to this, but the fix for Bug 87136 also fixes this one. *** This bug has been marked as a duplicate of bug 87136 ***