Closed
Bug 1201700
Opened 8 years ago
Closed 8 years ago
Create memory tool shell
Categories
(DevTools :: Memory, defect)
Tracking
(firefox43 fixed)
RESOLVED
FIXED
Firefox 43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: jsantell, Assigned: jsantell)
References
Details
Attachments
(1 file, 1 obsolete file)
14.57 KB,
patch
|
fitzgen
:
review+
bgrins
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=362b80ce8c0c
Attachment #8656835 -
Flags: review?(nfitzgerald)
Assignee | ||
Comment 2•8 years ago
|
||
Comment on attachment 8656835 [details] [diff] [review] 1201700-memory-tool.patch r? bgrins for the toolbox options change
Attachment #8656835 -
Flags: review?(bgrinstead)
Comment 3•8 years ago
|
||
Comment on attachment 8656835 [details] [diff] [review] 1201700-memory-tool.patch Review of attachment 8656835 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/devtools/definitions.js @@ +375,5 @@ > }; > > +Tools.memory = { > + id: "memory", > + ordinal: 13, It makes more sense to put it next to the Performance tab to me. Those 2 tabs are related anyway.
Comment 4•8 years ago
|
||
Comment on attachment 8656835 [details] [diff] [review] 1201700-memory-tool.patch Review of attachment 8656835 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/devtools/framework/toolbox-options.js @@ +229,5 @@ > }; > > // Populating the default tools lists > let toggleableTools = gDevTools.getDefaultTools().filter(tool => { > + return tool.visibilityswitch && tool.displayInOptions !== false; I'd actually prefer a name like `hideInOptions` or `hidden` and then this condition could be `hideInOptions === true`, so that it doesn't add any confusion that addon devs might need to set this (since the current name implies you would want it to be true). A comment for this new property should also be added in gDevTools.jsm above the registerTool function.
Attachment #8656835 -
Flags: review?(bgrinstead)
Assignee | ||
Comment 5•8 years ago
|
||
Made toolbox definition changes and moved memory tool adjacent to perf tools
Attachment #8656835 -
Attachment is obsolete: true
Attachment #8656835 -
Flags: review?(nfitzgerald)
Attachment #8656887 -
Flags: review?(nfitzgerald)
Attachment #8656887 -
Flags: review?(bgrinstead)
Comment 6•8 years ago
|
||
Comment on attachment 8656887 [details] [diff] [review] 1201700-memory-tool.patch Review of attachment 8656887 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/devtools/definitions.js @@ +287,5 @@ > + tooltip: "Memory (keyboardshortcut)", > + hiddenInOptions: true, > + > + isTargetSupported: function (target) { > + // TODO Once Fx44 lands, we should add a root trait `memoryTool` No TODOs without a bug number ::: browser/devtools/memory/memory.xul @@ +8,5 @@ > +<?xml-stylesheet href="chrome://browser/skin/devtools/widgets.css" type="text/css"?> > +<?xml-stylesheet href="chrome://browser/skin/devtools/memory.css" type="text/css"?> > +<!DOCTYPE window [ > + <!ENTITY % debuggerDTD SYSTEM "chrome://browser/locale/devtools/performance.dtd"> > + %debuggerDTD; Gah no more xul... [x]html pls
Attachment #8656887 -
Flags: review?(nfitzgerald) → review+
Updated•8 years ago
|
Attachment #8656887 -
Flags: review?(bgrinstead) → review+
Comment 8•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6c0281a6aee3
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Updated•5 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•