| <!-- This is a regression test for crbug.com/351956, in which printing |
| of Google Maps was broken. In order to catch the regression it |
| must be run with the threaded compositor enabled. --> |
| <head> |
| <script src="../resources/js-test.js"></script> |
| <script src="resources/webgl-repeated-printing-common.js"></script> |
| <script> |
| function initGL(canvas) |
| { |
| try { |
| gl = canvas.getContext("webgl", {'preserveDrawingBuffer': true}); |
| } catch (e) { } |
| return gl; |
| } |
| </script> |
| </head> |
| <body> |
| <canvas id="c" width="200" height="200" class="nomargin"></canvas> |
| <div id="console"></div> |
| </body> |