Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Treat trusted `contextmenu` events as user activation. #3659
Firefox already treats
Note that on desktop, both Chromium and Firefox already treat
This PR is remotely related to #1903 (which is a work in progress in Chromium).
domenic left a comment •
This looks good to me, and brings the spec a bit more in line with existing browsers while we work on #1903. I think it's OK to forgo tests since testing user activation is not currently possible I believe (e.g. the pop-up blocker is always disabled in the web platform tests infra). I am hopeful that when we do #1903 we'll try to workaround those current testing limitations and have a larger set of tests for the whole space.
I'll give this another day to see if any other editors have thoughts, and then merge.