Closed
Bug 1346854
Opened 4 years ago
Closed 4 years ago
GCLI starts network listeners for seemingly no reason
Categories
(DevTools Graveyard :: Graphic Commandline and Toolbar, enhancement, P1)
DevTools Graveyard
Graphic Commandline and Toolbar
Tracking
(firefox55 fixed)
RESOLVED
FIXED
Firefox 55
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | fixed |
People
(Reporter: jryans, Assigned: jryans)
References
(Blocks 1 open bug)
Details
(Whiteboard: [qf:p1])
Attachments
(2 files)
From bug 1297525 comment 10, GCLI is starting network listeners, which gobble up memory. We should disable this feature when only GCLI is used.
| Assignee | ||
Updated•4 years ago
|
Priority: -- → P1
| Assignee | ||
Comment 1•4 years ago
|
||
I can confirm that GCLI enables networking listening for all tabs. So, this is in effect much worse than bug 1297525, because it affects all tabs instead of a single one.
| Assignee | ||
Updated•4 years ago
|
Assignee: nobody → jryans
Status: NEW → ASSIGNED
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 3•4 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=50a6791a3db913a47a8fd125df62df3c2b2425ad
Comment 4•4 years ago
|
||
| mozreview-review | ||
Comment on attachment 8850656 [details] Bug 1346854 - Delay network listening until toolbox open. https://reviewboard.mozilla.org/r/123204/#review126230 Good catch! Thanks for the fix. ::: devtools/client/framework/toolbox.js:416 (Diff revision 1) > yield this._target.makeRemote(); > > + // Start tracking network activity on toolbox open > + yield this._target.client.attachConsole(this._target.form.consoleActor, [ > + "NetworkActivity", > + ]); It looks wrong to call attachConsole multiple times, we are going to create two instances of WebConsoleClient. I think it would be better to call: target.activeConsole.startListeners instead of client.attachConsole.
Attachment #8850656 -
Flags: review?(poirot.alex) → review+
| Assignee | ||
Comment 5•4 years ago
|
||
| mozreview-review-reply | ||
Comment on attachment 8850656 [details] Bug 1346854 - Delay network listening until toolbox open. https://reviewboard.mozilla.org/r/123204/#review126230 > It looks wrong to call attachConsole multiple times, we are going to create two instances of WebConsoleClient. > I think it would be better to call: > target.activeConsole.startListeners instead of client.attachConsole. Thanks, I actually wanted to do that first, but then I thought the method didn't exist... Turns out the `WebConsoleClient` was just in a separate module. :S I'll make the change.
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 8•4 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=99a338d6a50005f18dbbbb90a1defac14e2e21f1
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 10•4 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=37404c9be64d3ff03d900fad265217aa39ffcaa9
Comment 11•4 years ago
|
||
I am seeing some collisions with patch from bug 1352699 that just landed (integration/autoland) Honza
| Assignee | ||
Comment 12•4 years ago
|
||
(In reply to Jan Honza Odvarko [:Honza] from comment #11) > I am seeing some collisions with patch from bug 1352699 that just landed > (integration/autoland) Okay, I'll rebase after this merges.
Comment 13•4 years ago
|
||
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #12) > (In reply to Jan Honza Odvarko [:Honza] from comment #11) > > I am seeing some collisions with patch from bug 1352699 that just landed > > (integration/autoland) > > Okay, I'll rebase after this merges. Just a note that patches from bug 1352699 landed in m-c. Honza
| Assignee | ||
Comment 14•4 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f832a95ba774781cf91aeb1661aeedbfa638f9b6
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 17•4 years ago
|
||
| mozreview-review | ||
Comment on attachment 8854927 [details] Bug 1346854 - Adjust network monitor test expectations. https://reviewboard.mozilla.org/r/126852/#review132626 Looks good to me! Thanks Ryan! Honza
Attachment #8854927 -
Flags: review?(odvarko) → review+
| Assignee | ||
Updated•4 years ago
|
Whiteboard: [qf]
| Comment hidden (mozreview-request) |
Comment 19•4 years ago
|
||
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again. hg error in cmd: hg rebase -s dc639ea60ada -d a8a257ba1903: rebasing 389953:dc639ea60ada "Bug 1346854 - Delay network listening until toolbox open. r=ochameau" rebasing 389954:52565493af19 "Bug 1346854 - Adjust network monitor test expectations. r=Honza" (tip) merging devtools/client/netmonitor/test/head.js warning: conflicts while merging devtools/client/netmonitor/test/head.js! (edit, then use 'hg resolve --mark') unresolved conflicts (see hg resolve, then hg rebase --continue)
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 22•4 years ago
|
||
Pushed by jryans@gmail.com: https://hg.mozilla.org/integration/autoland/rev/87c2e570f1c6 Delay network listening until toolbox open. r=ochameau https://hg.mozilla.org/integration/autoland/rev/7857690c1399 Adjust network monitor test expectations. r=Honza
Comment 23•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/87c2e570f1c6 https://hg.mozilla.org/mozilla-central/rev/7857690c1399
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
| Assignee | ||
Updated•4 years ago
|
Whiteboard: [qf] → [qf:p1]
Updated•3 years ago
|
Product: Firefox → DevTools
Updated•3 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•