gecko/content/canvas/crashtests/745818-large-source.html
Jeff Muizelaar c207ef7bd3 Bug 745818. Ignore invalid cairo surfaces. r=bas, a=blassey
With bug 686453, we're not really supposed to get NULL surfaces
anymore. Instead we get Invalid ones that we should still ignore.

--HG--
extra : rebase_source : eee8213c897c01508815a810436d1e04e133f752
2012-04-23 17:03:36 -04:00

22 lines
354 B
HTML

<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var a = document.getElementById("a");
var b = document.getElementById("b");
a.getContext('2d').createPattern(b, 'no-repeat');
}
</script>
</head>
<body onload="boom();">
<canvas id="a" width="61" height="26"></canvas>
<canvas id="b" width="611" height="439807"></canvas>
</body>
</html>