EVENT(gamepadconnected)
EVENT(fullscreenchange)
EXPECTED (document.fullscreenElement == '[object HTMLHtmlElement]') OK
EVENT(fullscreenchange)
EXPECTED (document.fullscreenElement == '[object HTMLSpanElement]') OK
EVENT(fullscreenchange)
EXPECTED (document.fullscreenElement == '[object HTMLHtmlElement]') OK
EVENT(fullscreenchange)
EXPECTED (document.fullscreenElement == 'undefined') OK
END OF TEST