ullscreenElement,
            null,
            "outer fullscreenElement"
        );
        assert_equals(
            iframeDoc.fullscreenElement,
            null,
            "inner fullscreenElement"
        );
    }, "Checks that the fullscreenchange events fire in right order when exiting fullscreen");
</script>
