Pretty much everywhere we call this we also assert the previous state. It makes sense to do this as part of the method.
Created attachment 8888382 [details] [diff] [review] bug1382720-change-zone-state
Attachment #8888382 - Flags: review?(sphink)
Attachment #8888382 - Flags: review?(sphink) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d9d10df4a135 Move zone state assertion into state update method r=sfink
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox56: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.