Bug 1143317 - Fix asyncTestsDone check in test_canvas.html. r=gw280, a=test-only
authorGeoff Brown <gbrown@mozilla.com>
Tue, 26 May 2015 13:37:19 -0600
changeset 266121 ddf891831a04
parent 266120 73ab42485315
child 266122 0e89ce35d118
push id4762
push userryanvm@gmail.com
push date2015-05-28 18:54 +0000
treeherdermozilla-beta@dc9c305024f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgw280, test-only
bugs1143317
milestone39.0
Bug 1143317 - Fix asyncTestsDone check in test_canvas.html. r=gw280, a=test-only
dom/canvas/test/test_canvas.html
--- a/dom/canvas/test/test_canvas.html
+++ b/dom/canvas/test/test_canvas.html
@@ -21581,16 +21581,17 @@ isPixel(ctx, 50,25, 0,255,0,255, 0);
 }
 
 </script>
 
 <script>
 
 function asyncTestsDone() {
 	if (isDone_test_2d_drawImage_animated_apng &&
+		isDone_test_2d_pattern_animated_gif &&
 		isDone_test_2d_drawImage_animated_gif) {
 		SimpleTest.finish();
 	} else {
 		setTimeout(asyncTestsDone, 500);
 	}
  }
  
 function runTests() {