Issue a GL error if WebGL2 glBindTransformFeedback() is called with a nonexisting or an already deleted GL object. Don't write out any bytes in glGetTransformFeedbackVarying() if bufSize == 0 or if the name ptr is null.