Closed
Bug 1436614
Opened 6 years ago
Closed 6 years ago
Add ghost window metric to Memory.jsm
Categories
(Core :: DOM: Content Processes, enhancement)
Core
DOM: Content Processes
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: erahm, Assigned: erahm)
Details
Attachments
(1 file)
1.67 KB,
patch
|
mconley
:
review+
|
Details | Diff | Splinter Review |
It would be useful to be able to retrieve the ghost window count of all windows. This would be the basis for adding extensions that can surface this info visually in order to help proactively debug ghost windows. I envision this tying in with the experimental memory WebExtension API (bug 1296898).
Assignee | ||
Comment 1•6 years ago
|
||
This adds a 'ghosts' field to the object returned by Memory.summary. Mike, this is a super simple change but feel free to redirect if you're not the right person to review it.
Attachment #8949253 -
Flags: review?(mconley)
Comment 2•6 years ago
|
||
Comment on attachment 8949253 [details] [diff] [review] Report ghost windows in Memory.jsm Review of attachment 8949253 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thanks! Is this going to be part of that WebExtension API you're experimenting with?
Attachment #8949253 -
Flags: review?(mconley) → review+
Assignee | ||
Comment 3•6 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #2) > Comment on attachment 8949253 [details] [diff] [review] > Report ghost windows in Memory.jsm > > Review of attachment 8949253 [details] [diff] [review]: > ----------------------------------------------------------------- > > Looks good, thanks! Is this going to be part of that WebExtension API you're > experimenting with? Yeah that's my plan. Thanks for the quick review!
Pushed by erahm@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/21f73ed97e6a Report ghost windows in Memory.jsm. r=mconley
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/21f73ed97e6a
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in
before you can comment on or make changes to this bug.
Description
•