blob: 5c53238f8bd60228c03eebaa5a2e105a42f7ccd9 [file] [log] [blame]
Enter fullscreen with target1
RUN(target1.webkitRequestFullScreen())
RUN(internals.webkitWillEnterFullScreenForElement(target1))
EVENT(webkitfullscreenchange)
RUN(internals.webkitDidEnterFullScreenForElement(target1))
Exit fullscreen with target1
RUN(document.webkitExitFullscreen())
RUN(internals.webkitWillExitFullScreenForElement(target1))
Attempt to enter fullscreen with target2
RUN(target2.webkitRequestFullScreen())
EVENT(webkitfullscreenchange)
EVENT(webkitfullscreenerror)
RUN(internals.webkitDidExitFullScreenForElement(target1))
END OF TEST