OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // http://w3c.github.io/webappsec/specs/content-security-policy/#securitypolicyv
iolationevent-interface |
| 6 |
| 7 dictionary SecurityPolicyViolationEventInit : EventInit { |
| 8 // TODO(philipj): The spec says "documentURL". |
| 9 DOMString documentURI; |
| 10 DOMString referrer; |
| 11 // TODO(philipj): The spec says "blockedURL". |
| 12 DOMString blockedURI; |
| 13 DOMString violatedDirective; |
| 14 DOMString effectiveDirective; |
| 15 DOMString originalPolicy; |
| 16 DOMString sourceFile; |
| 17 // FIXME: The spec says "statusCode" is a DOMString. |
| 18 long statusCode; |
| 19 long lineNumber; |
| 20 long columnNumber; |
| 21 }; |
OLD | NEW |