Natalie Chouinard | 07bba69 | 2019-01-02 20:48:11 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright 2018 The Chromium Authors. All rights reserved. |
| 3 | Use of this source code is governed by a BSD-style license that can be |
| 4 | found in the LICENSE file. |
| 5 | --> |
| 6 | |
| 7 | <!doctype html> |
| 8 | <html> |
| 9 | <head> |
| 10 | <meta charset="utf-8"> |
| 11 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 12 | |
Natalie Chouinard | 07bba69 | 2019-01-02 20:48:11 | [diff] [blame] | 13 | <title>Feed Internals</title> |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 14 | |
Natalie Chouinard | 07bba69 | 2019-01-02 20:48:11 | [diff] [blame] | 15 | <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> |
Natalie Chouinard | c530df9 | 2019-02-21 21:22:14 | [diff] [blame] | 16 | <link rel="stylesheet" href="feed_internals.css"> |
Natalie Chouinard | 07bba69 | 2019-01-02 20:48:11 | [diff] [blame] | 17 | |
| 18 | <script src="chrome://resources/js/mojo_bindings_lite.js"></script> |
Kyle Horimoto | a69ab46 | 2019-04-23 00:08:21 | [diff] [blame^] | 19 | <script src="chrome://resources/js/url.mojom-lite.js"></script> |
Natalie Chouinard | c530df9 | 2019-02-21 21:22:14 | [diff] [blame] | 20 | <script src="chrome://resources/js/util.js"></script> |
Natalie Chouinard | 07bba69 | 2019-01-02 20:48:11 | [diff] [blame] | 21 | <script src="feed_internals.mojom-lite.js"></script> |
| 22 | |
| 23 | <script src="feed_internals.js"></script> |
| 24 | </head> |
| 25 | |
| 26 | <body> |
Natalie Chouinard | 1eca54d | 2019-03-07 19:48:55 | [diff] [blame] | 27 | |
Natalie Chouinard | c530df9 | 2019-02-21 21:22:14 | [diff] [blame] | 28 | <h2>Properties</h2> |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 29 | <table> |
Natalie Chouinard | c530df9 | 2019-02-21 21:22:14 | [diff] [blame] | 30 | <tr> |
| 31 | <td>Is Feed Enabled</td> |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 32 | <td id="is-feed-enabled"></td> |
Natalie Chouinard | c530df9 | 2019-02-21 21:22:14 | [diff] [blame] | 33 | </tr> |
Natalie Chouinard | 8f550d97 | 2019-03-11 20:28:05 | [diff] [blame] | 34 | <tr> |
Natalie Chouinard | 6bb741c | 2019-03-11 23:11:46 | [diff] [blame] | 35 | <td>Is Feed Visible</td> |
| 36 | <td id="is-feed-visible"></td> |
| 37 | </tr> |
| 38 | <tr> |
| 39 | <td>Is Feed Allowed</td> |
| 40 | <td id="is-feed-allowed"></td> |
| 41 | </tr> |
| 42 | <tr> |
| 43 | <td>Is Prefetching Enabled</td> |
| 44 | <td id="is-prefetching-enabled"></td> |
| 45 | </tr> |
| 46 | <tr> |
Natalie Chouinard | 8f550d97 | 2019-03-11 20:28:05 | [diff] [blame] | 47 | <td>Feed Fetch URL</td> |
| 48 | <td id="feed-fetch-url"></td> |
| 49 | </tr> |
Natalie Chouinard | c530df9 | 2019-02-21 21:22:14 | [diff] [blame] | 50 | </table> |
Natalie Chouinard | 1eca54d | 2019-03-07 19:48:55 | [diff] [blame] | 51 | |
Natalie Chouinard | c530df9 | 2019-02-21 21:22:14 | [diff] [blame] | 52 | <h2>User Classifier</h2> |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 53 | <table> |
Natalie Chouinard | c530df9 | 2019-02-21 21:22:14 | [diff] [blame] | 54 | <tr> |
| 55 | <td>User Class Description</td> |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 56 | <td id="user-class-description"></td> |
Natalie Chouinard | c530df9 | 2019-02-21 21:22:14 | [diff] [blame] | 57 | </tr> |
| 58 | <tr> |
| 59 | <td>Average Hours Between Suggestion Views</td> |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 60 | <td id="avg-hours-between-views"></td> |
Natalie Chouinard | c530df9 | 2019-02-21 21:22:14 | [diff] [blame] | 61 | </tr> |
| 62 | <tr> |
| 63 | <td>Average Hours Between Suggestion Uses</td> |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 64 | <td id="avg-hours-between-uses"></td> |
Natalie Chouinard | c530df9 | 2019-02-21 21:22:14 | [diff] [blame] | 65 | </tr> |
| 66 | </table> |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 67 | <button id="clear-user-classification"> |
Natalie Chouinard | c530df9 | 2019-02-21 21:22:14 | [diff] [blame] | 68 | Clear User Classification |
| 69 | </button> |
Natalie Chouinard | a8eec11 | 2019-03-20 23:23:16 | [diff] [blame] | 70 | |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 71 | <h2>Feed Library Actions</h2> |
Natalie Chouinard | a8eec11 | 2019-03-20 23:23:16 | [diff] [blame] | 72 | <button id="refresh-feed"> |
| 73 | Refresh Feed |
| 74 | </button> |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 75 | <button id="clear-cached-data"> |
| 76 | Clear Cache & Refresh Feed |
| 77 | </button> |
Natalie Chouinard | 1eca54d | 2019-03-07 19:48:55 | [diff] [blame] | 78 | |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 79 | <h2>Last Fetch</h2> |
| 80 | <table> |
| 81 | <tr> |
| 82 | <td>Last Fetch Status</td> |
| 83 | <td id="last-fetch-status"></td> |
| 84 | </tr> |
| 85 | <tr> |
Natalie Chouinard | 6bb741c | 2019-03-11 23:11:46 | [diff] [blame] | 86 | <td>Last Fetch Trigger</td> |
| 87 | <td id="last-fetch-trigger"></td> |
| 88 | </tr> |
| 89 | <tr> |
Natalie Chouinard | 3460c1c | 2019-03-02 01:56:06 | [diff] [blame] | 90 | <td>Last Fetch Time</td> |
| 91 | <td id="last-fetch-time"></td> |
| 92 | </tr> |
| 93 | <tr> |
| 94 | <td>Refresh Suppress Time</td> |
| 95 | <td id="refresh-suppress-time"></td> |
| 96 | </tr> |
| 97 | </table> |
Natalie Chouinard | 1eca54d | 2019-03-07 19:48:55 | [diff] [blame] | 98 | |
| 99 | <h2>Current Content</h2> |
| 100 | <div id="current-content"> |
| 101 | <template id="suggestion-template"> |
| 102 | <details> |
| 103 | <summary class="title"></summary> |
| 104 | <table> |
| 105 | <tr> |
| 106 | <td>Publisher Name</td> |
| 107 | <td class="publisher"></td> |
| 108 | </tr> |
| 109 | <tr> |
| 110 | <td>URL</td> |
| 111 | <td><a class="url"></a></td> |
| 112 | </tr> |
| 113 | <tr> |
| 114 | <td>Favicon URL</td> |
| 115 | <td><a class="favicon"></a></td> |
| 116 | </tr> |
| 117 | <tr> |
| 118 | <td>Image URL</td> |
| 119 | <td><a class="image"></a></td> |
| 120 | </tr> |
| 121 | </table> |
| 122 | </details> |
| 123 | </template> |
| 124 | </div> |
| 125 | |
Natalie Chouinard | 13ae50f | 2019-03-21 21:38:22 | [diff] [blame] | 126 | <h2>Feed Histograms</h2> |
| 127 | <button id="load-feed-histograms"> |
| 128 | Load Feed Histograms |
| 129 | </button> |
| 130 | <details id="feed-histograms-details"> |
| 131 | <summary>Show/Hide</summary> |
| 132 | <pre id="feed-histograms-log"></pre> |
| 133 | </details> |
| 134 | |
Natalie Chouinard | b9529ab | 2019-03-12 16:46:08 | [diff] [blame] | 135 | <h2>Feed Process Scope</h2> |
| 136 | <button id="dump-feed-process-scope"> |
| 137 | Dump Feed Process Scope |
| 138 | </button> |
| 139 | <details id="feed-process-scope-details"> |
| 140 | <summary>Show/Hide</summary> |
| 141 | <pre id="feed-process-scope-dump"></pre> |
| 142 | </details> |
| 143 | |
Natalie Chouinard | 07bba69 | 2019-01-02 20:48:11 | [diff] [blame] | 144 | </body> |
| 145 | </html> |