Closed Bug 1492516 Opened 6 years ago Closed 6 years ago

Grid badge disappears when updating node style

Categories

(DevTools :: Inspector, defect, P3)

defect

Tracking

(firefox62 unaffected, firefox63 verified, firefox64 verified)

VERIFIED FIXED
Firefox 64
Tracking Status
firefox62 --- unaffected
firefox63 --- verified
firefox64 --- verified

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

(Keywords: regression)

Attachments

(2 files)

Regression from 1479505

STRs:
- open https://labs.jensimmons.com/2017/01-003.html
- open inspector, and find the first <ul c;ass=".grid-container">
  (should have a "grid" badge at the end of the line)
- select the node in the markup-view
- in rule view, update `display` to `block`
  ("grid" badge disappears)
- in rule view, restore `display` to `grid`

ER: `grid` badge should reappear
AR: `grid` badge is missing
Attachment #9010329 - Flags: review?(gl) → review+
Thanks for the review! Try is green, landing.
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/adea59821e6b
Delete badge properties when removing badge element from the DOM;r=gl
Reminder to ask for uplift after this reached m-c
Flags: needinfo?(jdescottes)
https://hg.mozilla.org/mozilla-central/rev/adea59821e6b
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Would be nice to get this fix for a 63 regression in beta, as it impacts features related to CSS grid and WebComponents (rolling out in 63).

Approval Request Comment
[Feature/Bug causing the regression]:1479505
[User impact if declined]:badges in the inspector (indicating if an element has events, is using grid, has custom elements etc...) may disappear after the elements are updated
[Is this code covered by automated tests?]:yes, added in this patch
[Has the fix been verified in Nightly?]:not yet
[Needs manual test from QE? If yes, steps to reproduce]: yes, steps in summary
[List of other uplifts needed for the feature/fix]:none
[Is the change risky?]:no
[Why is the change risky/not risky?]:simple javascript fix, automated tests added
[String changes made/needed]:none
Flags: needinfo?(jdescottes)
Attachment #9010527 - Flags: review+
Attachment #9010527 - Flags: approval-mozilla-beta?
Comment on attachment 9010527 [details] [diff] [review]
fix1492516-beta.patch

Fix for a devtools regression, uplift approved for 63 beta 8. I'd like QE to verify the uplift, thanks.
Attachment #9010527 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Managed to reproduce with 63.0a1 (2018-08-18).
Verified with 63.0b8, 64.0a1 (2018-09-21, on win10x64, macOS 10.13.6, Ubuntu16.04 can confirm that the issue is no longer reproducible.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: