Backport Bugzilla 2059471: Do not spoof screen orientation when it is locked
🔍 Bugzilla Audit
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1744125
Description
Adds ScreenOrientation.lock and ScreenOrientation.unlock. Based on the specification, it could be used for fingerprinting since it will throw NotSupportedError if a specified orientation is not supported by the platform.
Edited by henry