Bug 256024

Summary: Do not handle context menu events when pointer is locked
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cgarcia, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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. ***