Bug 204590
| Summary: | Right-click not being caught by pointerup event listener | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cory <corytyburski> |
| Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
| Status: | REOPENED | ||
| Severity: | Normal | CC: | graouts, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 13 | ||
| Hardware: | Mac | ||
| OS: | macOS 10.15 | ||
Cory
Right-click not being caught by pointerup event listener on window.
Simple test:
window.addEventListener('pointerup', function() {
alert('Hello world');
});
Then right-click anywhere on the page.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/57480866>
Antoine Quint
I don't have an actual mouse to test with, but opening the Web Inspector on this very page and pasting the code you wrote in your comment in the Console and then option+click with my MacBook Pro showed Hello World! with STP 96.
Can you provide more details with your configuration?
Cory
(In reply to Antoine Quint from comment #2)
> I don't have an actual mouse to test with, but opening the Web Inspector on
> this very page and pasting the code you wrote in your comment in the Console
> and then option+click with my MacBook Pro showed Hello World! with STP 96.
>
> Can you provide more details with your configuration?
Option + Click is recognized, but not right-click. If you don't own a mouse, you can try clicking with 2 fingers on a Macbook trackpad (the equivalent to a mouse right-click) to see the same results.
Antoine Quint
Reopening, thanks for the clarification Cory.