Closed Bug 1506170 Opened 6 years ago Closed 5 years ago

Changes panel doesn't get cleared on page refresh

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(firefox65 fixed)

RESOLVED FIXED
Firefox 65
Tracking Status
firefox65 --- fixed

People

(Reporter: mbalfanz, Assigned: rcaliman)

References

(Depends on 1 open bug)

Details

Attachments

(2 files)

Attached video changes-not-cleared.mp4
STR:
- open devtools, make sure the changes panel is not the default panel
- make changes
- close devtools and reopen it
- visit changes panel

ER:
- for M1, changes panel should be cleared

AR:
- changes panel shows last edits
Sorry, step 3 should not be "close devtools and reopen it" but "refresh page"
Priority: -- → P2
To reproduce consistently, the trick is to never have opened the Changes panel during that DevTools session. 
If you did, switch to another panel, then close the DevTools and refresh the page. 
Only then can you successfully apply the steps to reproduce the issue.
Until we implement intentional persistence of changes between page refreshes, the Changes actor should clear its stack of changes to avoid polluting the next DevTools session.
Assignee: nobody → rcaliman
Status: NEW → ASSIGNED
Pushed by rcaliman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0f02ec66af19
Clear the changes stored on the actor upon page refresh/navigate; r=bradwerth
https://hg.mozilla.org/mozilla-central/rev/0f02ec66af19
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: