Confirmed users
91
edits
(→Discussion 2011-10-03: note comparisons made with URLs) |
|||
Line 90: | Line 90: | ||
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. | 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 | ''cpearce: We are considering 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 ==== | ==== fullscreenchange event ==== |