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

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

Issue 2318853002: [DevTools] Handle navigation in console.log (Closed)
Patch Set: addressed comments Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/resources/console-log-navigate-on-load.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/resources/console-log-navigate-on-load.html b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/resources/console-log-navigate-on-load.html
new file mode 100644
index 0000000000000000000000000000000000000000..64032c3d5e5c5366870aafa066ca84888cd7d1ae
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/resources/console-log-navigate-on-load.html
@@ -0,0 +1,11 @@
+<script>
+function navigate()
+{
+ anchor = document.createElement("a");
+ anchor.href = "about:blank";
+ anchor.click();
+}
+var a = new Date();
+a.toString = () => navigate();
+console.log(42, a);
+</script>

Powered by Google App Engine
This is Rietveld 408576698