Home | History | Annotate | Download | only in assets
      1 <html>
      2 <head>
      3 <script src="../../js/resources/js-test-pre.js"></script>
      4 <script src="resources/webgl-test.js"></script>
      5 </head>
      6 <body>
      7 <div id="description"></div>
      8 <div id="console"></div>
      9 
     10 <script>
     11 
     12 description('Verify that constructing a typed array view with no arguments and fetching its length does not crash');
     13 
     14 <!-- The following used to cause a crash in both Safari and Chrome -->
     15 new Uint32Array().length;
     16 
     17 testPassed("new Uint32Array().length did not crash");
     18 
     19 </script>
     20 <script src="../../js/resources/js-test-post.js"></script>
     21 
     22 <script>
     23 </script>
     24 
     25 </body>
     26 </html>
     27