| OLD | NEW |
| 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 Loading... |
| 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 |
| 53 globals = [ | 56 globals = [ |
| 54 Promise.reject(-0), smb1, smb2, obj, map, weakMap, set, weakSet, | 57 p, smb1, smb2, obj, map, weakMap, set, weakSet, |
| 55 mapMap0, mapMap, setSet0, setSet, bigmap | 58 mapMap0, mapMap, setSet0, setSet, bigmap |
| 56 ]; | 59 ]; |
| 57 | 60 |
| 58 runTest(); | 61 runTest(); |
| 59 } | 62 } |
| 60 | 63 |
| 61 function test() | 64 function test() |
| 62 { | 65 { |
| 63 InspectorTest.evaluateInPage("globals.length", loopOverGlobals.bind(this, 0)
); | 66 InspectorTest.evaluateInPage("globals.length", loopOverGlobals.bind(this, 0)
); |
| 64 | 67 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 95 } | 98 } |
| 96 </script> | 99 </script> |
| 97 </head> | 100 </head> |
| 98 | 101 |
| 99 <body onload="onload()"> | 102 <body onload="onload()"> |
| 100 <p> | 103 <p> |
| 101 Tests that console properly displays information about ES6 features. | 104 Tests that console properly displays information about ES6 features. |
| 102 </p> | 105 </p> |
| 103 </body> | 106 </body> |
| 104 </html> | 107 </html> |
| OLD | NEW |