From 7722132acb5ea73516669c8c0edc4d519e53053e Mon Sep 17 00:00:00 2001 From: Israel Soto Date: Thu, 25 Aug 2022 13:21:42 -0500 Subject: [PATCH] [WebKit] Apple fixed issue #15593 (#15717) --- src/wkwebkit.cs | 6 +++--- .../api-annotations-dotnet/common-WebKit.ignore | 4 ---- tests/xtro-sharpie/common-WebKit.ignore | 4 ---- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/wkwebkit.cs b/src/wkwebkit.cs index ce46bfca1d..bc09a636a4 100644 --- a/src/wkwebkit.cs +++ b/src/wkwebkit.cs @@ -1279,9 +1279,9 @@ namespace WebKit [Export ("allowsContentJavaScript")] bool AllowsContentJavaScript { get; set; } - // [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] - // [Export ("lockdownModeEnabled")] - // bool LockdownModeEnabled { [Bind ("isLockdownModeEnabled")] get; set; } + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [Export ("lockdownModeEnabled")] + bool LockdownModeEnabled { [Bind ("isLockdownModeEnabled")] get; set; } } [NoMac] diff --git a/tests/xtro-sharpie/api-annotations-dotnet/common-WebKit.ignore b/tests/xtro-sharpie/api-annotations-dotnet/common-WebKit.ignore index faf169a64a..a49e3af0ef 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/common-WebKit.ignore +++ b/tests/xtro-sharpie/api-annotations-dotnet/common-WebKit.ignore @@ -2,7 +2,3 @@ !missing-selector! WKWebView::findInteraction not bound !missing-selector! WKWebView::isFindInteractionEnabled not bound !missing-selector! WKWebView::setFindInteractionEnabled: not bound - -## https://github.com/xamarin/xamarin-macios/issues/15593 -!missing-selector! WKWebpagePreferences::isLockdownModeEnabled not bound -!missing-selector! WKWebpagePreferences::setLockdownModeEnabled: not bound \ No newline at end of file diff --git a/tests/xtro-sharpie/common-WebKit.ignore b/tests/xtro-sharpie/common-WebKit.ignore index faf169a64a..a49e3af0ef 100644 --- a/tests/xtro-sharpie/common-WebKit.ignore +++ b/tests/xtro-sharpie/common-WebKit.ignore @@ -2,7 +2,3 @@ !missing-selector! WKWebView::findInteraction not bound !missing-selector! WKWebView::isFindInteractionEnabled not bound !missing-selector! WKWebView::setFindInteractionEnabled: not bound - -## https://github.com/xamarin/xamarin-macios/issues/15593 -!missing-selector! WKWebpagePreferences::isLockdownModeEnabled not bound -!missing-selector! WKWebpagePreferences::setLockdownModeEnabled: not bound \ No newline at end of file