setBreakOnCSPViolation method
Sets breakpoint on particular CSP violations.
violationTypes
CSP Violations to stop upon.
Implementation
Future<void> setBreakOnCSPViolation(
List<CSPViolationType> violationTypes) async {
await _client.send('DOMDebugger.setBreakOnCSPViolation', {
'violationTypes': [...violationTypes],
});
}