Open Bug 1536205 Opened 6 years ago Updated 2 years ago

Make "toggle*" actions explicit in their end state behavior

Categories

(DevTools :: Debugger, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: loganfsmyth, Unassigned)

References

(Blocks 1 open bug)

Details

Generic "toggleFoo" actions can be problematic in asynchronous environments because they may be triggered in such a way that they overlap, making their end state unclear.

toggleFoo operations should either accept an argument to indicate their desired end state, or be split into two operations, one enabling and one disabling.

Priority: -- → P3
Type: enhancement → task
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.