| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/inspector-protocol-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) { | 5 if (window.testRunner) { |
| 6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
| 8 } | 8 } |
| 9 | 9 |
| 10 var fooRef; | 10 var fooRef; |
| 11 function storeFunctionRefAndNavigateIFrame() | 11 function storeFunctionRefAndNavigateIFrame() |
| 12 { | 12 { |
| 13 var frame = document.getElementById("myframe"); | 13 var frame = document.getElementById("myframe"); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 31 InspectorTest.sendCommand("Profiler.takeHeapSnapshot", { "reportProgress": f
alse }, didTakeHeapSnapshot); | 31 InspectorTest.sendCommand("Profiler.takeHeapSnapshot", { "reportProgress": f
alse }, didTakeHeapSnapshot); |
| 32 } | 32 } |
| 33 </script> | 33 </script> |
| 34 </head> | 34 </head> |
| 35 <body> | 35 <body> |
| 36 <p>Test that heap profiler doesn't crash while taking snapshot on a page where i
frame was navigated to a new location after | 36 <p>Test that heap profiler doesn't crash while taking snapshot on a page where i
frame was navigated to a new location after |
| 37 storing a hold of a function from the previous page. <a href="https://bugs.webki
t.org/show_bug.cgi?id=103076">Bug 103076.</p> | 37 storing a hold of a function from the previous page. <a href="https://bugs.webki
t.org/show_bug.cgi?id=103076">Bug 103076.</p> |
| 38 <iframe id="myframe" src="resources/page-with-function.html" onload="storeFuncti
onRefAndNavigateIFrame()"></iframe> | 38 <iframe id="myframe" src="resources/page-with-function.html" onload="storeFuncti
onRefAndNavigateIFrame()"></iframe> |
| 39 </body> | 39 </body> |
| 40 </html> | 40 </html> |
| OLD | NEW |