Summary: The Screen Orientation API provides the ability to read the screen
orientation type and angle, to be informed when the screen orientation
state changes, and be able to lock the screen orientation to a specific
state. We have been shipping an experimental version of this API with the
moz prefix since Firefox 14.
Other UAs shipping this are Chrome, Opera and Internet Explorer (prefixed).
Link to standard: http://w3c.github.io/screen-orientation/
Platform coverage: All platforms. However, currently only Android and
Firefox OS will support locking screen orientation.
Target release: Firefox 43