3 <script src=
"../../../resources/js-test.js"></script>
4 <script src=
"resources/webgl-test.js"></script>
7 <div id=
"description"></div>
8 <div id=
"console"></div>
12 description('Verify that reassigning typed array constructor does not crash.');
14 <!-- The following used to cause a crash
in Chrome
-->
16 Uint16Array
= "string";
17 Uint32Array = function() {};
18 Int16Array = function() {};
19 Int16Array
.prototype.set = 0;
20 new Float64Array(function () {});
21 new Float32Array([1, 2, 3], 1);
22 new Int16Array(function() {});
23 testPassed("reassigning typed array constructor did not crash");