content/canvas/crashtests/745699-1.html
author Gregory Szorc <gps@mozilla.com>
Wed, 08 Jan 2014 11:19:21 -0800
changeset 201362 3c72c5ea486c94436fad7e206344a11b8bb3453d
parent 95237 a4d9b327cc69b18a4e2ccd8302148fd7164cb2ff
permissions -rw-r--r--
Bug 957721 - Switch mach's shebang to look for python2.7. r=glandium OpenBSD doesn't have "python" on $PATH by default. "python" may also come from a non-2.7 Python. Switching the shebang will help ensure the user invokes mach with Python 2.7.

<!DOCTYPE html>
<html>
<head>
<style>
@font-face {
  font-family: "z";
  src: url(invalid);
}
</style>

<script>
function boom()
{
  var ctx = document.querySelector("canvas").getContext('2d');
  ctx.font = "10px serif";
  document.querySelector("style").appendChild(document.createTextNode(" "));
  ctx.measureText("123");
}
</script>
</head>

<body onload="boom();">
<canvas width="100" height="100"></canvas>
</body>
</html>