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