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

Side by Side Diff: tools/telemetry/unittest_data/scrollable_page.html

Issue 1217293007: Move unittest_data to internal/testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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 <!doctype html>
2 <html>
3 <head>
4 <style type="text/css">
5 body { height: 200vh; }
6 </style>
7 </head>
8 <body>
9 <!--
10 Below info are used in smoothness unittest only. use URL below to get the
11 diagnostic info which is used when this page failed in test due to the
12 scroll bar didn't show up.
13 scrollable_page.html?show_scroll_diagnosis_info
14 -->
15 <div id="info"></div>
16 <script>
17 var txt = "<h3>Screen info (Used for diagnosis):</h3>"
18 + "<p>Total width/height: " + screen.width + "*" + screen.height
19 + "</p><p>Available width/height: " + screen.availWidth + "*"
20 + screen.availHeight + "</p><p>Color depth: "
21 + screen.colorDepth + "</p><p>Color resolution: "
22 + screen.pixelDepth + "</p><p>Body scrollable height: "
23 + document.body.scrollHeight + "</p><p>Body offset height: "
24 + document.body.offsetHeight + "</p><p>Body client height: "
25 + document.body.clientHeight + "</p><p>Window inner height: "
26 + window.innerHeight + "</p><p>Window device Pixel Ratio: "
27 + window.devicePixelRatio + "</p>";
28 if (window.location.search.substr(1) == "show_scroll_diagnosis_info") {
29 document.getElementById("info").innerHTML = txt;
30 }
31 </script>
32 </body>
33 </html>
OLDNEW
« no previous file with comments | « tools/telemetry/unittest_data/screen_3_frames.mov ('k') | tools/telemetry/unittest_data/simple_app/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698