Chromium Code Reviews
DescriptionOnly set MouseLockDispatcher unlocked_by_target_ after mouse lock confirmed.
When a target application voluntarily unlocks the mouse we permit
relocking the mouse silently and with no user gesture requirement.
Check that the lock request is not currently pending and not yet
accepted by the browser process before setting |unlocked_by_target_|.
This corrects an ommision in https://chromiumcodereview.appspot.com/10443045/.
It is very difficult to test this possible failure, as the requests must be processed by the renderer process before the browser process can respond to the IPCs. An attempt was made to create this exploit, but was not able to produce the failure.
BUG=113460
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140598
Patch Set 1 #
Total comments: 2
Patch Set 2 : merge to tip of tree #Messages
Total messages: 7 (0 generated)
|