Bug 256024 - Do not handle context menu events when pointer is locked
Summary: Do not handle context menu events when pointer is locked
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 203850 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-26 20:07 PDT by Abrar Rahman Protyasha
Modified: 2023-09-20 09:09 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abrar Rahman Protyasha 2023-04-26 20:07:47 PDT
Context menu events (mouse right click) should not be handled during pointer lock. Doing so places the browser in a weird state as can be observed right clicking while pointer is locked in the pointer lock demo. https://mdn.github.io/dom-examples/pointer-lock/
Comment 1 Abrar Rahman Protyasha 2023-04-26 20:08:09 PDT
rdar://103961310
Comment 2 Abrar Rahman Protyasha 2023-04-26 20:20:25 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13222
Comment 3 EWS 2023-04-27 17:21:22 PDT
Committed 263475@main (54d533997e83): <https://commits.webkit.org/263475@main>

Reviewed commits have been landed. Closing PR #13222 and removing active labels.
Comment 4 Ahmad Saleem 2023-09-20 09:09:22 PDT
*** Bug 203850 has been marked as a duplicate of this bug. ***