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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-navigation.html

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improved api a bit Created 4 years, 5 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 src="resources/console-clear-arguments-test.js"></script> 3 <script src="resources/console-clear-arguments-test.js"></script>
4 <script> 4 <script>
5 5
6 if (window.testRunner) { 6 if (window.testRunner) {
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 } 9 }
10 10
11 var loadCount = 0; 11 var loadCount = 0;
12 function frameLoaded(event) { 12 function frameLoaded(event) {
13 ++loadCount; 13 ++loadCount;
14 if (loadCount === 1) { 14 if (loadCount === 1) {
15 document.getElementById('theFrame').src = "about:blank"; 15 document.getElementById('theFrame').src = "about:blank";
16 return; 16 return;
17 } 17 }
18 18
19 dumpConsoleMessageArgumentCounts(); 19 dumpConsoleMessageCounts();
20 if (window.testRunner) 20 if (window.testRunner)
21 testRunner.notifyDone(); 21 testRunner.notifyDone();
22 } 22 }
23 23
24 </script> 24 </script>
25 25
26 </head> 26 </head>
27 <body> 27 <body>
28 <p> 28 <p>
29 Tests that Web Inspector will discard console message arguments when iframe wher e the message was 29 Tests that Web Inspector will discard console message arguments when iframe wher e the message was
30 logged is navigated to a different page. 30 logged is navigated to a different page.
31 </p> 31 </p>
32 <iframe id="theFrame" onload="frameLoaded(event)" src="resources/console-clear-a rguments-iframe.html"></iframe> 32 <iframe id="theFrame" onload="frameLoaded(event)" src="resources/console-clear-a rguments-iframe.html"></iframe>
33 <div id="output"></div> 33 <div id="output"></div>
34 </body> 34 </body>
35 </html> 35 </html>
36 36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698