-
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.
_WKHitTestResult should expose a hasLocalDataForLinkURL property
https://bugs.webkit.org/show_bug.cgi?id=267643 rdar://120443960 Reviewed by Aditya Keerthi. Add hasLocalDataForLinkURL to WebHitTestResultData and expose it via a property on _WKHitTestResult. * Source/WebKit/Shared/API/Cocoa/_WKHitTestResult.h: Added hasLocalDataForLinkURL. * Source/WebKit/Shared/API/Cocoa/_WKHitTestResult.mm: (-[_WKHitTestResult hasLocalDataForLinkURL]): Added. * Source/WebKit/Shared/WebHitTestResultData.cpp: (WebKit::WebHitTestResultData::WebHitTestResultData): Initialize hasLocalDataForLinkURL. * Source/WebKit/Shared/WebHitTestResultData.h: Added hasLocalDataForLinkURL. * Source/WebKit/Shared/WebHitTestResultData.serialization.in: Added hasLocalDataForLinkURL. * Source/WebKit/UIProcess/API/APIHitTestResult.h: (API::HitTestResult::hasLocalDataForLinkURL const): Added. * Tools/TestWebKitAPI/Tests/mac/ContextMenuTests.mm: (TestWebKitAPI::TEST): Added HitTestResultHasLocalDataForLinkURL, loads an image inside a link to itself and verifies that hasLocalDataForLinkURL is true. Canonical link: https://commits.webkit.org/273166@main
- Loading branch information
1 parent
f31c5c1
commit d370d11
Showing
7 changed files
with
37 additions
and
3 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