Closed
Bug 1272857
Opened 8 years ago
Closed 8 years ago
do tree performance tests intend to set margins on node.style rather than node?
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect, P3)
DevTools
Performance Tools (Profiler/Timeline)
Tracking
(firefox49 fixed)
RESOLVED
FIXED
Firefox 49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: dbaron, Assigned: dbaron)
Details
Attachments
(1 file, 1 obsolete file)
This is a followup to bug 1111440 comment 10 (and 11 and 12). The substitution made there brought to light that some devtools performance test code is setting marginInlineStart (previously MozMarginStart) on node rather than on node.style. It's not clear whether this was intended or not, so I'm filing this bug to ask.
Assignee | ||
Comment 1•8 years ago
|
||
This is a followup to bug 1111440 (see above). MozReview-Commit-ID: BHCexWmrHoT
Attachment #8752438 -
Flags: feedback?(vporof)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → dbaron
Status: NEW → ASSIGNED
Component: Developer Tools → Developer Tools: Performance Tools (Profiler/Timeline)
Comment on attachment 8752438 [details] [diff] [review] Are these intending to read/write element.style.marginInlineStart instead of just element.marginInlineStart? :vporof is away from Bugzilla for a while working on Tofino. Let's ask :gregtatum about this.
Attachment #8752438 -
Flags: feedback?(vporof) → feedback?(gtatum)
Comment 3•8 years ago
|
||
It looks like the intent was to modify the style, not just set some random value. This is in a test for the AbstractTreeItem, so it doesn't break anything to change it as the test should pass either way. The more correct code would be to have the node.style.marginInlineStart set. Also there is a comment in the `devtools/client/shared/widgets/AbstractTreeItem.jsm` file which should also probably be updated: https://dxr.mozilla.org/mozilla-central/source/devtools/client/shared/widgets/AbstractTreeItem.jsm#53
Updated•8 years ago
|
Attachment #8752438 -
Flags: feedback?(gtatum) → feedback+
Updated•8 years ago
|
Priority: -- → P3
Assignee | ||
Comment 4•8 years ago
|
||
(In reply to Greg Tatum [:gregtatum] [@gregtatum] from comment #3) > Also there is a comment in the > `devtools/client/shared/widgets/AbstractTreeItem.jsm` file which should also > probably be updated: > https://dxr.mozilla.org/mozilla-central/source/devtools/client/shared/ > widgets/AbstractTreeItem.jsm#53 That comment is already updated within the patch.
Assignee | ||
Comment 5•8 years ago
|
||
This is a followup to bug 1111440. MozReview-Commit-ID: BHCexWmrHoT
Attachment #8756021 -
Flags: review?(gtatum)
Assignee | ||
Updated•8 years ago
|
Attachment #8752438 -
Attachment is obsolete: true
Comment 6•8 years ago
|
||
Comment on attachment 8756021 [details] [diff] [review] Fix some tree performance tests to read/write element.style.marginInlineStart instead of just element.marginInlineStart Review of attachment 8756021 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, thanks!
Attachment #8756021 -
Flags: review?(gtatum) → review+
Assignee | ||
Comment 7•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a83a85ac378b&group_state=expanded
Assignee | ||
Comment 8•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6f4868096fd610dc4a205632e170f6332479ac22 Bug 1272857 - Fix some tree performance tests to read/write element.style.marginInlineStart instead of just element.marginInlineStart. r=gregtatum
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6f4868096fd6
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•