Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / inspector-enabled / console-clear-arguments-on-frame-navigation.html
blob7eb04f2628d068987ce1c6fc43d3e13447695269
1 <html>
2 <head>
3 <script src="resources/console-clear-arguments-test.js"></script>
4 <script>
6 if (window.testRunner) {
7 testRunner.waitUntilDone();
8 testRunner.dumpAsText();
11 var loadCount = 0;
12 function frameLoaded(event) {
13 ++loadCount;
14 if (loadCount === 1) {
15 document.getElementById('theFrame').src = "about:blank";
16 return;
19 dumpConsoleMessageArgumentCounts();
20 if (window.testRunner)
21 testRunner.notifyDone();
24 </script>
26 </head>
27 <body>
28 <p>
29 Tests that Web Inspector will discard console message arguments when iframe where the message was
30 logged is navigated to a different page.
31 </p>
32 <iframe id="theFrame" onload="frameLoaded(event)" src="resources/console-clear-arguments-iframe.html"></iframe>
33 <div id="output"></div>
34 </body>
35 </html>