diff --git a/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.cpp b/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.cpp
index 13daecbcfb..e682aea08b 100644
--- a/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.cpp
+++ b/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.cpp
@@ -152,17 +152,6 @@ void Frame::LoadUrl(String^ url)
_frame->LoadURL(StringUtils::ToNative(url));
}
-///
-// Load the contents of |html| with the specified dummy |url|. |url|
-// should have a standard scheme (for example, http scheme) or behaviors like
-// link clicks and web security restrictions may not behave as expected.
-///
-/*--cef()--*/
-void Frame::LoadStringForUrl(String^ html, String^ url)
-{
- _frame->LoadString(StringUtils::ToNative(html), StringUtils::ToNative(url));
-}
-
///
// Execute a string of JavaScript code in this frame. The |script_url|
// parameter is the URL where the script in question can be found, if any.
diff --git a/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.h b/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.h
index ff852d6352..cd74f2c41f 100644
--- a/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.h
+++ b/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.h
@@ -154,14 +154,6 @@ namespace CefSharp
/*--cef()--*/
virtual void LoadUrl(String^ url);
- ///
- // Load the contents of |html| with the specified dummy |url|. |url|
- // should have a standard scheme (for example, http scheme) or behaviors like
- // link clicks and web security restrictions may not behave as expected.
- ///
- /*--cef()--*/
- virtual void LoadStringForUrl(String^ html, String^ url);
-
///
// Execute a string of JavaScript code in this frame. The |script_url|
// parameter is the URL where the script in question can be found, if any.
@@ -241,7 +233,7 @@ namespace CefSharp
{
IBrowser^ get();
}
-
+
virtual IRequest^ CreateRequest(bool initializePostData);
virtual IUrlRequest^ CreateUrlRequest(IRequest^ request, IUrlRequestClient^ client);
diff --git a/CefSharp.Core/AbstractCefSettings.h b/CefSharp.Core/AbstractCefSettings.h
index aa069e0245..79c03a7652 100644
--- a/CefSharp.Core/AbstractCefSettings.h
+++ b/CefSharp.Core/AbstractCefSettings.h
@@ -96,18 +96,6 @@ namespace CefSharp
void set(bool value) { _cefSettings->command_line_args_disabled = value; }
}
- ///
- /// Set to true to enable date-based expiration of built in network security information (i.e. certificate transparency logs,
- /// HSTS preloading and pinning information). Enabling this option improves network security but may cause HTTPS load failures when
- /// using CEF binaries built more than 10 weeks in the past. See https://www.certificate-transparency.org/ and
- /// https://www.chromium.org/hsts for details. Can be set globally using the CefSettings.EnableNetSecurityExpiration value.
- ///
- property bool EnableNetSecurityExpiration
- {
- bool get() { return _cefSettings->enable_net_security_expiration == 1; }
- void set(bool value) { _cefSettings->enable_net_security_expiration = value; }
- }
-
///
/// Set to true to control browser process main (UI) thread message pump
/// scheduling via the IBrowserProcessHandler.OnScheduleMessagePumpWork
diff --git a/CefSharp.Core/Internals/CefFrameWrapper.cpp b/CefSharp.Core/Internals/CefFrameWrapper.cpp
index 04c621aaad..1a7e79a681 100644
--- a/CefSharp.Core/Internals/CefFrameWrapper.cpp
+++ b/CefSharp.Core/Internals/CefFrameWrapper.cpp
@@ -209,20 +209,6 @@ void CefFrameWrapper::LoadUrl(String^ url)
_frame->LoadURL(StringUtils::ToNative(url));
}
-///
-// Load the contents of |html| with the specified dummy |url|. |url|
-// should have a standard scheme (for example, http scheme) or behaviors like
-// link clicks and web security restrictions may not behave as expected.
-///
-/*--cef()--*/
-void CefFrameWrapper::LoadStringForUrl(String^ html, String^ url)
-{
- ThrowIfDisposed();
- ThrowIfFrameInvalid();
-
- _frame->LoadString(StringUtils::ToNative(html), StringUtils::ToNative(url));
-}
-
///
// Execute a string of JavaScript code in this frame. The |script_url|
// parameter is the URL where the script in question can be found, if any.
diff --git a/CefSharp.Core/Internals/CefFrameWrapper.h b/CefSharp.Core/Internals/CefFrameWrapper.h
index 90f2cc0bd5..01c0903a82 100644
--- a/CefSharp.Core/Internals/CefFrameWrapper.h
+++ b/CefSharp.Core/Internals/CefFrameWrapper.h
@@ -155,14 +155,6 @@ namespace CefSharp
/*--cef()--*/
virtual void LoadUrl(String^ url);
- ///
- // Load the contents of |html| with the specified dummy |url|. |url|
- // should have a standard scheme (for example, http scheme) or behaviors like
- // link clicks and web security restrictions may not behave as expected.
- ///
- /*--cef()--*/
- virtual void LoadStringForUrl(String^ html, String^ url);
-
///
// Execute a string of JavaScript code in this frame. The |script_url|
// parameter is the URL where the script in question can be found, if any.
diff --git a/CefSharp.Core/RequestContextSettings.h b/CefSharp.Core/RequestContextSettings.h
index 81f8041d2d..87e9039390 100644
--- a/CefSharp.Core/RequestContextSettings.h
+++ b/CefSharp.Core/RequestContextSettings.h
@@ -97,18 +97,6 @@ namespace CefSharp
void set(String^ value) { StringUtils::AssignNativeFromClr(_settings->accept_language_list, value); }
}
- ///
- /// Set to true to enable date-based expiration of built in network security information (i.e. certificate transparency logs,
- /// HSTS preloading and pinning information). Enabling this option improves network security but may cause HTTPS load failures when
- /// using CEF binaries built more than 10 weeks in the past. See https://www.certificate-transparency.org/ and
- /// https://www.chromium.org/hsts for details. Can be set globally using the CefSettings.EnableNetSecurityExpiration value.
- ///
- property bool EnableNetSecurityExpiration
- {
- bool get() { return _settings->enable_net_security_expiration == 1; }
- void set(bool value) { _settings->enable_net_security_expiration = value; }
- }
-
///
/// Set to true to ignore errors related to invalid SSL certificates.
/// Enabling this setting can lead to potential security vulnerabilities like
diff --git a/CefSharp/IFrame.cs b/CefSharp/IFrame.cs
index 0cfe913225..0ddd852a47 100644
--- a/CefSharp/IFrame.cs
+++ b/CefSharp/IFrame.cs
@@ -107,14 +107,6 @@ public interface IFrame : IDisposable
/// url to be loaded in the frame
void LoadUrl(string url);
- ///
- /// Load the contents of html with the specified dummy url.
- ///
- /// html to be loaded
- /// should have a standard scheme (for example, http scheme) or behaviors like
- /// link clicks and web security restrictions may not behave as expected.
- void LoadStringForUrl(string html, string url);
-
///
/// Execute a string of JavaScript code in this frame.
///
diff --git a/CefSharp/WebBrowserExtensions.cs b/CefSharp/WebBrowserExtensions.cs
index 0c1400c792..8675423c83 100644
--- a/CefSharp/WebBrowserExtensions.cs
+++ b/CefSharp/WebBrowserExtensions.cs
@@ -381,22 +381,6 @@ public static void LoadUrlWithPostData(this IWebBrowser browser, string url, byt
}
}
- ///
- /// Load the string contents with the specified dummy url. Web security restrictions may not behave as expected.
- ///
- /// The ChromiumWebBrowser instance this method extends
- /// html string to load
- /// the url should have a standard scheme (for example, http scheme) or behaviors like link clicks
- public static void LoadString(this IWebBrowser browser, string html, string url)
- {
- using (var frame = browser.GetMainFrame())
- {
- ThrowExceptionIfFrameNull(frame);
-
- frame.LoadStringForUrl(html, url);
- }
- }
-
///
/// Registers and loads a that represents the HTML content.
///