Bug 163852
Summary: | Pointer Lock should have a request ID to match request responses to. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jeremy Jones <jeremyj-wk> |
Component: | WebKit2 | Assignee: | Jeremy Jones <jeremyj-wk> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Jeremy Jones
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Jeremy Jones
PointerLockController can use an incrementing requestID and pass that along with the request and back with the response, and ignore mismatched responses.