Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/interfaces/security/nsIContentSecurityPolicy.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIContentSecurityPolicy",
base: Some("nsISerializable"),
sync: false,
methods: Err("nostdcall is unsupported"),
},
Interface {
name: "nsICSPEventListener",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void onCSPViolationEvent (in AString aJSON); */
Method {
name: "OnCSPViolationEvent",
params: &[Param { name: "aJSON", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}