File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,15 @@ static CefSharpSettings()
2525 }
2626
2727 /// <summary>
28- /// Objects registered using RegisterJsObject and RegisterAsyncJsObject
28+ /// Objects registered using <see cref="IJavascriptObjectRepository.Register"/>
2929 /// will be automatically bound when a V8Context is created. (Soon as the Javascript
3030 /// context is created for a browser). This behaviour is like that seen with Javascript
3131 /// Binding in version 57 and earlier.
32- /// NOTE: Set this before your first call to RegisterJsObject or RegisterAsyncJsObject
32+ /// NOTE: MUST be set before creating your first ChromiumWebBrowser instance.
3333 /// </summary>
34+ [ Obsolete ( "Use chromiumWebBrowser.JavascriptObjectRepository.Settings.LegacyBindingEnabled = true; instead." +
35+ "Must be called before creating your first ChromiumWebBrowser instance." +
36+ "See https://github.com/cefsharp/CefSharp/issues/2977 for details." ) ]
3437 public static bool LegacyJavascriptBindingEnabled { get ; set ; }
3538
3639#if ! NETCOREAPP
You can’t perform that action at this time.
0 commit comments