Changes

Jump to: navigation, search

Gecko:FullScreenAPI

238 bytes removed, 02:09, 20 October 2011
requestFullScreen method
As requestFullScreenWithKeys, but hints to the UA that while in full-screen state, the toplevel browsing context for this Document should have keys disabled. While keys are disabled, there may be a reduced risk of spoofing attacks inducing the user to input inappropriate data, and the UA may choose to relax restrictions on entering full-screen state with keys disabled.
''cpearce: We are considering planning on dispatching a "fullscreendenied" event when requests for full-screen are denied. We changed to an "ask forgiveness" model, rather than an "ask permission" model, so requests can be approved/denied immediately in requestFullScreen(). UAs which choose to implement requestFullScreen with an "ask permission" model may never end up sending a "fullscreendenied" event however.'' ''cpearce: Acutally, we don't really need that since requestFullScreen() is currently synchronous, so users can just check document.mozFullScreen after calling requestFullScreen(), and if false they know their request has been denied.''
==== fullscreenchange event ====
Confirm
91
edits

Navigation menu