| <!doctype html> |
| <html lang="en" dir="ltr"> |
| <!-- |
| Copyright 2025 The Chromium Authors |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| |
| <head> |
| <meta charset="utf-8"> |
| <title>Data Sharing Internals</title> |
| <meta name="viewport" content="width=device-width"> |
| <link rel="stylesheet" href="data_sharing_internals.css"> |
| <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> |
| <if expr="is_ios"> |
| <!-- TODO(crbug.com/41173939): Remove this once injected by web. --> |
| <script src="chrome://resources/js/ios/web_ui.js"></script> |
| <script src="chrome://resources/js/ios/mojo_api.js"></script> |
| </if> |
| </head> |
| <body> |
| <h1>Data Sharing Internals</h1> |
| <div> |
| Enable the <a href="chrome://flags/#data-sharing-debug-logs">data sharing debug flags</a> to record debug messages from the browser startup. |
| </div> |
| |
| <cr-tab-box hidden> |
| <div slot="tab">Event Logs</div> |
| <div slot="tab">Group Information</div> |
| |
| <div slot="panel" id="tabpanel-event-logs"> |
| <div> |
| <div> |
| <h2 class="row-sep"> |
| <span>Event Logs</span> |
| <button id="log-messages-dump">Dump</button> |
| </h2> |
| <table id="log-message-container"> |
| <thead> |
| <tr> |
| <th class="event-logs-time">Time</th> |
| <th class="event-logs-log-source filterable">Log source</th> |
| <th class="event-logs-source-location filterable">Source Location</th> |
| <th class="event-logs-message filterable">Log Message</th> |
| </tr> |
| </thead> |
| <tbody></tbody> |
| </table> |
| </div> |
| </div> |
| </div> |
| |
| <div slot="panel" id="tabpanel-group-information"> |
| <div id="group-container"> |
| GetAllGroups() status: <pre id="get-all-groups-status"></pre> |
| <ul id="group-list"></ul> |
| </div> |
| </div> |
| </cr-tab-box> |
| |
| <script type="module" src="data_sharing_internals.js"></script> |
| </body> |
| </html> |