Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / printing / webgl-repeated-printing-preservedrawingbuffer.html
blobdc0ed57cdb97f0a89157e2d7303660d9b596cadb
1 <!-- This is a regression test for crbug.com/351956, in which printing
2 of Google Maps was broken. In order to catch the regression it
3 must be run with the threaded compositor enabled. -->
4 <head>
5 <script src="../resources/js-test.js"></script>
6 <script src="resources/webgl-repeated-printing-common.js"></script>
7 <script>
8 function initGL(canvas)
10 try {
11 gl = canvas.getContext("webgl", {'preserveDrawingBuffer': true});
12 } catch (e) { }
13 return gl;
15 </script>
16 </head>
17 <body>
18 <canvas id="c" width="200" height="200" class="nomargin"></canvas>
19 <div id="console"></div>
20 </body>