blob: 13202b5c6f0124381d3a2527cd3f22aec7c96dde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Test that the "Enable Network Monitoring" checkbox item is not available
// in the webconsole.
"use strict";
add_task(async function testEnableNetworkMonitoringInWebConsole() {
const hud = await openNewTabAndConsole(
`data:text/html,<!DOCTYPE html><script>foo;</script>`
);
const enableNetworkMonitoringItem = getConsoleSettingElement(
hud,
".webconsole-console-settings-menu-item-enableNetworkMonitoring"
);
ok(
!enableNetworkMonitoringItem,
"The 'Enable Network Monitoring' setting item should not be avaliable in the webconsole"
);
await closeConsole();
});
|