Open Bug 1518187 Opened 9 months ago Updated 9 months ago

[Tack changes] - disabling and editing a property is tracked for each action instead of last one only


(DevTools :: Inspector: Changes, defect, P2)



(firefox65 affected, firefox66 affected)

Tracking Status
firefox65 --- affected
firefox66 --- affected


(Reporter: cfogel, Unassigned)


(Blocks 2 open bugs)



(1 file)

[Affected versions]:
- 65.0b8, 66.0a1 (2019-01-07)

[Affected platforms]:
- Windows 10, Ubuntu 18.04, macOS 10.14 

[Steps to reproduce]:
1. Launch Firefox, open devTools - Inspector, select the Changes tab;
2. In the Rules section, add the any property with an invalid value(ex: color:greene);
3. Tick on the checkbox to disable it;
4. Click on the value and change it to a valid one(ex: color:green);
5. Press the Enter key;

- go to about:config and make sure that devtools.inspector.changes.enabled is set to true

[Expected result]:
- only the last change should be displayed in the changes tab;

[Actual result]:
- both removal and addition for this property change is listed in the changes tab;

[Regression range]:
- The issue is reproducible all the way back to 65.0a1 (2018-10-26), so this is not e regression.

[Additional notes]:
- attached screenshot with the issue;

Thanks for filing! This is related to the issue in Bug 1504819

Priority: -- → P2
See Also: → 1504819
Component: Inspector → Inspector: Changes
You need to log in before you can comment on or make changes to this bug.