blob: c6343a58bf7e20c6cc195399e68fd7cf652c8efc [file] [log] [blame]
Test entering full screen security restrictions. An iframe without an allow attribute is still permitted to fullscreen if the request comes from the containing document.
To test manually, press any key - the page should enter full screen mode.
TEST(document.webkitFullscreenEnabled) OK
iframe's webkitFullscreenEnabled should be false:
TEST(iframeMessage == 'document.webkitFullscreenEnabled == false') OK
EVENT(webkitfullscreenchange)
SUCCEED - entered full screen!
END OF TEST