# HG changeset patch # User Jan Odvarko # Date 1520521111 -3600 # Node ID 78f9dd3eb0843c12e311df2256d15743a7653477 # Parent ea65f77fc0d62b7ac33c95eab69039a6af56f180 Bug 1436197 - Make more space for the Waterfall column; r=ochameau MozReview-Commit-ID: FNusclDxczW diff --git a/devtools/client/netmonitor/test/browser_net_timing-division.js b/devtools/client/netmonitor/test/browser_net_timing-division.js --- 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);