| Summary: | Click event not dispatched on iPad on a specific domain | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Gianluca Frediani <gianluca.frediani> | ||||||
| Component: | UI Events | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED CONFIGURATION CHANGED | ||||||||
| Severity: | Normal | CC: | ahmad.saleem792, akeerthi, karlcow, richard_robinson2, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Safari 16 | ||||||||
| Hardware: | iPhone / iPad | ||||||||
| OS: | Unspecified | ||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=259332 | ||||||||
| Bug Depends on: | 259332 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Gianluca Frediani
2023-07-17 06:18:50 PDT
@Karl - it could be quirk stuff, so CCing you. Thanks Ahmad. Gianluca Frediani, So to test if shouldDispatchSimulatedMouseEvents is the source of the issue, these are the steps to test. 1. Connect an iPad to a Mac computer 2. Open Safari Technology Preview (173) (with Developer Settings activated) 3. Open Safari on the iPad 4. On Safari Technology Preview, in Develop Menu, You should see the iPad device and if you hover the icon you will see the list of tabs in Safari on the device. 5. Select the one for the nba website. 6. A Web Inspector window will open for the nba site. 7. on the top left of this web inspector window, there is a cross-hair icon, and just beside a slightly square icon which looks like a device. Click on it. 8. It will display a drop down menu with one of the items being: "Disable Site-Specific Hacks". check the box. This will disable the Quirks, including shouldDispatchSimulatedMouseEvents. Re-test what you were doing, does it work this time without the Quirk? If yes, we have the source of the issue. If not, this is something else to investigate. I opened a new bug for it on webkit we already have a radar to remove it rdar://107636342 I was planning to remove the Quirk in the next couple of weeks. Our latest tests showed us that it seems not necessary anymore. The WebKit bug to remove it is Bug 259332 This Quirk was initially added because of rdar://58804360 or Bug 209829 (I will be on holiday for most part of July, but I can double check again at the beginning of August) Created attachment 467072 [details]
Screen recording with hacks disabled
Screen recording showing that the issue is solved by disabling site-specific hacks
Hi Karl, I tested it again in the simulator following your suggestions, and it seems that disabling site-specific hacks is solving the issue, I attached a screen recording that shows that In the process of a fix. https://github.com/WebKit/WebKit/pull/16472 The fix has been merged to the trunk. It will be available in a future release. |