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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/resources/console-log-navigate-on-load.html

Issue 2954093003: [DevTools] Migrate inspector-protocol/runtime tests to new harness (Closed)
Patch Set: fail: Created 3 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 <script> 1 <script>
2 function navigate() 2 function navigate()
3 { 3 {
4 anchor = document.createElement("a"); 4 anchor = document.createElement("a");
5 anchor.href = "about:blank"; 5 anchor.href = "about:blank";
6 anchor.click(); 6 anchor.click();
7 } 7 }
8 var a = new Date(); 8 var a = new Date();
9 a.toString = () => navigate(); 9 a.toString = () => navigate();
10 console.log(42, a); 10 console.log(42, a);
11 </script> 11 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698