e="application/javascript">

Tests.testGetWebGL = function() {
  var canvas = document.getElementById('webgl');
  var gl;
  assertOk(function(){gl = getGLContext(canvas)});
  assertEquals("ctx.canvas === canvas", gl.canvas, canvas);
  assertOk(function(){g2d = canvas.getContext('2d')});
  assert("Should get a null 2d context after getting webgl context", g2d === null);
}

Tests.testGet2D = function() {
  var canvas = document.getElementById('2d');
  var g2d;
  var gl;
  assertOk(function(){g2d = canvas.getC