Bug 309837
| Summary: | REGRESSION(303293@main): Broke watchOS debug build ('UIContextMenuInteractionDelegate' is unavailable) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Abrar Rahman Protyasha <a_protyasha> |
| Component: | New Bugs | Assignee: | Abrar Rahman Protyasha <a_protyasha> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | a_protyasha, jer.noble, phinehas133, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Abrar Rahman Protyasha
This is the error dump:
```
/Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:66:48: error: 'UIContextMenuInteractionDelegate' is unavailable: not available on watchOS
66 | @interface TestContextMenuDelegate : NSObject <UIContextMenuInteractionDelegate>
In file included from /Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:26:
In file included from /Tools/TestWebKitAPI/config.h:72:
In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WebKit.h:41:
In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WKFrameInfo.h:30:
In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WKWebView.h:29:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h:29:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:635:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIAccessibility.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIAccessibilityAdditions.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIScrollView.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIRefreshControl.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIControl.h:11:
/Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIContextMenuInteraction.h:98:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
98 | @protocol UIContextMenuInteractionDelegate <NSObject>
/Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:70:4: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
70 | - (UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location {
In file included from /Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:26:
In file included from /Tools/TestWebKitAPI/config.h:72:
In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WebKit.h:41:
In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WKFrameInfo.h:30:
In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WKWebView.h:29:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h:29:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:635:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIAccessibility.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIAccessibilityAdditions.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIScrollView.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIRefreshControl.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIControl.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIContextMenuInteraction.h:12:
/Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIContextMenuConfiguration.h:38:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
38 | @interface UIContextMenuConfiguration : NSObject
/Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:70:57: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
70 | - (UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location {
In file included from /Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:26:
In file included from /Tools/TestWebKitAPI/config.h:72:
In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WebKit.h:41:
In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WKFrameInfo.h:30:
In file included from /Build/Debug-watchsimulator/WebKit.framework/Headers/WKWebView.h:29:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h:29:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:635:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIAccessibility.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIAccessibilityAdditions.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIScrollView.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIRefreshControl.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIControl.h:11:
/Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator26.0.Internal.sdk/System/Library/PrivateFrameworks/UIKitCore.framework/Headers/UIContextMenuInteraction.h:31:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
31 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
3 errors generated.
```
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/172417044>
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/60510
EWS
Committed 309185@main (e03b1b975a22): <https://commits.webkit.org/309185@main>
Reviewed commits have been landed. Closing PR #60510 and removing active labels.