Bug 1596524 - Port bug 1594351: Include remote agent status in about:support. r=jorgk
This commit is contained in:
Родитель
01247dd624
Коммит
0f2d0a863c
|
@ -985,6 +985,14 @@ var snapshotFormatters = {
|
|||
$("javascript-incremental-gc").textContent = data.incrementalGCEnabled;
|
||||
},
|
||||
|
||||
remoteAgent(data) {
|
||||
if (!AppConstants.ENABLE_REMOTE_AGENT) {
|
||||
return;
|
||||
}
|
||||
$("remote-debugging-accepting-connections").textContent = data.listening;
|
||||
$("remote-debugging-url").textContent = data.url;
|
||||
},
|
||||
|
||||
accessibility(data) {
|
||||
$("a11y-activated").textContent = data.isActive;
|
||||
$("a11y-force-disabled").textContent = data.forceDisabled || 0;
|
||||
|
|
|
@ -717,6 +717,23 @@
|
|||
</table>
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
#if defined(ENABLE_REMOTE_AGENT)
|
||||
<h2 class="major-section" data-l10n-id="remote-debugging-title"/>
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th class="column" data-l10n-id="remote-debugging-accepting-connections"/>
|
||||
<td id="remote-debugging-accepting-connections"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="column" data-l10n-id="remote-debugging-url"/>
|
||||
<td id="remote-debugging-url"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
#endif
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
Загрузка…
Ссылка в новой задаче