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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-dir-es6.html

Issue 2178263003: [DevTools] Fix function property preview in ObjectPropertySection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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-dir-es6-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 onload()
8 { 8 {
9 var obj = new Object(); 9 var obj = new Object();
10 obj["a"] = 1; 10 obj["a"] = 1;
(...skipping 29 matching lines...) Expand all
40 var m = new Map(); 40 var m = new Map();
41 m.set(obj, {foo: 1}); 41 m.set(obj, {foo: 1});
42 var s = new Set(); 42 var s = new Set();
43 s.add(obj); 43 s.add(obj);
44 [m, s].forEach(function(c) { 44 [m, s].forEach(function(c) {
45 console.dir(c.keys()); 45 console.dir(c.keys());
46 console.dir(c.values()); 46 console.dir(c.values());
47 console.dir(c.entries()); 47 console.dir(c.entries());
48 }); 48 });
49 49
50 console.dir({ a: () => { /* function Incorrect() */ } });
51
50 runTest(); 52 runTest();
51 } 53 }
52 54
53 function test() 55 function test()
54 { 56 {
55 InspectorTest.expandConsoleMessages(dumpConsoleMessages); 57 InspectorTest.expandConsoleMessages(dumpConsoleMessages);
56 58
57 function dumpConsoleMessages() 59 function dumpConsoleMessages()
58 { 60 {
59 InspectorTest.dumpConsoleMessages(false, false, InspectorTest.textConten tWithLineBreaks); 61 InspectorTest.dumpConsoleMessages(false, false, InspectorTest.textConten tWithLineBreaks);
60 InspectorTest.completeTest(); 62 InspectorTest.completeTest();
61 } 63 }
62 } 64 }
63 65
64 </script> 66 </script>
65 </head> 67 </head>
66 68
67 <body onload="onload()"> 69 <body onload="onload()">
68 <p> 70 <p>
69 Tests that console logging dumps proper messages. 71 Tests that console logging dumps proper messages.
70 </p> 72 </p>
71 73
72 </body> 74 </body>
73 </html> 75 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-dir-es6-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698