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

Side by Side Diff: tools/perf/page_sets/tough_video_cases/video.html

Issue 70333004: Telemetry: make media perf tests log errors rather than timing out (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « tools/perf/metrics/media.py ('k') | tools/telemetry/telemetry/page/actions/loop.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 </body> 4 </body>
5 <script> 5 <script>
6 function getQueryStrings() { 6 function getQueryStrings() {
7 // Gets query parameters from the URL; e.g., given a URL like: 7 // Gets query parameters from the URL; e.g., given a URL like:
8 // 8 //
9 // http://<url>/my.html?test=123&bob=456 9 // http://<url>/my.html?test=123&bob=456
10 // 10 //
(...skipping 11 matching lines...) Expand all
22 while (match = r.exec(window.location.search.substring(1))) 22 while (match = r.exec(window.location.search.substring(1)))
23 params[d(match[1])] = d(match[2]); 23 params[d(match[1])] = d(match[2]);
24 24
25 return params; 25 return params;
26 } 26 }
27 qsParams = getQueryStrings(); 27 qsParams = getQueryStrings();
28 if (qsParams["type"]) { 28 if (qsParams["type"]) {
29 testElement = document.createElement(qsParams["type"]); 29 testElement = document.createElement(qsParams["type"]);
30 if (qsParams["id"]) 30 if (qsParams["id"])
31 testElement.id = qsParams["id"]; 31 testElement.id = qsParams["id"];
32 testElement.preload = "none";
32 testElement.src = qsParams["src"]; 33 testElement.src = qsParams["src"];
33 testElement.controls = true; 34 testElement.controls = true;
34 document.body.appendChild(testElement); 35 document.body.appendChild(testElement);
35 } 36 }
36 </script> 37 </script>
37 </html> 38 </html>
OLDNEW
« no previous file with comments | « tools/perf/metrics/media.py ('k') | tools/telemetry/telemetry/page/actions/loop.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698