Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / webgl / canvas-getContext-crash.html
blob0a335cddce38e9a39cc245d2db69aca4b7f83f57
1 <html>
2 <head>
3 <script src="../../../resources/js-test.js"></script>
4 <script>
5 description('Tests that canvas does not crash on getContext. crbug.com/442633');
7 function start()
9 if (window.internals)
10 window.internals.settings.setWebGLEnabled(false);
12 var canvas = document.getElementById('example');
13 var gl = canvas.getContext("webgl");
16 testPassed("Canvas did not crash on getContext.");
17 </script>
18 </head>
20 <body onload="start()">
21 <canvas id="example"></canvas>
22 </body>
23 </html>