Open
Bug 1608468
Opened 5 years ago
Updated 2 years ago
Add support for "mobile" and "screenOrientation" property of Emulation.setDeviceMetricsOverride
Categories
(Remote Protocol :: CDP, task, P3)
Remote Protocol
CDP
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
References
(Blocks 3 open bugs)
Details
Right now we don't build the Remote Agent for mobile, and as such the basic implementation as done on bug 1588432 will not support mobile. Behavior to implement will be for:
- mobile (docShell.deviceSizeIsPageSize)
- screenOrientation (Marionette uses window.screen.mozOrientation)
- touch emulation (maybe related to bug 1605784)
When working on this bug make sure to run the emulation.spec.js test from Puppeteer.
Reporter | ||
Comment 1•4 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [⌚️UTC+2] from comment #0)
- touch emulation (maybe related to bug 1605784)
This is done now and works pretty fine.
- mobile (docShell.deviceSizeIsPageSize)
- screenOrientation (Marionette uses window.screen.mozOrientation)
That means those to two are remaining now
Summary: Add mobile support to Emulation.setDeviceMetricsOverride → Add support for "mobile" and "screenOrientation" property of Emulation.setDeviceMetricsOverride
Assignee | ||
Updated•4 years ago
|
Component: CDP: Emulation → CDP
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•