Loading
Bug 1747039 - We should notify Gecko of current orientation information to all...
Bug 1747039 - We should notify Gecko of current orientation information to all process when enableNotifications is called. r=calu `OrientationDelegateTest#orientationLockedExistingOrientation` often timed out since Gecko's orientation information and GeckoView's aren't same value. If `GeckoScreenOrientation.update()` is called during `mShouldNotify` is false, GeckoView doesn't notify Gecko of current orientation information. Then, `GeckoScreenOrientation.enableNotifications()` also doesn't notify it since `mShouldNotify` was false. So then, when `update()` is called by lock screen, since cached orientation information in GeckoView is same value, GeckoView doesn't notify it even if Gecko's orientation information and GeckoView's information aren't same value. So we should notify Gecko of current orientation information to all processes when `enableNotifications` is called. Differential Revision: https://phabricator.services.mozilla.com/D135855