,
];

var fb = gl.createFramebuffer();

function probeWithBadOffset(fnTest, info) {
  fnTest(+(-1|0));
  if (!gl.getError()) {
    testFailed("Does not support " + info + " with offsets into views.");
    return false;
  }
  return true;
}

// fn(view, offset, expectedError, expectedResult)

do {
  var readPixelView = new Uint8Array(4);
  var testView = new Uint8Array(fibArr);

  function testTexOrSubImage(funcName, fnTexOrSubImage) {
    debug("");
    debug(funcName);

    var fnProbe = function(viewOffse