From b92cdfd9589530dcd2939d86f413ce75d84f0e66 Mon Sep 17 00:00:00 2001 From: amaitland Date: Thu, 25 Jun 2015 11:15:57 +1000 Subject: [PATCH] Add additional comment and revise CefExample comment --- CefSharp.Core/CefSettings.h | 5 +++++ CefSharp.Example/CefExample.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CefSharp.Core/CefSettings.h b/CefSharp.Core/CefSettings.h index 988d204d6..8b6471ad1 100644 --- a/CefSharp.Core/CefSettings.h +++ b/CefSharp.Core/CefSettings.h @@ -36,6 +36,11 @@ namespace CefSharp !CefSettings() { delete _cefSettings; } ~CefSettings() { delete _cefSettings; } + /// + /// WCF is used by JavascriptBinding and EvaluateScriptAsync. + /// Disabling effectively disables both of these features. + /// Defaults to true + /// virtual property bool WcfEnabled; virtual property IEnumerable^ CefCustomSchemes diff --git a/CefSharp.Example/CefExample.cs b/CefSharp.Example/CefExample.cs index 649bb06c7..6a8c7fc96 100644 --- a/CefSharp.Example/CefExample.cs +++ b/CefSharp.Example/CefExample.cs @@ -28,7 +28,7 @@ namespace CefSharp.Example var settings = new CefSettings(); settings.RemoteDebuggingPort = 8088; - //This will disable wcf which also means turning off js bindings and script eval + //This will disable WCF (Effectively disabling JavascriptBinding and EvaluateScriptAsync) //settings.WcfEnabled = false; //The location where cache data will be stored on disk. If empty an in-memory cache will be used for some features and a temporary disk cache for others. //HTML5 databases such as localStorage will only persist across sessions if a cache path is specified.