DOMDebuggerClientSetBreakOnCSPViolationAsync Method |
Version 130.1.90
Sets breakpoint on particular CSP violations.
Namespace: CefSharp.DevTools.DOMDebuggerAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> SetBreakOnCSPViolationAsync(
CSPViolationType[] violationTypes
)
public:
Task<DevToolsMethodResponse^>^ SetBreakOnCSPViolationAsync(
array<CSPViolationType>^ violationTypes
)
Parameters
- violationTypes CSPViolationType
- CSP Violations to stop upon.
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also