OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 18 matching lines...) Expand all Loading... |
29 ] interface SecurityPolicyViolationEvent : Event { | 29 ] interface SecurityPolicyViolationEvent : Event { |
30 // TODO(philipj): The spec says "documentURL". | 30 // TODO(philipj): The spec says "documentURL". |
31 [Measure] readonly attribute DOMString documentURI; | 31 [Measure] readonly attribute DOMString documentURI; |
32 readonly attribute DOMString referrer; | 32 readonly attribute DOMString referrer; |
33 // TODO(philipj): The spec says "blockedURL". | 33 // TODO(philipj): The spec says "blockedURL". |
34 [Measure] readonly attribute DOMString blockedURI; | 34 [Measure] readonly attribute DOMString blockedURI; |
35 readonly attribute DOMString violatedDirective; | 35 readonly attribute DOMString violatedDirective; |
36 readonly attribute DOMString effectiveDirective; | 36 readonly attribute DOMString effectiveDirective; |
37 readonly attribute DOMString originalPolicy; | 37 readonly attribute DOMString originalPolicy; |
38 readonly attribute DOMString sourceFile; | 38 readonly attribute DOMString sourceFile; |
39 // FIXME: The spec says "statusCode" is a DOMString. | 39 [Measure] readonly attribute unsigned short statusCode; |
40 [Measure] readonly attribute long statusCode; | |
41 readonly attribute long lineNumber; | 40 readonly attribute long lineNumber; |
42 readonly attribute long columnNumber; | 41 readonly attribute long columnNumber; |
43 }; | 42 }; |
OLD | NEW |