(b);
  assert(gl.NO_ERROR == checkError(gl, "deleteBuffers"));
}

Tests.testBindBufferELEMENT_ARRAY_BUFFER = function(gl) {
  var b = gl.createBuffer();
  assert(gl.NO_ERROR == checkError(gl, "genBuffers"));
  gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, b);
  assert(gl.NO_ERROR == checkError(gl, "bindBuffer"));
  gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null);
  assert(gl.NO_ERROR == checkError(gl, "bindBuffer 0"));
  gl.deleteBuffer(b);
  assert(gl.NO_ERROR == checkError(gl, "deleteBuffers"));
}

</script>

<styl