Skip to main content
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.js";
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.