blob: 77d3db3f8475b7362b42d4872a228aa9f899a028 [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.
// http://w3c.github.io/webappsec/specs/content-security-policy/#securitypolicyviolationevent-interface
dictionary SecurityPolicyViolationEventInit : EventInit {
// TODO(philipj): The spec says "documentURL".
DOMString documentURI;
DOMString referrer;
// TODO(philipj): The spec says "blockedURL".
DOMString blockedURI;
DOMString violatedDirective;
DOMString effectiveDirective;
DOMString originalPolicy;
DOMString sourceFile;
unsigned short statusCode;
long lineNumber;
long columnNumber;
};