RESOLVED FIXED224847
Long-pressing a data detectors link causes the link to be followed
https://bugs.webkit.org/show_bug.cgi?id=224847
Summary Long-pressing a data detectors link causes the link to be followed
Tim Horton
Reported 2021-04-20 18:36:09 PDT
Long-pressing a data detectors link causes the link to be followed
Attachments
Patch (21.33 KB, patch)
2021-04-20 18:39 PDT, Tim Horton
ews-feeder: commit-queue-
Patch (22.51 KB, patch)
2021-04-20 19:26 PDT, Tim Horton
no flags
Patch (24.79 KB, patch)
2021-04-20 23:50 PDT, Tim Horton
no flags
Tim Horton
Comment 1 2021-04-20 18:39:37 PDT
Tim Horton
Comment 2 2021-04-20 18:40:02 PDT
Tim Horton
Comment 3 2021-04-20 19:26:43 PDT
Wenson Hsieh
Comment 4 2021-04-20 19:32:58 PDT
Comment on attachment 426633 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=426633&action=review r=mews > Source/WebKit/Shared/NativeWebMouseEvent.h:73 > + NativeWebMouseEvent(Type, Button, unsigned short buttons, const WebCore::IntPoint& position, const WebCore::IntPoint& globalPosition, float deltaX, float deltaY, float deltaZ, int clickCount, OptionSet<Modifier>, WallTime timestamp, double force, bool gestureCancelled); Should `gestureCancelled` be an enum class type instead of a bool? > Tools/TestWebKitAPI/Tests/WebKitCocoa/iOSMouseSupport.mm:251 > + RetainPtr<WKTestingTouch> touch = adoptNS([[WKTestingTouch alloc] init]); Nit - auto? > Tools/TestWebKitAPI/Tests/WebKitCocoa/iOSMouseSupport.mm:255 > + RetainPtr<WKTestingEvent> event = adoptNS([[WKTestingEvent alloc] init]); (Ditto) > Tools/TestWebKitAPI/Tests/WebKitCocoa/iOSMouseSupport.mm:268 > + [webView _doAfterProcessingAllPendingMouseEvents:^{ Nit - this could be made slightly cleaner by using `[webView waitForPendingMouseEvents];` > Tools/TestWebKitAPI/Tests/WebKitCocoa/iOSMouseSupport.mm:291 > + RetainPtr<WKTestingTouch> touch = adoptNS([[WKTestingTouch alloc] init]); (Ditto) > Tools/TestWebKitAPI/Tests/WebKitCocoa/iOSMouseSupport.mm:295 > + RetainPtr<WKTestingEvent> event = adoptNS([[WKTestingEvent alloc] init]); (Ditto) > Tools/TestWebKitAPI/Tests/WebKitCocoa/iOSMouseSupport.mm:308 > + [webView _doAfterProcessingAllPendingMouseEvents:^{ (Ditto)
Tim Horton
Comment 5 2021-04-20 23:50:01 PDT
EWS
Comment 6 2021-04-21 00:38:29 PDT
Committed r276351 (236829@main): <https://commits.webkit.org/236829@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 426652 [details].
Note You need to log in before you can comment on or make changes to this bug.