Exits fullscreen mode if the document is currently in fullscreen.
This function uses the standard exitFullscreen() API when available,
and falls back to vendor-prefixed exit methods for Safari, IE11, and Firefox.
Any errors from the standard promise-based exit request are caught
and logged using logger.logPromiseFailed.
Exits fullscreen mode if the document is currently in fullscreen. This function uses the standard
exitFullscreen()API when available, and falls back to vendor-prefixed exit methods for Safari, IE11, and Firefox. Any errors from the standard promise-based exit request are caught and logged usinglogger.logPromiseFailed.