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

Side by Side Diff: chrome/test/data/page_load_metrics/download_anchor_click.html

Issue 2917873003: Ignore download bytes in page load metrics. (Closed)
Patch Set: address comment Created 3 years, 6 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
« no previous file with comments | « chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head><title>Download Test</title></head>
3 <body>
4 <a id='dl' href="/download-test1.lib">Click to download!</a>
5 <script>
6 // Dispatch a click event async, rather than synchronously during parsing,
7 // since this is consistent with how real user input events are dispatched
8 // and processed.
9 window.setTimeout(function() {
10 var evt = document.createEvent("MouseEvent");
11 evt.initMouseEvent('click', true, true);
12 document.getElementById('dl').dispatchEvent(evt);
13 }, 0);
14 </script>
15 </body>
16 </html>
OLDNEW
« no previous file with comments | « chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698