blob: 47d2cab05096979ea1eeba1f1b5f31321ebe6653 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://w3c.github.io/webappsec-csp/#idl-index
dictionary SecurityPolicyViolationEventInit : EventInit {
// TODO(foolip): The spec says "documentURL".
required DOMString documentURI;
DOMString referrer;
// TODO(foolip): The spec says "blockedURL".
DOMString blockedURI;
required DOMString violatedDirective;
required DOMString effectiveDirective;
required DOMString originalPolicy;
required SecurityPolicyViolationEventDisposition disposition;
DOMString sourceFile;
required unsigned short statusCode;
long lineNumber;
long columnNumber;
DOMString sample;
};