Closed Bug 1415238 Opened 7 years ago Closed 7 years ago

Resizing "device" in RDM causes User Agent to change

Categories

(DevTools :: Responsive Design Mode, defect)

57 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1319944

People

(Reporter: miketaylr, Unassigned)

References

(Blocks 1 open bug)

Details

STR) 1. Open RDM 2. Select a preset device (or custom one) 3. check navigator.userAgent 4. change viewport size of device in the bottom right 5. check navigator.userAgent expected: no change actual: it changed This is not fun when you're using a custom Fennec device and need to debug layout/viewport stuff. Some bugs will only reproduce if the UA string doesn't change.
Thanks for filing! This is a bit of a tricky one. RDM currently assumes that if you resize when a device is selected, then it should reset to back to "default desktop mode" and clear any device specific properties. I think we would address your use case by exposing an explicit control for setting the UA separate from the device selector, which would remain set even while resizing, similar to bug 1319944. Does this seem sufficient, or do you find you also need other device properties applied as well while resizing?
Flags: needinfo?(miket)
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #1) > I think we would address your use case by exposing an explicit control for > setting the UA separate from the device selector, which would remain set > even while resizing, similar to bug 1319944. Yeah, that would solve my use case. Thanks!
Flags: needinfo?(miket)
Great! I'll mark this as a duplicate then.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
No longer blocks: rdm-web-compat
You need to log in before you can comment on or make changes to this bug.