Bug 1436197 - Make more space for the Waterfall column; r=ochameau
authorJan Odvarko <odvarko@gmail.com>
Thu, 08 Mar 2018 15:58:31 +0100
changeset 459714 78f9dd3eb0843c12e311df2256d15743a7653477
parent 459701 a34f669a52e14e130573df0763a23fbb124a92cf
child 459715 e85261fce8702b2dbe8cd526d1dc8a0a4b4ade66
push id8824
push userarchaeopteryx@coole-files.de
push dateMon, 12 Mar 2018 14:54:48 +0000
treeherdermozilla-beta@8d9daab95d68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1436197
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1436197 - Make more space for the Waterfall column; r=ochameau MozReview-Commit-ID: FNusclDxczW
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);