summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/about_invalidations.html
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/about_invalidations.html')
-rw-r--r--chromium/chrome/browser/resources/about_invalidations.html68
1 files changed, 68 insertions, 0 deletions
diff --git a/chromium/chrome/browser/resources/about_invalidations.html b/chromium/chrome/browser/resources/about_invalidations.html
new file mode 100644
index 00000000000..7809bbd3741
--- /dev/null
+++ b/chromium/chrome/browser/resources/about_invalidations.html
@@ -0,0 +1,68 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Invalidations</title>
+ <script src="chrome://resources/js/cr.js"></script>
+ <script src="chrome://resources/js/parse_html_subset.js"></script>
+ <script src="chrome://resources/js/util.js"></script>
+ <script src="chrome://invalidations/about_invalidations.js"></script>
+ <link rel="stylesheet" href="about_invalidations.css">
+</head>
+<body>
+ <h1>Invalidations Debug Information</h1>
+ <div id="invalidations-info">
+ <div id="states" class="section">
+ <span class="lead">Invalidation service state:</span>
+ <span id="invalidations-state"></span>
+ </div>
+ <div>
+ <span class="lead">Registered InvalidationHandlers:</span>
+ <span id="registered-handlers"></span>
+ </div>
+ <div id="objectsid-table-div" class="section">
+ <span class="lead">Registered objectsIds for invalidations:</span>
+ <table id="objectsid-table-container">
+ <!-- 'objectsidtable' can't have dashes in the name
+ as jstemplate can't deal with them-->
+ <thead>
+ <tr class="header">
+ <th>Registrar</th>
+ <th>Source</th>
+ <th>Name</th>
+ <th>Total Count</th>
+ <th>Session Count</th>
+ <th>Version</th>
+ <th>Time</th>
+ <th>Last Payload</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr jsselect="objectsidtable" jsvalues="class:$this.type">
+ <td jscontent="registrar" width=5%></td>
+ <td jscontent="source" width=5%></td>
+ <td jscontent="name" width=20%></td>
+ <td jscontent="totalCount" width=5%></td>
+ <td jscontent="sessionCount" width=5%></td>
+ <td jscontent="version" width=10%></td>
+ <td jscontent="time" width=20%></td>
+ <td jscontent="payload" width=30%></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div class="section">
+ <span class="lead">Invalidations Log:</span>
+ <textarea
+ id="invalidations-log" rows="10" cols="120"readonly></textarea>
+ </div>
+ <div class="section">
+ <span class="lead">Detailed Internal Status:
+ <button id="request-detailed-status">Refresh</button>
+ </span>
+ <textarea id="internal-display" rows="10" cols="120" readonly></textarea>
+ </div>
+ </div>
+ <script src="chrome://resources/js/jstemplate_compiled.js"></script>
+</body>
+</html>