blob: cc67a18ba843806aa2cfccd9dd643d9dfcdcc0ee [file] [log] [blame]
<html>
<head>
<script src="../../../resources/js-test.js"></script>
<script src="resources/webgl-test.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script>
description('Verify that constructing a typed array view with no arguments and fetching its length does not crash');
<!-- The following used to cause a crash in both Safari and Chrome -->
new Uint32Array().length;
testPassed("new Uint32Array().length did not crash");
</script>
</body>
</html>