Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-external-array.html

Issue 2120613002: DevTools: make arrays expandable by default in console (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tree-expand3
Patch Set: Rebase + conflict resolution Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-external-array-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script> 5 <script>
6 6
7 function onload() 7 function logToConsole()
8 { 8 {
9 console.log(new Int8Array(10)); 9 console.log(new Int8Array(10));
10 console.log(new Int16Array(10)); 10 console.log(new Int16Array(10));
11 console.log(new Int32Array(10)); 11 console.log(new Int32Array(10));
12 console.log(new Uint8Array(10)); 12 console.log(new Uint8Array(10));
13 console.log(new Uint16Array(10)); 13 console.log(new Uint16Array(10));
14 console.log(new Uint32Array(10)); 14 console.log(new Uint32Array(10));
15 console.log(new Float32Array(10)); 15 console.log(new Float32Array(10));
16 console.log(new Float64Array(10)); 16 console.log(new Float64Array(10));
17 17
18 console.dir(new Int8Array(10)); 18 console.dir(new Int8Array(10));
19 console.dir(new Int16Array(10)); 19 console.dir(new Int16Array(10));
20 console.dir(new Int32Array(10)); 20 console.dir(new Int32Array(10));
21 console.dir(new Uint8Array(10)); 21 console.dir(new Uint8Array(10));
22 console.dir(new Uint16Array(10)); 22 console.dir(new Uint16Array(10));
23 console.dir(new Uint32Array(10)); 23 console.dir(new Uint32Array(10));
24 console.dir(new Float32Array(10)); 24 console.dir(new Float32Array(10));
25 console.dir(new Float64Array(10)); 25 console.dir(new Float64Array(10));
26
27 runTest();
28 } 26 }
29 27
30 function test() 28 function test()
31 { 29 {
32 InspectorTest.dumpConsoleMessages(); 30 InspectorTest.evaluateInPage("logToConsole()", onLoggedToConsole);
33 InspectorTest.completeTest(); 31
32
33 function onLoggedToConsole()
34 {
35 InspectorTest.waitForRemoteObjectsConsoleMessages(onRemoteObjectsLoaded)
36 }
37
38 function onRemoteObjectsLoaded()
39 {
40 InspectorTest.dumpConsoleMessages();
41 InspectorTest.completeTest();
42 }
34 } 43 }
35 44
36 </script> 45 </script>
37 </head> 46 </head>
38 47
39 <body onload="onload()"> 48 <body onload="runTest()">
40 <p> 49 <p>
41 Tests that console logging detects external arrays as arrays. 50 Tests that console logging detects external arrays as arrays.
42 </p> 51 </p>
43 52
44 </body> 53 </body>
45 </html> 54 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-external-array-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698