content/canvas/crashtests/745818-large-source.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/canvas/crashtests/745818-large-source.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<script>
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +  var a = document.getElementById("a");
    1.12 +  var b = document.getElementById("b");
    1.13 +  a.getContext('2d').createPattern(b, 'no-repeat');
    1.14 +}
    1.15 +
    1.16 +</script>
    1.17 +</head>
    1.18 +
    1.19 +<body onload="boom();">
    1.20 +<canvas id="a" width="61" height="26"></canvas>
    1.21 +<canvas id="b" width="611" height="439807"></canvas>
    1.22 +</body>
    1.23 +
    1.24 +</html>

mercurial