2009-12-07 Kenneth Russell <kbr@google.com>
[WebKit-https.git] / LayoutTests / fast / canvas / webgl / bug-31889.html
1 <html>
2 <head>
3 <link rel="stylesheet" href="../../js/resources/js-test-style.css"/>
4 <script src="../../js/resources/js-test-pre.js"></script>
5 <script src="resources/webgl-test.js"></script>
6 </head>
7 <body>
8 <div id="description"></div>
9 <div id="console"></div>
10
11 <script>
12
13 description('Regression test for <a href="https://bugs.webkit.org/show_bug.cgi?id=31889">https://bugs.webkit.org/show_bug.cgi?id=31889</a> : <code>[v8] WebCore::WebGLArrayBufferInternal::byteLengthAttrGetter NULL pointer</code>');
14
15 <!-- The following used to cause a crash in Chrome -->
16 new WebGLArrayBuffer().byteLength;
17
18 testPassed("new WebGLArrayBuffer().byteLength did not crash");
19 successfullyParsed = true;
20
21 </script>
22 <script src="../../js/resources/js-test-post.js"></script>
23
24 <script>
25 </script>
26
27 </body>
28 </html>