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

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

Issue 648443002: Revert of Catch uncaught promise rejections from V8 and log to console. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 var setSet = new Set(); 43 var setSet = new Set();
44 setSet.add(weakSet); 44 setSet.add(weakSet);
45 45
46 var bigmap = new Map(); 46 var bigmap = new Map();
47 bigmap.set(" from str ", " to str "); 47 bigmap.set(" from str ", " to str ");
48 bigmap.set(undefined, undefined); 48 bigmap.set(undefined, undefined);
49 bigmap.set(null, null); 49 bigmap.set(null, null);
50 bigmap.set(42, 42); 50 bigmap.set(42, 42);
51 bigmap.set({foo:"from"}, {foo:"to"}); 51 bigmap.set({foo:"from"}, {foo:"to"});
52 52
53 var p = Promise.reject(-0);
54 p.catch(function() {});
55
56 globals = [ 53 globals = [
57 p, smb1, smb2, obj, map, weakMap, set, weakSet, 54 Promise.reject(-0), smb1, smb2, obj, map, weakMap, set, weakSet,
58 mapMap0, mapMap, setSet0, setSet, bigmap 55 mapMap0, mapMap, setSet0, setSet, bigmap
59 ]; 56 ];
60 57
61 runTest(); 58 runTest();
62 } 59 }
63 60
64 function test() 61 function test()
65 { 62 {
66 InspectorTest.evaluateInPage("globals.length", loopOverGlobals.bind(this, 0) ); 63 InspectorTest.evaluateInPage("globals.length", loopOverGlobals.bind(this, 0) );
67 64
(...skipping 30 matching lines...) Expand all
98 } 95 }
99 </script> 96 </script>
100 </head> 97 </head>
101 98
102 <body onload="onload()"> 99 <body onload="onload()">
103 <p> 100 <p>
104 Tests that console properly displays information about ES6 features. 101 Tests that console properly displays information about ES6 features.
105 </p> 102 </p>
106 </body> 103 </body>
107 </html> 104 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/console-test.js ('k') | LayoutTests/inspector/console/console-uncaught-promise.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698