Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Log.ViolationSetting
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { ViolationSetting } = Protocol.Log;

Violation configuration setting.

Properties

name:
| "longTask"
| "longLayout"
| "blockedEvent"
| "blockedParser"
| "discouragedAPIUse"
| "handler"
| "recurringHandler"

Violation type. (ViolationSettingName enum)

threshold: number

Time threshold to trigger upon.