Security/Reviews/Mouse-Pointer Lock: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 5: Line 5:
** or have 2 monitors have different things full screen
** or have 2 monitors have different things full screen
** Current plan is to show the full-screen warning again for 4 seconds whenever a full-screen page regains focus.
** Current plan is to show the full-screen warning again for 4 seconds whenever a full-screen page regains focus.
* Allow pointer lock when not in full screen mode ( https://bugzilla.mozilla.org/show_bug.cgi?id=822654 and https://wiki.mozilla.org/Security/Reviews/Mouse-Pointer_Lock )
* Current plan: in response to a click, a web page may activate a doorhanger "Do you want to allow this site to go into pointer-lock mode?"
** Note that pointer lock comes free with full-screen. Full-screen asks for forgiveness while pointer-lock-alone asks for permission.
* Keeping the existing model for pointer lock during full-screen.
}}
}}
{{SecReview
{{SecReview
Line 37: Line 41:
** This will break the Doom case of "Esc opens the menu and releases pointer lock; Esc again closes the menu and regains pointer lock".  Games like that will have to use a different keybinding for their in-game menu with a fake cursor, or put an item on the menu for resuming the game.  (Just like a full-screen game has to use a key other than Esc for its menu.)
** This will break the Doom case of "Esc opens the menu and releases pointer lock; Esc again closes the menu and regains pointer lock".  Games like that will have to use a different keybinding for their in-game menu with a fake cursor, or put an item on the menu for resuming the game.  (Just like a full-screen game has to use a key other than Esc for its menu.)
* [mwobensmith?] Test what happens when you have a device with both touch and cursor.
* [mwobensmith?] Test what happens when you have a device with both touch and cursor.
}}
}}
canmove, Confirmed users, Bureaucrats and Sysops emeriti
2,776

edits