summaryrefslogtreecommitdiffstats
path: root/toolkit/components/aboutcheckerboard/content/aboutCheckerboard.xhtml
blob: 6a8a6189671b6c1c990bde9a4e7edf86668d98ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0"?>

<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <meta name="viewport" content="width=device-width"/>
  <link rel="stylesheet" href="chrome://global/content/aboutCheckerboard.css" type="text/css"/>
  <script type="text/javascript;version=1.8" src="chrome://global/content/aboutCheckerboard.js"></script>
 </head>

 <body onload="onLoad()">
  <p>Checkerboard recording is <span id="enabled" style="color: red">undetermined</span>.
     <button onclick="toggleEnabled()">Toggle it!</button>.</p>
  <p>If there are active reports in progress, you can stop and flush them by clicking here:
     <button onclick="flushReports()">Flush active reports</button></p>
  <table class="listing" cellspacing="0">
   <tr>
    <th>Most severe checkerboarding reports</th>
    <th>Most recent checkerboarding reports</th>
   </tr>
   <tr>
    <td><ul id="severe"></ul></td>
    <td><ul id="recent"></ul></td>
   </tr>
  </table>

  <hr/>

  <div id="player">
   <div id="controls">
    <button onclick="reset(true)">&#171;</button><!-- rewind button -->
    <button onclick="step(true)">&lt;</button><!-- step back button -->
    <button onclick="togglePlay()">|| &#9654;</button><!-- pause button -->
    <button onclick="stopPlay()">&#9744;</button><!-- stop button -->
    <button onclick="step(false)">&gt;</button><!-- step forward button -->
    <button onclick="reset(false)">&#187;</button><!-- forward button -->
   </div>
   <canvas id="canvas" width="800" height="600">Canvas not supported!</canvas>
   <pre id="active">(Details for currently visible replay frame)</pre>
  </div>

  <hr/>

  <div id="raw">
   Raw log:<br/>
   <textarea id="trace" rows="10"></textarea>
   <div>
    <input type="checkbox" id="excludePageFromZoom" onclick="loadData()"/><label for="excludePageFromZoom">Exclude page coordinates from zoom calculations</label><br/>
   </div>
  </div>
 </body>
</html>