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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 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 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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698