| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 17 matching lines...) Expand all Loading... |
| 28 Conditional=CSP_NEXT, | 28 Conditional=CSP_NEXT, |
| 29 OmitConstructor, | 29 OmitConstructor, |
| 30 InterfaceName=SecurityPolicy | 30 InterfaceName=SecurityPolicy |
| 31 ] DOMSecurityPolicy { | 31 ] DOMSecurityPolicy { |
| 32 readonly attribute DOMStringList reportURIs; | 32 readonly attribute DOMStringList reportURIs; |
| 33 | 33 |
| 34 boolean isActive(); | 34 boolean isActive(); |
| 35 | 35 |
| 36 boolean allowsConnectionTo(in DOMString url); | 36 boolean allowsConnectionTo(in DOMString url); |
| 37 boolean allowsFontFrom(in DOMString url); | 37 boolean allowsFontFrom(in DOMString url); |
| 38 boolean allowsFormAction(in DOMString url); |
| 38 boolean allowsFrameFrom(in DOMString url); | 39 boolean allowsFrameFrom(in DOMString url); |
| 39 boolean allowsImageFrom(in DOMString url); | 40 boolean allowsImageFrom(in DOMString url); |
| 40 boolean allowsMediaFrom(in DOMString url); | 41 boolean allowsMediaFrom(in DOMString url); |
| 41 boolean allowsObjectFrom(in DOMString url); | 42 boolean allowsObjectFrom(in DOMString url); |
| 43 boolean allowsPluginType(in DOMString type); |
| 42 boolean allowsScriptFrom(in DOMString url); | 44 boolean allowsScriptFrom(in DOMString url); |
| 43 boolean allowsStyleFrom(in DOMString url); | 45 boolean allowsStyleFrom(in DOMString url); |
| 44 | 46 |
| 45 boolean allowsEval(); | 47 boolean allowsEval(); |
| 46 boolean allowsInlineScript(); | 48 boolean allowsInlineScript(); |
| 47 boolean allowsInlineStyle(); | 49 boolean allowsInlineStyle(); |
| 48 }; | 50 }; |
| 49 | 51 |
| 50 } | 52 } |
| 51 | 53 |
| OLD | NEW |