| 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="../tracing-test.js"></script> | 4 <script src="../../tracing-test.js"></script> |
| 5 <script> | 5 <script> |
| 6 function test() | 6 function test() |
| 7 { | 7 { |
| 8 var codemap = new WebInspector.TimelineJSProfileProcessor.CodeMap(); | 8 var codemap = new WebInspector.TimelineJSProfileProcessor.CodeMap(); |
| 9 for (var i = 0; i < 10; i++) { | 9 for (var i = 0; i < 10; i++) { |
| 10 var address = i * 0x100 + 0x77000; | 10 var address = i * 0x100 + 0x77000; |
| 11 codemap.addEntry("0x" + address.toString(16), 0x80, "frame" + i); | 11 codemap.addEntry("0x" + address.toString(16), 0x80, "frame" + i); |
| 12 } | 12 } |
| 13 | 13 |
| 14 codemap.addEntry( "0x77010", 0x10, "frame1killer"); | 14 codemap.addEntry( "0x77010", 0x10, "frame1killer"); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 } | 55 } |
| 56 } | 56 } |
| 57 InspectorTest.completeTest(); | 57 InspectorTest.completeTest(); |
| 58 } | 58 } |
| 59 | 59 |
| 60 </script> | 60 </script> |
| 61 </head> | 61 </head> |
| 62 <body onload="runTest()"> | 62 <body onload="runTest()"> |
| 63 </body> | 63 </body> |
| 64 </html> | 64 </html> |
| OLD | NEW |