Bug 767337; crash test. r=roc
authorNicholas Cameron <ncameron@mozilla.com>
Wed, 18 Jul 2012 15:04:15 -0400
changeset 99698 50a9cfae125a2557dafd1a58ee1905a10911031d
parent 99697 4394691ba4816a36976afa395db0e1e6ea6b293d
child 99699 b9923c05eafd4f8a3182ff7c9498b364e56f3933
push id23146
push useremorley@mozilla.com
push dateThu, 19 Jul 2012 12:27:27 +0000
treeherdermozilla-central@e1dcf7c892d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs767337
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 767337; crash test. r=roc
content/canvas/crashtests/767337-1.html
content/canvas/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/content/canvas/crashtests/767337-1.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<body>
+<canvas id="c" width="500" height="1000">
+</canvas>
+<script>
+var ctxt = document.getElementById('c').getContext('2d');
+for (var k = 0; k < 100; ++j) {
+  for (var j = 0; j < 10; ++j) {
+    for (var i = 0; i < 1000; ++i) {
+      gradient = ctxt.createLinearGradient(0,0,200,i);
+      gradient.addColorStop(0,'black');
+      gradient.addColorStop(1,'rgba(0, 255*k/100, 0, 0.1)');
+      ctxt.fillStyle = gradient;
+      ctxt.fillRect(j*50, 2*i, 50, 2);
+    }
+  }
+}
+</script>
+</body>
+</html>
\ No newline at end of file
--- a/content/canvas/crashtests/crashtests.list
+++ b/content/canvas/crashtests/crashtests.list
@@ -5,8 +5,9 @@ load 647480.html
 load 0px-size-font-667225.html
 load texImage2D.html
 load 729116.html
 load 745699-1.html
 load 746813-1.html
 # this test crashes in a bunch places still
 #load 745818-large-source.html
 load 743499-negative-size.html
+load 767337-1.html