| Summary: | Remove KeyboardEvent.altGraphKey | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, karlcow, ntim, rniwa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Ahmad Saleem
2022-11-28 06:46:41 PST
This flag might to be in use at first glance: https://github.com/search?q=altGraphKey+language%3AJavaScript&type=code&l=JavaScript (In reply to Ryosuke Niwa from comment #1) > This flag might to be in use at first glance: > https://github.com/ > search?q=altGraphKey+language%3AJavaScript&type=code&l=JavaScript Cool! I just raised it since it mentioned that it was Webkit only and non-standard and returns always "false". Still good to track for future purposes. (In reply to Ryosuke Niwa from comment #1) > This flag might to be in use at first glance: > https://github.com/ > search?q=altGraphKey+language%3AJavaScript&type=code&l=JavaScript If it's always false in WebKit, there shouldn't be any fallout. All the usages from that search are in checks. After removing, altGraphKey will be undefined, which is still falsy. Just came across this from another bug, using this test case: https://guacamole.apache.org/pub/tests/key-event-test.html Pressing any key - altGraphKey is 'undefined' for Firefox & Chrome while 'false' for Safari. Committed 273379@main (f1f9f0045afe): <https://commits.webkit.org/273379@main> Reviewed commits have been landed. Closing PR #23015 and removing active labels. |