-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync and update 'which' across KeyboardEvent, MouseEvent and UIEvent …
…interfaces as per web specification https://bugs.webkit.org/show_bug.cgi?id=253366 rdar://problem/106580687 Reviewed by Ryosuke Niwa. This patch aligns WebKit with Gecko / Firefox, Blink / Chromium and Web Specifications [1], [2] and [3]. [1] https://w3c.github.io/uievents/#idl-uievent [2] https://w3c.github.io/uievents/#idl-keyboardevent [3] https://w3c.github.io/uievents/#idl-mouseevent This patch modifies 'which' to be 'unsigned' as per web-specification and also remove it from 'KeyboardEvent'. Merge: https://chromium.googlesource.com/chromium/src.git/+/cf13270c47f29b21ce7a8c937f598989cd66c840 * Source/WebCore/dom/KeyboardEvent.cpp: (KeyboardEvent::which): * Source/WebCore/dom/KeyboardEvent.h: * Source/WebCore/dom/KeyboardEvent.idl: * Source/WebCore/dom/MouseEvent.cpp: (MouseEvent::which): * Source/WebCore/dom/MouseEvent.h: * Source/WebCore/dom/UIEvent.cpp: (UIEvent::which): * Source/WebCore/dom/UIEvent.h: * Source/WebCore/dom/UIEvent.idl: Remove FIXME and align with web-spec Canonical link: https://commits.webkit.org/273701@main
- Loading branch information
1 parent
f98fe54
commit df7782c
Showing
8 changed files
with
26 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters