Closed
Bug 1236673
Opened 9 years ago
Closed 9 years ago
Add a method for getting the canonical node along a path
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(firefox46 fixed)
RESOLVED
FIXED
Firefox 46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: fitzgen, Assigned: fitzgen)
References
Details
Attachments
(1 file)
4.35 KB,
patch
|
jsantell
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8703809 -
Flags: review?(jsantell)
Assignee | ||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
Comment on attachment 8703809 [details] [diff] [review]
Add a method for getting the canonical node along a path
Review of attachment 8703809 [details] [diff] [review]:
-----------------------------------------------------------------
::: devtools/shared/heapsnapshot/DominatorTreeNode.js
@@ +266,5 @@
> + * @param {Array<NodeId>} path
> + *
> + * @returns {DominatorTreeNode|null}
> + */
> +DominatorTreeNode.getCanonicalNodeAlongPath = function (id, tree, path) {
This took me a bit to understand, but it seems pretty straight forward -- I'm not sure if `canonical` is the best word in this case -- we have concepts of an `id` as well as a `node`, and `path` in this method -- would something like `getNodeByIdFromPath`? Still a mouthful, but more immediately clear (IMO) what this is doing -- I don't feel too strongly about this though, this isn't a hot method used all over the place
Attachment #8703809 -
Flags: review?(jsantell) → review+
Comment 5•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Comment 6•9 years ago
|
||
[bugday-20160323]
Status: RESOLVED,FIXED -> UNVERIFIED
Comments:
STR: Not clear.
Developer specific testing
Component:
Name Firefox
Version 46.0b9
Build ID 20160322075646
Update Channel beta
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
OS Windows 7 SP1 x86_64
Expected Results:
Developer specific testing
Actual Results:
As expected
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•