RESOLVED FIXED248394
Remove KeyboardEvent.altGraphKey
https://bugs.webkit.org/show_bug.cgi?id=248394
Summary Remove KeyboardEvent.altGraphKey
Ahmad Saleem
Reported 2022-11-28 06:46:41 PST
Hi Team, Just going through Blink's commit, I came across another, which if needed, we can merge to remove "KeyboardEvent.altGraphKey": Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=179545 It was Webkit only attribute and it is now removed from Blink as well. It seems that we still have this - https://github.com/WebKit/WebKit/blob/3a4c0cbdfa7b088c28fcb57dd3a1c5889af5c58a/Source/WebCore/dom/KeyboardEvent.cpp#L166 Just wanted to raise this bug. Thanks!
Attachments
Ryosuke Niwa
Comment 1 2022-11-28 11:19:03 PST
Radar WebKit Bug Importer
Comment 2 2022-12-05 06:47:15 PST
Ahmad Saleem
Comment 3 2022-12-05 07:11:56 PST
(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.
Tim Nguyen (:ntim)
Comment 4 2023-01-04 21:09:15 PST
(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.
Ahmad Saleem
Comment 5 2023-11-22 10:59:50 PST
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.
Ahmad Saleem
Comment 6 2024-01-20 18:22:53 PST
EWS
Comment 7 2024-01-23 16:12:37 PST
Committed 273379@main (f1f9f0045afe): <https://commits.webkit.org/273379@main> Reviewed commits have been landed. Closing PR #23015 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.