For the examples, maybe take some from the [Screen Orientation API](https://dvcs.w3.org/hg/screen-orientation/raw-file/tip/Overview.html). Would be helpful to @mounirlamouri if you gave that spec a once over for Promise usage regardless :)