зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 7aa109946f67 (bug 1370513) for test failures in browser_misused_characters_in_strings.js
This commit is contained in:
Родитель
b7e399beba
Коммит
0100675f7f
|
@ -2,54 +2,23 @@
|
|||
* 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/. */
|
||||
|
||||
@import url("chrome://global/skin/in-content/common.css");
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#categories {
|
||||
padding-top: 0px;
|
||||
min-width: 300px;
|
||||
}
|
||||
|
||||
#category-raw {
|
||||
border-top: 1px solid var(--in-content-header-border-color);
|
||||
box-sizing: border-box;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
min-width: inherit;
|
||||
}
|
||||
|
||||
.heading {
|
||||
padding-inline-start: 21px;
|
||||
padding-inline-end: 21px;
|
||||
color: var(--in-content-category-text);
|
||||
}
|
||||
|
||||
.category:not(.has-data) {
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.category {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
html {
|
||||
background-color: -moz-Dialog;
|
||||
color: -moz-DialogText;
|
||||
font: message-box;
|
||||
}
|
||||
|
||||
.category-name {
|
||||
pointer-events: none;
|
||||
body {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
width: 100%;
|
||||
h2 {
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
#page-description {
|
||||
|
@ -87,11 +56,22 @@ body {
|
|||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.data-section,
|
||||
.data-subsection {
|
||||
background-color: -moz-Field;
|
||||
color: -moz-FieldText;
|
||||
border-top: 1px solid threedshadow;
|
||||
border-bottom: 1px solid threedshadow;
|
||||
margin: 0px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.data-section:not(.has-data),
|
||||
.data-subsection:not(.has-subdata) {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
|
||||
.section-name {
|
||||
font-size: x-large;
|
||||
display: inline;
|
||||
|
@ -133,6 +113,7 @@ body {
|
|||
display: block;
|
||||
}
|
||||
|
||||
|
||||
.stack-title {
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
|
@ -179,6 +160,7 @@ body[dir="rtl"] .histogram {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
.bar {
|
||||
width: 2em;
|
||||
margin: 2px;
|
||||
|
@ -232,10 +214,12 @@ body[dir="rtl"] .copy-node {
|
|||
visibility: visible;
|
||||
}
|
||||
|
||||
|
||||
.statebox {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.filter-ui {
|
||||
padding-inline-start: 10em;
|
||||
display: none;
|
||||
|
@ -260,9 +244,11 @@ body[dir="rtl"] .copy-node {
|
|||
#raw-ping-data-section {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color:-moz-Dialog;
|
||||
}
|
||||
|
||||
#raw-ping-data {
|
||||
background-color:white;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
@ -282,4 +268,4 @@ body[dir="rtl"] .copy-node {
|
|||
|
||||
.process-picker {
|
||||
margin: 0 0.5em;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -263,11 +263,11 @@ var Settings = {
|
|||
let disabledElement = document.getElementById(setting.descriptionDisabledId);
|
||||
|
||||
if (Preferences.get(setting.pref, setting.defaultPrefValue)) {
|
||||
enabledElement.hidden = false;
|
||||
disabledElement.hidden = true;
|
||||
enabledElement.classList.remove("hidden");
|
||||
disabledElement.classList.add("hidden");
|
||||
} else {
|
||||
enabledElement.hidden = true;
|
||||
disabledElement.hidden = false;
|
||||
enabledElement.classList.add("hidden");
|
||||
disabledElement.classList.remove("hidden");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -275,6 +275,7 @@ var Settings = {
|
|||
|
||||
var PingPicker = {
|
||||
viewCurrentPingData: null,
|
||||
viewStructuredPingData: null,
|
||||
_archivedPings: null,
|
||||
|
||||
attachObservers() {
|
||||
|
@ -328,8 +329,11 @@ var PingPicker = {
|
|||
|
||||
async update() {
|
||||
let viewCurrent = document.getElementById("ping-source-current").checked;
|
||||
let viewStructured = document.getElementById("ping-source-structured").checked;
|
||||
let currentChanged = viewCurrent !== this.viewCurrentPingData;
|
||||
let structuredChanged = viewStructured !== this.viewStructuredPingData;
|
||||
this.viewCurrentPingData = viewCurrent;
|
||||
this.viewStructuredPingData = viewStructured;
|
||||
|
||||
// If we have no archived pings, disable the ping archive selection.
|
||||
// This can happen on new profiles or if the ping archive is disabled.
|
||||
|
@ -339,13 +343,21 @@ var PingPicker = {
|
|||
|
||||
if (currentChanged) {
|
||||
if (this.viewCurrentPingData) {
|
||||
document.getElementById("current-ping-picker").hidden = false;
|
||||
document.getElementById("archived-ping-picker").hidden = true;
|
||||
document.getElementById("current-ping-picker").classList.remove("hidden");
|
||||
document.getElementById("archived-ping-picker").classList.add("hidden");
|
||||
this._updateCurrentPingData();
|
||||
} else {
|
||||
document.getElementById("current-ping-picker").hidden = true;
|
||||
document.getElementById("current-ping-picker").classList.add("hidden");
|
||||
await this._updateArchivedPingList(archivedPingList);
|
||||
document.getElementById("archived-ping-picker").hidden = false;
|
||||
document.getElementById("archived-ping-picker").classList.remove("hidden");
|
||||
}
|
||||
}
|
||||
|
||||
if (structuredChanged) {
|
||||
if (this.viewStructuredPingData) {
|
||||
this._showStructuredPingData();
|
||||
} else {
|
||||
this._showRawPingData();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -474,11 +486,13 @@ var PingPicker = {
|
|||
},
|
||||
|
||||
_showRawPingData() {
|
||||
show(document.getElementById("category-raw"));
|
||||
document.getElementById("raw-ping-data-section").classList.remove("hidden");
|
||||
document.getElementById("structured-ping-data-section").classList.add("hidden");
|
||||
},
|
||||
|
||||
_showStructuredPingData() {
|
||||
show(document.getElementById("category-home"));
|
||||
document.getElementById("raw-ping-data-section").classList.add("hidden");
|
||||
document.getElementById("structured-ping-data-section").classList.remove("hidden");
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -729,7 +743,7 @@ var SlowSQL = {
|
|||
|
||||
setHasData("slow-sql-section", true);
|
||||
if (debugSlowSql) {
|
||||
document.getElementById("sql-warning").hidden = false;
|
||||
document.getElementById("sql-warning").classList.remove("hidden");
|
||||
}
|
||||
|
||||
let slowSqlDiv = document.getElementById("slow-sql-tables");
|
||||
|
@ -855,11 +869,11 @@ var StackRenderer = {
|
|||
|
||||
let fetchE = document.getElementById(aPrefix + "-fetch-symbols");
|
||||
if (fetchE) {
|
||||
fetchE.hidden = false;
|
||||
fetchE.classList.remove("hidden");
|
||||
}
|
||||
let hideE = document.getElementById(aPrefix + "-hide-symbols");
|
||||
if (hideE) {
|
||||
hideE.hidden = true;
|
||||
hideE.classList.add("hidden");
|
||||
}
|
||||
|
||||
if (aStacks.length == 0) {
|
||||
|
@ -927,9 +941,9 @@ function SymbolicationRequest_handleSymbolResponse() {
|
|||
return;
|
||||
|
||||
let fetchElement = document.getElementById(this.prefix + "-fetch-symbols");
|
||||
fetchElement.hidden = true;
|
||||
fetchElement.classList.add("hidden");
|
||||
let hideElement = document.getElementById(this.prefix + "-hide-symbols");
|
||||
hideElement.hidden = false;
|
||||
hideElement.classList.remove("hidden");
|
||||
let div = document.getElementById(this.prefix + "-data");
|
||||
removeAllChildNodes(div);
|
||||
let errorMessage = bundle.GetStringFromName("errorFetchingSymbols");
|
||||
|
@ -1672,10 +1686,6 @@ var Events = {
|
|||
function setHasData(aSectionID, aHasData) {
|
||||
let sectionElement = document.getElementById(aSectionID);
|
||||
sectionElement.classList[aHasData ? "add" : "remove"]("has-data");
|
||||
|
||||
// Display or Hide the section in the sidebar
|
||||
let sectionCategory = document.querySelector(".category[value=" + aSectionID + "]");
|
||||
sectionCategory.classList[aHasData ? "add" : "remove"]("has-data");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1711,25 +1721,6 @@ function setupPageHeader() {
|
|||
subtitleElement.appendChild(document.createTextNode(subtitleText));
|
||||
}
|
||||
|
||||
/**
|
||||
* Change the section displayed
|
||||
*/
|
||||
function show(selected) {
|
||||
let current_section = document.querySelector(".active");
|
||||
let selected_section = document.getElementById(selected.getAttribute("value"));
|
||||
if (current_section == selected_section)
|
||||
return;
|
||||
current_section.classList.remove("active");
|
||||
current_section.hidden = true;
|
||||
selected_section.classList.add("active");
|
||||
selected_section.hidden = false;
|
||||
|
||||
let current_button = document.querySelector("[selected=true]");
|
||||
current_button.removeAttribute("selected");
|
||||
selected.setAttribute("selected", "true");
|
||||
document.getElementById("sectionTitle").textContent = selected.textContent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes load/unload, pref change and mouse-click listeners
|
||||
*/
|
||||
|
@ -1737,13 +1728,6 @@ function setupListeners() {
|
|||
Settings.attachObservers();
|
||||
PingPicker.attachObservers();
|
||||
|
||||
let menu = document.getElementById("categories");
|
||||
menu.addEventListener("click", (e) => {
|
||||
if (e.target && e.target.parentNode == menu) {
|
||||
show(e.target)
|
||||
}
|
||||
});
|
||||
|
||||
// Clean up observers when page is closed
|
||||
window.addEventListener("unload",
|
||||
function(aEvent) {
|
||||
|
@ -2101,20 +2085,28 @@ function renderPayloadList(ping) {
|
|||
}
|
||||
}
|
||||
|
||||
function toggleElementHidden(element, isHidden) {
|
||||
if (isHidden) {
|
||||
element.classList.add("hidden");
|
||||
} else {
|
||||
element.classList.remove("hidden");
|
||||
}
|
||||
}
|
||||
|
||||
function togglePingSections(isMainPing) {
|
||||
// We always show the sections that are "common" to all pings.
|
||||
// The raw payload section is only used for pings other than "main" and "saved-session".
|
||||
let commonSections = new Set(["general-data-section", "environment-data-section"]);
|
||||
let otherPingSections = new Set(["raw-payload-section"]);
|
||||
|
||||
let elements = document.getElementById("categories").children;
|
||||
let elements = document.getElementById("structured-ping-data-section").children;
|
||||
for (let section of elements) {
|
||||
if (commonSections.has(section.id)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
let showElement = isMainPing != otherPingSections.has(section.id);
|
||||
section.hidden = !showElement;
|
||||
toggleElementHidden(section, !showElement);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2125,11 +2117,9 @@ function displayPingData(ping, updatePayloadList = false) {
|
|||
let pre = document.getElementById("raw-ping-data");
|
||||
pre.textContent = JSON.stringify(gPingData, null, 2);
|
||||
|
||||
|
||||
try {
|
||||
displayRichPingData(ping, updatePayloadList);
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
PingPicker._showRawPingData();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,175 +22,124 @@
|
|||
src="chrome://global/content/aboutTelemetry.js"/>
|
||||
</head>
|
||||
|
||||
<body id="body" dir="&locale.dir;">
|
||||
<body dir="&locale.dir;">
|
||||
|
||||
<div id="categories">
|
||||
<div class="heading">
|
||||
<h3>&aboutTelemetry.pageTitle;</h3>
|
||||
</div>
|
||||
<div id="category-home" class="category has-data" selected="true" value="home">
|
||||
<span class="category-name">Home</span>
|
||||
</div>
|
||||
<div class="category" value="general-data-section">
|
||||
<span class="category-name">&aboutTelemetry.generalDataSection;</span>
|
||||
</div>
|
||||
<div class="category" value="environment-data-section">
|
||||
<span class="category-name">&aboutTelemetry.environmentDataSection;</span>
|
||||
</div>
|
||||
<div class="category" value="session-info-section">
|
||||
<span class="category-name">&aboutTelemetry.sessionInfoSection;</span>
|
||||
</div>
|
||||
<div class="category" value="scalars-section">
|
||||
<span class="category-name">&aboutTelemetry.scalarsSection;</span>
|
||||
</div>
|
||||
<div class="category" value="keyed-scalars-section">
|
||||
<span class="category-name">&aboutTelemetry.keyedScalarsSection;</span>
|
||||
</div>
|
||||
<div class="category" value="histograms-section">
|
||||
<span class="category-name">&aboutTelemetry.histogramsSection;</span>
|
||||
</div>
|
||||
<div class="category" value="keyed-histograms-section">
|
||||
<span class="category-name">&aboutTelemetry.keyedHistogramsSection;</span>
|
||||
</div>
|
||||
<div class="category" value="events-section">
|
||||
<span class="category-name">&aboutTelemetry.eventsSection;</span>
|
||||
</div>
|
||||
<div class="category" value="simple-measurements-section">
|
||||
<span class="category-name">&aboutTelemetry.simpleMeasurementsSection;</span>
|
||||
</div>
|
||||
<div class="category" value="telemetry-log-section">
|
||||
<span class="category-name">&aboutTelemetry.telemetryLogSection;</span>
|
||||
</div>
|
||||
<div class="category" value="slow-sql-section">
|
||||
<span class="category-name">&aboutTelemetry.slowSqlSection;</span>
|
||||
</div>
|
||||
<div class="category" value="chrome-hangs-section">
|
||||
<span class="category-name">&aboutTelemetry.chromeHangsSection;</span>
|
||||
</div>
|
||||
<div class="category" value="thread-hang-stats-section">
|
||||
<span class="category-name">&aboutTelemetry.threadHangStatsSection;</span>
|
||||
</div>
|
||||
<div class="category" value="late-writes-section">
|
||||
<span class="category-name">&aboutTelemetry.lateWritesSection;</span>
|
||||
</div>
|
||||
<div class="category" value="addon-details-section">
|
||||
<span class="category-name">&aboutTelemetry.addonDetailsSection;</span>
|
||||
</div>
|
||||
<div class="category" value="addon-histograms-section">
|
||||
<span class="category-name">&aboutTelemetry.addonHistogramsSection;</span>
|
||||
</div>
|
||||
<div class="category" value="captured-stacks-section">
|
||||
<span class="category-name">&aboutTelemetry.capturedStacksSection;</span>
|
||||
</div>
|
||||
<div class="category" value="late-writes-section">
|
||||
<span class="category-name">&aboutTelemetry.lateWritesSection;</span>
|
||||
</div>
|
||||
<div id="category-raw" class="category has-data" value="raw-ping-data-section">
|
||||
<span class="category-name">&aboutTelemetry.raw;</span>
|
||||
</div>
|
||||
</div>
|
||||
<header id="page-description">
|
||||
<h1>&aboutTelemetry.pageTitle;</h1>
|
||||
|
||||
<div class="main-content">
|
||||
<div class="header">
|
||||
<div id="sectionTitle" class="header-name">
|
||||
&aboutTelemetry.pageTitle;
|
||||
</div>
|
||||
</div>
|
||||
<div id="home" class="tab active">
|
||||
<h2 id="page-subtitle"></h2>
|
||||
|
||||
<h3 id="page-subtitle"></h3>
|
||||
<table id="settings">
|
||||
<tr>
|
||||
<td>
|
||||
<p id="description-upload-enabled" class="description-enabled">&aboutTelemetry.uploadEnabled;</p>
|
||||
<p id="description-upload-disabled" class="description-disabled">&aboutTelemetry.uploadDisabled;</p>
|
||||
</td>
|
||||
<td>
|
||||
<a href="" class="change-data-choices-link">&aboutTelemetry.changeDataChoices;</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p id="description-extended-recording-enabled" class="description-enabled">&aboutTelemetry.extendedRecordingEnabled;</p>
|
||||
<p id="description-extended-recording-disabled" class="description-disabled">&aboutTelemetry.extendedRecordingDisabled;</p>
|
||||
</td>
|
||||
<td>
|
||||
<a href="" class="change-data-choices-link">&aboutTelemetry.changeDataChoices;</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table id="settings">
|
||||
<tr>
|
||||
<td>
|
||||
<p id="description-upload-enabled" class="description-enabled">&aboutTelemetry.uploadEnabled;</p>
|
||||
<p id="description-upload-disabled" class="description-disabled">&aboutTelemetry.uploadDisabled;</p>
|
||||
</td>
|
||||
<td>
|
||||
<a href="" class="change-data-choices-link">&aboutTelemetry.changeDataChoices;</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p id="description-extended-recording-enabled" class="description-enabled">&aboutTelemetry.extendedRecordingEnabled;</p>
|
||||
<p id="description-extended-recording-disabled" class="description-disabled">&aboutTelemetry.extendedRecordingDisabled;</p>
|
||||
</td>
|
||||
<td>
|
||||
<a href="" class="change-data-choices-link">&aboutTelemetry.changeDataChoices;</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div id="ping-picker">
|
||||
<div id="ping-source-picker">
|
||||
&aboutTelemetry.pingDataSource;<br/>
|
||||
<input type="radio" id="ping-source-current" name="choose-ping-source" value="current" checked="checked" />
|
||||
&aboutTelemetry.showCurrentPingData;<br />
|
||||
<input type="radio" id="ping-source-archive" name="choose-ping-source" value="archive" />
|
||||
&aboutTelemetry.showArchivedPingData;<br />
|
||||
</div>
|
||||
<div id="current-ping-picker">
|
||||
<input id="show-subsession-data" type="checkbox" checked="checked" />&aboutTelemetry.showSubsessionData;
|
||||
</div>
|
||||
<div id="archived-ping-picker" class="hidden">
|
||||
&aboutTelemetry.choosePing;<br />
|
||||
<button id="newer-ping" type="button">&aboutTelemetry.showNewerPing;</button>
|
||||
<button id="older-ping" type="button">&aboutTelemetry.showOlderPing;</button><br />
|
||||
<table>
|
||||
<tr>
|
||||
<th>&aboutTelemetry.archiveWeekHeader;</th>
|
||||
<th>&aboutTelemetry.archivePingHeader;</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<select id="choose-ping-week">
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<select id="choose-ping-id">
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="ping-picker">
|
||||
<div id="ping-source-picker">
|
||||
&aboutTelemetry.pingDataSource;<br/>
|
||||
<input type="radio" id="ping-source-current" name="choose-ping-source" value="current" checked="checked" />
|
||||
&aboutTelemetry.showCurrentPingData;<br />
|
||||
<input type="radio" id="ping-source-archive" name="choose-ping-source" value="archive" />
|
||||
&aboutTelemetry.showArchivedPingData;<br />
|
||||
</div>
|
||||
<div id="ping-source-picker">
|
||||
&aboutTelemetry.pingDataDisplay;<br/>
|
||||
<input type="radio" id="ping-source-structured" name="choose-ping-display" value="structured" checked="checked" />
|
||||
&aboutTelemetry.structured;<br />
|
||||
<input type="radio" id="ping-source-raw" name="choose-ping-display" value="raw" />
|
||||
&aboutTelemetry.raw;<br />
|
||||
</div>
|
||||
<div id="current-ping-picker">
|
||||
<input id="show-subsession-data" type="checkbox" checked="checked" />&aboutTelemetry.showSubsessionData;
|
||||
</div>
|
||||
<div id="archived-ping-picker" class="hidden">
|
||||
&aboutTelemetry.choosePing;<br />
|
||||
<button id="newer-ping" type="button">&aboutTelemetry.showNewerPing;</button>
|
||||
<button id="older-ping" type="button">&aboutTelemetry.showOlderPing;</button><br />
|
||||
<table>
|
||||
<tr>
|
||||
<th>&aboutTelemetry.payloadChoiceHeader;</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<select id="choose-payload">
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>&aboutTelemetry.archiveWeekHeader;</th>
|
||||
<th>&aboutTelemetry.archivePingHeader;</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<select id="choose-ping-week">
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<select id="choose-ping-id">
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<table>
|
||||
<tr>
|
||||
<th>&aboutTelemetry.payloadChoiceHeader;</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<select id="choose-payload">
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="raw-ping-data-section" class="tab" hidden="true">
|
||||
<pre id="raw-ping-data"></pre>
|
||||
</div>
|
||||
<div id="raw-ping-data-section" class="hidden">
|
||||
<pre id="raw-ping-data"></pre>
|
||||
</div>
|
||||
|
||||
<section id="general-data-section" class="tab data-section expanded" hidden="true">
|
||||
<div id="structured-ping-data-section">
|
||||
<section id="general-data-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.generalDataSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="general-data" class="data">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="environment-data-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="environment-data-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.environmentDataSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="environment-data" class="data">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="session-info-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="session-info-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.sessionInfoSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="session-info" class="data">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="scalars-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="scalars-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.scalarsSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div class="processes-ui">
|
||||
<select id="scalars-processes" class="process-picker"></select>
|
||||
</div>
|
||||
|
@ -198,8 +147,11 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<section id="keyed-scalars-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="keyed-scalars-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.keyedScalarsSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div class="processes-ui">
|
||||
<select id="keyed-scalars-processes" class="process-picker"></select>
|
||||
</div>
|
||||
|
@ -207,8 +159,11 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<section id="histograms-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="histograms-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.histogramsSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<span class="filter-ui">
|
||||
&aboutTelemetry.filterText; <input type="text" class="filter" id="histograms-filter" target_id="histograms"/>
|
||||
</span>
|
||||
|
@ -219,8 +174,11 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<section id="keyed-histograms-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="keyed-histograms-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.keyedHistogramsSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div class="processes-ui">
|
||||
<select id="keyed-histograms-processes" class="process-picker"></select>
|
||||
</div>
|
||||
|
@ -228,8 +186,11 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<section id="events-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="events-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.eventsSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div class="processes-ui">
|
||||
<select id="events-processes" class="process-picker"></select>
|
||||
</div>
|
||||
|
@ -237,27 +198,39 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<section id="simple-measurements-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="simple-measurements-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.simpleMeasurementsSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="simple-measurements" class="data">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="telemetry-log-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="telemetry-log-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.telemetryLogSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="telemetry-log" class="data">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="slow-sql-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="slow-sql-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.slowSqlSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="slow-sql-tables" class="data">
|
||||
<p id="sql-warning" class="hidden">&aboutTelemetry.fullSqlWarning;</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="chrome-hangs-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="chrome-hangs-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.chromeHangsSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="chrome-hangs" class="data">
|
||||
<a id="chrome-hangs-fetch-symbols" href="#">&aboutTelemetry.fetchStackSymbols;</a>
|
||||
<a id="chrome-hangs-hide-symbols" class="hidden" href="#">&aboutTelemetry.hideStackSymbols;</a>
|
||||
|
@ -268,14 +241,20 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<section id="thread-hang-stats-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="thread-hang-stats-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.threadHangStatsSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="thread-hang-stats" class="data">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="late-writes-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="late-writes-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.lateWritesSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="late-writes" class="data">
|
||||
<a id="late-writes-fetch-symbols" href="#">&aboutTelemetry.fetchStackSymbols;</a>
|
||||
<a id="late-writes-hide-symbols" class="hidden" href="#">&aboutTelemetry.hideStackSymbols;</a>
|
||||
|
@ -286,20 +265,29 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<section id="addon-details-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="addon-details-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.addonDetailsSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="addon-details" class="data">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="addon-histograms-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="addon-histograms-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.addonHistogramsSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="addon-histograms" class="data">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="captured-stacks-section" class="tab data-section expanded" hidden="true">
|
||||
<section id="captured-stacks-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.capturedStacksSection;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="captured-stacks" class="data">
|
||||
<a id="captured-stacks-fetch-symbols" href="#">&aboutTelemetry.fetchStackSymbols;</a>
|
||||
<a id="captured-stacks-hide-symbols" class="hidden" href="#">&aboutTelemetry.hideStackSymbols;</a>
|
||||
|
@ -309,6 +297,16 @@
|
|||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="raw-payload-section" class="data-section">
|
||||
<input type="checkbox" class="statebox"/>
|
||||
<h1 class="section-name">&aboutTelemetry.rawPayload;</h1>
|
||||
<span class="toggle-caption">&aboutTelemetry.toggle;</span>
|
||||
<span class="empty-caption">&aboutTelemetry.emptySection;</span>
|
||||
<div id="raw-payload-data" class="data">
|
||||
<pre id="raw-payload-data-pre"></pre>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
Загрузка…
Ссылка в новой задаче