New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ongamepadconnected + ongamepaddisconnected #1570
Add ongamepadconnected + ongamepaddisconnected #1570
Conversation
Typo “diconnected” in title. Also I think we usually use 4-space indent (some of the tests are using 2). |
Oops, can someone fix that for me on bugzilla?
Will fix. |
@@ -5531,6 +5531,8 @@ | |||
E7E0357224D4E196008DFEFB /* AnalyserOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = E7E0357124D4E191008DFEFB /* AnalyserOptions.h */; }; | |||
E7FBE7C224EB2FB000A18E62 /* StereoPannerNode.h in Headers */ = {isa = PBXBuildFile; fileRef = E7FBE7C124EB2FAB00A18E62 /* StereoPannerNode.h */; }; | |||
E7FBE7C324EB2FB600A18E62 /* StereoPannerOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = E7FBE7C024EB2FAB00A18E62 /* StereoPannerOptions.h */; }; | |||
E8FC921B285BFD5B004904B2 /* JSWindowEventHandlers+Gamepad.h in Product Dependencies */ = {isa = PBXBuildFile; fileRef = E8FC9219285BFD5A004904B2 /* JSWindowEventHandlers+Gamepad.h */; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to be added to 93F198A608245E59001E9ABC /* Headers */
. I think you can do that by selecting this file in Xcode and checking the WebCore target in the details sidebar. You can also manually edit this file to add something like this
E8FC921B285BFD5B004904B2 /* JSWindowEventHandlers+Gamepad.h in Headers */,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I did it with the UI as you instructed just to be safe. Ut added it gave it a new hash and added it to headers, so hopefully that's right.
@shivamidow, hi 👋 Sorry, to bother you, I'm a bit new to WebKit. I saw you implemented gamepad events for GTK in bug 133854. I'm hitting a gtk-wk2 test failure but I'm a bit unsure how to proceed. Could you provide me any guidance? |
Hey @marcoscaceres. You can skip the new tests by adding lines to LayoutTests/platform/gtk/TestExpectations. I will handle them later. |
Thanks @shivamidow! I've excluded the test and filed https://webkit.org/b/242370 |
@marcoscaceres does not have committer permissions according to https://raw.githubusercontent.com/WebKit/WebKit/main/metadata/contributors.json. If you do have committer permmissions, please ensure that your GitHub username is added to contributors.json. Rejecting 47baa08d8108be860347cf17f47c9ee8dd7b68bd from merge queue. |
https://bugs.webkit.org/show_bug.cgi?id=223860 Reviewed by Brady Eidson. * LayoutTests/gamepad/gamepad-event-handlers-expected.txt: Added. * LayoutTests/gamepad/gamepad-event-handlers.html: Added. * LayoutTests/gamepad/gamepad-polling-access-expected.txt: * LayoutTests/gamepad/gamepad-polling-access.html: * LayoutTests/gamepad/gamepad-visibility-1.html: * LayoutTests/platform/gtk/TestExpectations * Source/WebCore/CMakeLists.txt: * Source/WebCore/DerivedSources-input.xcfilelist: * Source/WebCore/DerivedSources-output.xcfilelist: * Source/WebCore/DerivedSources.make: * Source/WebCore/Modules/gamepad/WindowEventHandlers+Gamepad.idl: Added. * Source/WebCore/Sources.txt: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/html/HTMLAttributeNames.in: Canonical link: https://commits.webkit.org/252331@main
Committed 252331@main (57f8b6a): https://commits.webkit.org/252331@main Reviewed commits have been landed. Closing PR #1570 and removing active labels. |
57f8b6a