Log.ViolationSetting

Violation configuration setting.

{
  "id": "ViolationSetting",
  "type": "object",
  "description": "Violation configuration setting.",
  "properties": [
    {
      "name": "name",
      "type": "string",
      "enum": [
        "longTask",
        "longLayout",
        "blockedEvent",
        "blockedParser",
        "discouragedAPIUse",
        "handler",
        "recurringHandler"
      ],
      "description": "Violation type."
    },
    {
      "name": "threshold",
      "type": "number",
      "description": "Time threshold to trigger upon."
    }
  ]
}