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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/resources/console-log-navigate.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
(Empty)
1 <script>
2 function navigate()
3 {
4 anchor = document.createElement("a");
5 anchor.href = "about:blank";
6 anchor.click();
7 }
8
9 function logArray()
10 {
11 array = [];
12 array.__defineGetter__(0, () => navigate());
13 console.log(array);
14 }
15
16 function logDate()
17 {
18 var a = new Date();
19 a.toString = () => navigate();
20 console.log(a);
21 }
22
23 function logDateWithArg()
24 {
25 var a = new Date();
26 a.toString = () => navigate();
27 console.log(42, a);
28 }
29 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698