Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Log.ViolationSetting
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { ViolationSetting } = default.Log;

Violation configuration setting.

Properties

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

Violation type. (ViolationSettingName enum)

threshold: number

Time threshold to trigger upon.