gecko-dev/devtools/client/framework
J. Ryan Stinnett 3dc08dcf94 Bug 1346854 - Delay network listening until toolbox open. r=ochameau
Once upon a time (bug 862341), we decided to enable network listening by
default in DevTools.

In a general sense, that's fine.  When you open a toolbox, we listen to that
tab and stop listening when the toolbox closes.

GCLI / Developer Toolbar is quite different, though.  It connects to the whole
browser.  This meant that enabling GCLI would start listening to network
activity in *every* tab (even though it doesn't have any way to even use that
data).  This of course will slow down performance with all the extra tracking
and eat up memory with the tracked request data.

In this change, we move the step to enable network listening into the toolbox,
which seems more like what we intended anyway.

MozReview-Commit-ID: 2UYoQtWCAE1

--HG--
extra : rebase_source : 22545d1b47d73e43eec3407ce25f056bc8ef200f
2017-03-23 14:34:37 -05:00
..
components Bug 1338106 - Add mask-image to fade out text of devtools-tabs;r=ntim 2017-03-08 17:20:49 +01:00
connect Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
dev-edition-promo Bug 1228032 - restore chrome://global/skin/ where chrome://browser/skin/ was removed, r=jryans 2015-11-25 22:22:19 +00:00
test Bug 1316187 - verify that all the chrome files we ship are actually referenced, r=Gijs. 2017-03-18 01:13:28 +01:00
ToolboxProcess.jsm Bug 1342588 - Use ProfD for Browser Toolbox profile. r=ochameau 2017-03-01 15:17:59 -06:00
about-devtools-toolbox.js Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
attach-thread.js Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans 2016-10-25 21:30:18 -06:00
browser-menus.js Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans 2016-10-25 21:30:18 -06:00
devtools-browser.js Bug 1348318 - Avoid toolbox.win.top with undocked toolboxes. r=ochameau 2017-03-17 10:51:03 -05:00
devtools.js Bug 1350782 - Fix undefined Cu error on unregistering tool using its definition object. r=ochameau 2017-03-27 03:37:06 +02:00
gDevTools.jsm Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey 2016-05-18 12:49:23 -05:00
location-store.js Bug 670002 - Use source maps in the web console w/ performance issues; r=jsantell 2016-07-20 19:09:00 +02:00
menu-item.js Bug 1269497 - eslint fixes for Menu API;r=jdescottes 2016-05-03 07:42:20 -07:00
menu.js Bug 1285229 - Prevent duplicated context menu in the Inspector on Windows. r=jdescottes 2016-07-13 15:44:20 -07:00
moz.build Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans 2017-01-13 08:40:35 -05:00
options-panel.css Bug 1334126 - Fix "Screenshot icon beside Screenshot Behavior label looks inconsistent". r=ntim.bugs 2017-01-30 14:00:00 +01:00
selection.js Bug 1345119 - Part 1: Move functions out of grid-inspector into inspector for sharing with boxmodel. r=pbro 2017-03-17 22:58:11 -03:00
sidebar.js Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
source-map-service.js Bug 1296589 - Add guard to prevent accessing location store before it is initialized. r=jsantell 2016-08-23 16:50:00 -04:00
target-from-url.js Bug 1275078 - Fix ESLint issues in toolbox and target files. r=ochameau 2017-02-22 12:33:20 -06:00
target.js Bug 1346854 - Delay network listening until toolbox open. r=ochameau 2017-03-23 14:34:37 -05:00
toolbox-highlighter-utils.js Bug 1275078 - Fix ESLint issues in toolbox and target files. r=ochameau 2017-02-22 12:33:20 -06:00
toolbox-host-manager.js Bug 1275078 - Fix ESLint issues in toolbox and target files. r=ochameau 2017-02-22 12:33:20 -06:00
toolbox-hosts.js Bug 1302148 - Nullify attributes on destroy to prevent leaking the toolbox. r=bgrins 2016-09-12 03:21:40 -07:00
toolbox-init.js Bug 1275078 - toolbox-init.js error handling tweaks from Positron. r=ochameau 2017-02-22 12:45:06 -06:00
toolbox-options.js Bug 1275078 - Fix ESLint issues in toolbox and target files. r=ochameau 2017-02-22 12:33:20 -06:00
toolbox-options.xhtml Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
toolbox-process-window.js Backed out changeset 33be5bce0905 (bug 1346902) for devtool test failing in browser_browser_toolbox_debugger.js 2017-04-06 10:41:47 +08:00
toolbox-process-window.xul Bug 1303043 - followup: add aHTMLTooltip in toolbox-window-process.xul;r=honza 2016-09-16 14:48:32 +02:00
toolbox-window.xul Bug 1303043 - fix toolbox HTML tooltips in devtools window host;r=Honza 2016-09-15 17:07:38 +02:00
toolbox.js Bug 1346854 - Delay network listening until toolbox open. r=ochameau 2017-03-23 14:34:37 -05:00
toolbox.xul Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00