853 B
853 B
Home > puppeteer > Protocol > Log > ViolationSetting
Protocol.Log.ViolationSetting interface
Violation configuration setting.
Signature:
export interface ViolationSetting
Properties
Property | Type | Description |
---|---|---|
name | ('longTask' | 'longLayout' | 'blockedEvent' | 'blockedParser' | 'discouragedAPIUse' | 'handler' | 'recurringHandler') | Violation type. |
threshold | number | Time threshold to trigger upon. |