Bug 1575548 - Enable websockets in netmonitor's browser_net_ws-* tests to prevent them from failing on non-central branches. r=Honza

Differential Revision: https://phabricator.services.mozilla.com/D43298

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Sebastian Hengst 2019-08-26 09:19:35 +00:00
parent a6be29d2bf
commit afa82e0ecb
3 changed files with 12 additions and 0 deletions

View File

@ -8,6 +8,10 @@
*/
add_task(async function() {
await SpecialPowers.pushPrefEnv({
set: [["devtools.netmonitor.features.webSockets", true]],
});
const { tab, monitor } = await initNetMonitor(WS_PAGE_URL);
info("Starting test... ");

View File

@ -8,6 +8,10 @@
*/
add_task(async function() {
await SpecialPowers.pushPrefEnv({
set: [["devtools.netmonitor.features.webSockets", true]],
});
const { tab, monitor } = await initNetMonitor(WS_PAGE_URL);
info("Starting test... ");

View File

@ -8,6 +8,10 @@
*/
add_task(async function() {
await SpecialPowers.pushPrefEnv({
set: [["devtools.netmonitor.features.webSockets", true]],
});
const { tab, monitor } = await initNetMonitor(WS_PAGE_URL);
info("Starting test... ");