ontext('2d')});
  assertOk(function(){gl = getGLContext(canvas)});
  assert("Should get a null WebGL context after getting 2D context", gl === null);
}
</script>
<style>canvas{position:absolute;}</style>
</head><body>
  <canvas id="2d" width="1" height="1"></canvas>
  <canvas id="webgl" width="1" height="1"></canvas>
</body></html>
