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> |