gecko-dev/dom/canvas/crashtests/779426.html
Jesse Ruderman bf2baec06d Bug 779426 - Crashtest. r=mats
MozReview-Commit-ID: H7FMSmfgTfS

--HG--
extra : rebase_source : 1dd3a47921a046f60b827d4212affa96c5ca5885
2017-04-13 17:14:00 -04:00

20 lines
388 B
HTML

<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var canvas = document.createElementNS('http://www.w3.org/1999/xhtml', 'canvas');
var canvas2d = canvas.getContext('2d');
canvas2d.rect(0, 0, 1, 1);
canvas2d.transform(1, 0, 0, 1, 0, 0);
canvas.setAttributeNS(null, "height", "99");
canvas2d.rect(0, 0, 1, 1);
}
</script>
</head>
<body onload="boom();"></body>
</html>