diff --git a/src/wkwebkit.cs b/src/wkwebkit.cs index 71c1ba2cac..82b95b1245 100644 --- a/src/wkwebkit.cs +++ b/src/wkwebkit.cs @@ -244,6 +244,10 @@ namespace WebKit [Export ("javaScriptCanOpenWindowsAutomatically")] bool JavaScriptCanOpenWindowsAutomatically { get; set; } + [Mac (10,14,4, onlyOn64: true), iOS (12,2)] + [Export ("safeBrowsingEnabled")] + bool SafeBrowsingEnabled { [Bind ("isSafeBrowsingEnabled")] get; set; } + #if MONOMAC [Export ("javaEnabled")] diff --git a/tests/introspection/ApiAvailabilityTest.cs b/tests/introspection/ApiAvailabilityTest.cs index 60d26f79cc..1c88eaa683 100644 --- a/tests/introspection/ApiAvailabilityTest.cs +++ b/tests/introspection/ApiAvailabilityTest.cs @@ -56,7 +56,7 @@ namespace Introspection { Minimum = new Version (10,7); // Need to special case macOS 'Maximum' version for OS minor subversions (can't change Constants.SdkVersion) // Please comment the code below if needed - Maximum = new Version (10,14,1); + Maximum = new Version (10,14,4); Filter = (AvailabilityBaseAttribute arg) => { return (arg.AvailabilityKind != AvailabilityKind.Introduced) || (arg.Platform != PlatformName.MacOSX); }; diff --git a/tests/xtro-sharpie/iOS-WebKit.todo b/tests/xtro-sharpie/iOS-WebKit.todo index 7d101dcfa9..e69de29bb2 100644 --- a/tests/xtro-sharpie/iOS-WebKit.todo +++ b/tests/xtro-sharpie/iOS-WebKit.todo @@ -1,2 +0,0 @@ -!missing-selector! WKPreferences::isSafeBrowsingEnabled not bound -!missing-selector! WKPreferences::setSafeBrowsingEnabled: not bound diff --git a/tests/xtro-sharpie/macOS-WebKit.todo b/tests/xtro-sharpie/macOS-WebKit.todo index 7d101dcfa9..e69de29bb2 100644 --- a/tests/xtro-sharpie/macOS-WebKit.todo +++ b/tests/xtro-sharpie/macOS-WebKit.todo @@ -1,2 +0,0 @@ -!missing-selector! WKPreferences::isSafeBrowsingEnabled not bound -!missing-selector! WKPreferences::setSafeBrowsingEnabled: not bound