Bug 198744 - Figure out a way to simulate device rotation from layout tests on iPad on iOS 13
Summary: Figure out a way to simulate device rotation from layout tests on iPad on iOS 13
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-10 22:21 PDT by Wenson Hsieh
Modified: 2019-06-11 07:29 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2019-06-10 22:21:35 PDT
It appears simulated rotation no longer works on iPad in iOS 13, due to changes for multi-window support.
Comment 1 Wenson Hsieh 2019-06-11 07:29:21 PDT
It’s worth noting that rotation on iPhone still works 🤷🏻‍♂️.

What’s happening is that -setOrientation:animated: is called with the correct UIDeviceOrientation, but on iPad only, the UIWindow never ends up registering for the UIDeviceOrientationDidChangeNotification notification because its windowScene is unable to receive device orientation events.