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()
25
25
}
26
26
27
27
/// <summary>
28
- /// Objects registered using RegisterJsObject and RegisterAsyncJsObject
28
+ /// Objects registered using <see cref="IJavascriptObjectRepository.Register"/>
29
29
/// will be automatically bound when a V8Context is created. (Soon as the Javascript
30
30
/// context is created for a browser). This behaviour is like that seen with Javascript
31
31
/// 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.
33
33
/// </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." ) ]
34
37
public static bool LegacyJavascriptBindingEnabled { get ; set ; }
35
38
36
39
#if ! NETCOREAPP
You can’t perform that action at this time.
0 commit comments