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

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

Issue 2605693003: DevTools: introduce object previews experiment (Closed)
Patch Set: rebase Created 3 years, 10 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
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 var globals = []; 7 var globals = [];
8 8
9 function log(current) 9 function log(current)
10 { 10 {
(...skipping 30 matching lines...) Expand all
41 setSet0.add(new WeakSet()); 41 setSet0.add(new WeakSet());
42 var setSet = new Set(); 42 var setSet = new Set();
43 setSet.add(weakSet); 43 setSet.add(weakSet);
44 44
45 var bigmap = new Map(); 45 var bigmap = new Map();
46 bigmap.set(" from str ", " to str "); 46 bigmap.set(" from str ", " to str ");
47 bigmap.set(undefined, undefined); 47 bigmap.set(undefined, undefined);
48 bigmap.set(null, null); 48 bigmap.set(null, null);
49 bigmap.set(42, 42); 49 bigmap.set(42, 42);
50 bigmap.set({foo:"from"}, {foo:"to"}); 50 bigmap.set({foo:"from"}, {foo:"to"});
51 bigmap.set(["from"], ["to"]);
51 52
52 var p = Promise.reject(-0); 53 var p = Promise.reject(-0);
53 p.catch(function() {}); 54 p.catch(function() {});
54 55
55 globals = [ 56 globals = [
56 p, smb1, smb2, obj, map, weakMap, set, weakSet, 57 p, smb1, smb2, obj, map, weakMap, set, weakSet,
57 mapMap0, mapMap, setSet0, setSet, bigmap, 58 mapMap0, mapMap, setSet0, setSet, bigmap,
58 ]; 59 ];
59 60
60 runTest(); 61 runTest();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 100 }
100 </script> 101 </script>
101 </head> 102 </head>
102 103
103 <body onload="onload()"> 104 <body onload="onload()">
104 <p> 105 <p>
105 Tests that console properly displays information about ES6 features. 106 Tests that console properly displays information about ES6 features.
106 </p> 107 </p>
107 </body> 108 </body>
108 </html> 109 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698