Bug 303183
| Summary: | [WebDriver][BiDi] Implement the emulation.setScreenOrientationOverride command | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
| Component: | WebDriver | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bburg, hskupin, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 303147 | ||
Lauro Moura
Spec: https://w3c.github.io/webdriver-bidi/#command-emulation-setScreenOrientationOverride
WPT: https://wpt.fyi/results/webdriver/tests/bidi/emulation/set_screen_orientation_override?label=master&product=chrome%5Bexperimental%5D&product=firefox%5Bexperimental%5D&product=safari%5Bexperimental%5D&product=wpewebkit&aligned
> The emulation.setScreenOrientationOverride command emulates screen orientation of the given top-level traversables or user contexts.
Current override options:
emulation.ScreenOrientationNatural = "portrait" / "landscape"
emulation.ScreenOrientationType = "portrait-primary" / "portrait-secondary" / "landscape-primary" / "landscape-secondary"
emulation.ScreenOrientation = {
natural: emulation.ScreenOrientationNatural,
type: emulation.ScreenOrientationType
}
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/165837168>