blob: 77571d80f27270c0d36b1b66758f94a30cfb68ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<html>
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/console-test.js"></script>
<script>
function onload()
{
console.log(new Int8Array(10));
console.log(new Int16Array(10));
console.log(new Int32Array(10));
console.log(new Uint8Array(10));
console.log(new Uint16Array(10));
console.log(new Uint32Array(10));
console.log(new Float32Array(10));
console.log(new Float64Array(10));
console.dir(new Int8Array(10));
console.dir(new Int16Array(10));
console.dir(new Int32Array(10));
console.dir(new Uint8Array(10));
console.dir(new Uint16Array(10));
console.dir(new Uint32Array(10));
console.dir(new Float32Array(10));
console.dir(new Float64Array(10));
runTest();
}
function test()
{
InspectorTest.dumpConsoleMessages();
InspectorTest.completeTest();
}
</script>
</head>
<body onload="onload()">
<p>
Tests that console logging detects external arrays as arrays.
</p>
</body>
</html>
|