The action creator for removing custom devices calls the one for remove device
association directly, which skips the step of also messaging the manager.
I've made the simplest change to fix just this issue, which moves the message
sending into the action creator for this one case. Bug 1332754 will apply the
same approach to other messages (they aren't causing issues yet since they are
not called from other action creators in the same way).
MozReview-Commit-ID: AICcT2vG1wl
If a device is active, remove it on resize. If not, leave device properties
alone, so that things like touch simulation stay enabled when resizing without
a device.
MozReview-Commit-ID: Hvo6AdTJRBJ
Use "change" instead of "update" terminology with viewport properties.
Remove redundant "viewport" word from viewport changes.
MozReview-Commit-ID: HSFLiZyTVYy
- Added `addDeviceForTest` that removes automatically the device added at the
end of the test.
- Improved `switchDevice` with more assertions.
MozReview-Commit-ID: D1BJozD65uj