Bug 163852

Summary: Pointer Lock should have a request ID to match request responses to.
Product: WebKit Reporter: Jeremy Jones <jeremyj-wk>
Component: WebKit2Assignee: Jeremy Jones <jeremyj-wk>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Jeremy Jones
Reported 2016-10-22 11:13:54 PDT
From discussion on: https://bugs.webkit.org/show_bug.cgi?id=163801 > Site 1 requests pointer lock, we pop an alert and ask the user. The user > says yes. > While the round trip happens, a navigation occurs, site 2 requests pointer > lock, round trip completes, UI process gets an "accept", gives site 2 > pointer lock.
Attachments
Jeremy Jones
Comment 1 2016-10-22 11:16:05 PDT
PointerLockController can use an incrementing requestID and pass that along with the request and back with the response, and ignore mismatched responses.
Note You need to log in before you can comment on or make changes to this bug.