Bug 1436197 - Make more space for the Waterfall column; r=ochameau
MozReview-Commit-ID: FNusclDxczW
--- a/devtools/client/netmonitor/test/browser_net_timing-division.js
+++ b/devtools/client/netmonitor/test/browser_net_timing-division.js
@@ -1,18 +1,22 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
/**
- * Tests if timing intervals are divided againts seconds when appropriate.
+ * Tests if timing intervals are divided against seconds when appropriate.
*/
+add_task(async function () {
+ // Show only few columns, so there is enough space
+ // for the waterfall.
+ await pushPref("devtools.netmonitor.visibleColumns",
+ '["status", "contentSize", "waterfall"]');
-add_task(async function () {
let { tab, monitor } = await initNetMonitor(CUSTOM_GET_URL);
info("Starting test... ");
let { document, store, windowRequire } = monitor.panelWin;
let Actions = windowRequire("devtools/client/netmonitor/src/actions/index");
store.dispatch(Actions.batchEnable(false));
let wait = waitForNetworkEvents(monitor, 2);