Search completed in 0.94 seconds.
SecurityPolicyViolationEvent.SecurityPolicyViolationEvent() - Web APIs
the
securitypolicyviolationevent constructor creates a new
securitypolicyviolationevent object instance.
... syntax let spvevt = new
securitypolicyviolationevent(type, eventinitdict); properties type a domstring representing the type of security policy violation that occurred.
... eventinitdict optional a dictionary object containing information about the properties of the
securitypolicyviolationevent to be constructed.
...And 15 more matches
SecurityPolicyViolationEvent - Web APIs
the
securitypolicyviolationevent interface inherits from event, and represents the event object of an event sent on a document or worker when its content security policy is violated.
... constructor
securitypolicyviolationevent() creates a new
securitypolicyviolationevent object instance.
... properties
securitypolicyviolationevent.blockeduriread only a usvstring representing the uri of the resource that was blocked because it violates a policy.
...And 13 more matches
SecurityPolicyViolationEvent.disposition - Web APIs
the disposition read-only property of the
securitypolicyviolationevent interface indicates how the violated policy is configured to be treated by the user agent.
... syntax let disposition = violationeventinstance.disposition; value a value defined in the
securitypolicyviolationeventdisposition enum representing the uri of the blocked resource.
... possible values are "enforce" or "report" example document.addeventlistener("
securitypolicyviolation", (e) => { console.log(e.disposition); }); specifications specification status comment content security policy level 3the definition of 'disposition' in that specification.
JSSecurityCallbacks.contentSecurityPolicyAllows
the jssecuritycallbacks.content
securitypolicyallows callback is called when a script attempts to access an object property.
...jssecuritycallbacks.content
securitypolicyallows is invoked once per global object upon the first attempt to evaluate js code from a string (either through eval or the function constructor).
SecurityPolicyViolationEvent.blockedURI - Web APIs
the blockeduri read-only property of the
securitypolicyviolationevent interface is a usvstring representing the uri of the resource that was blocked because it violates a policy.
... example document.addeventlistener("
securitypolicyviolation", (e) => { console.log(e.blockeduri); }); specifications specification status comment content security policy level 3the definition of 'blockeduri' in that specification.
SecurityPolicyViolationEvent.columnNumber - Web APIs
the columnnumber read-only property of the
securitypolicyviolationevent interface is the column number in the document or worker at which the violation occurred.
... example document.addeventlistener("
securitypolicyviolation", (e) => { console.log(e.columnnumber); }); specifications specification status comment content security policy level 3the definition of 'columnnumber' in that specification.
SecurityPolicyViolationEvent.documentURI - Web APIs
the documenturi read-only property of the
securitypolicyviolationevent interface is a usvstring representing the uri of the document or worker in which the violation was found.
... example document.addeventlistener("
securitypolicyviolation", (e) => { console.log(e.documenturi); }); specifications specification status comment content security policy level 3the definition of 'documenturi' in that specification.
SecurityPolicyViolationEvent.effectiveDirective - Web APIs
the effectivedirective read-only property of the
securitypolicyviolationevent interface is a domstring representing the directive whose enforcement uncovered the violation.
... example document.addeventlistener("
securitypolicyviolation", (e) => { console.log(e.effectivedirective); }); specifications specification status comment content security policy level 3the definition of 'effectivedirective' in that specification.
SecurityPolicyViolationEvent.lineNumber - Web APIs
the linenumber read-only property of the
securitypolicyviolationevent interface is the line number in the document or worker at which the violation occurred.
... example document.addeventlistener("
securitypolicyviolation", (e) => { console.log(e.linenumber); }); specifications specification status comment content security policy level 3the definition of 'linenumber' in that specification.
SecurityPolicyViolationEvent.originalPolicy - Web APIs
the originalpolicy read-only property of the
securitypolicyviolationevent interface is a domstring containing the policy whose enforcement uncovered the violation.
... example document.addeventlistener("
securitypolicyviolation", (e) => { console.log(e.originalpolicy); }); specifications specification status comment content security policy level 3the definition of 'originalpolicy' in that specification.
SecurityPolicyViolationEvent.referrer - Web APIs
the referrer read-only property of the
securitypolicyviolationevent interface is a usvstring representing the referrer of the resources whose policy was violated.
... example document.addeventlistener("
securitypolicyviolation", (e) => { console.log(e.referrer); }); specifications specification status comment content security policy level 3the definition of 'referrer' in that specification.
SecurityPolicyViolationEvent.sample - Web APIs
the sample read-only property of the
securitypolicyviolationevent interface is a domstring representing a sample of the resource that caused the violation.
... example document.addeventlistener("
securitypolicyviolation", (e) => { console.log(e.sample); }); specifications specification status comment content security policy level 3the definition of 'sample' in that specification.
SecurityPolicyViolationEvent.sourceFile - Web APIs
the sourcefile read-only property of the
securitypolicyviolationevent interface is a usvstring representing the uri of the document or worker in which the violation was found.
... example document.addeventlistener("
securitypolicyviolation", (e) => { console.log(e.sourcefile); }); specifications specification status comment content security policy level 3the definition of 'sourcefile' in that specification.
SecurityPolicyViolationEvent.statusCode - Web APIs
the statuscode read-only property of the
securitypolicyviolationevent interface is a number representing the http status code of the document or worker in which the violation occurred.
... example document.addeventlistener("
securitypolicyviolation", (e) => { console.log(e.statuscode); }); specifications specification status comment content security policy level 3the definition of 'statuscode' in that specification.
SecurityPolicyViolationEvent.violatedDirective - Web APIs
the violateddirective read-only property of the
securitypolicyviolationevent interface is a domstring representing the directive whose enforcement uncovered the violation.
... example document.addeventlistener("
securitypolicyviolation", (e) => { console.log(e.violateddirective); }); specifications specification status comment content security policy level 3the definition of 'violateddirective' in that specification.
nsIContentSecurityPolicy
content/base/public/nsicontent
securitypolicy.idlscriptable describes an xpcom component used to model and enforce content security policies.
Index - Web APIs
3882
securitypolicyviolationevent api, csp, experimental, http, interface, reference, security,
securitypolicyviolationevent the
securitypolicyviolationevent interface inherits from event, and represents the event object of an event sent on a document or worker when its content security policy is violated.
... 3883
securitypolicyviolationevent.
securitypolicyviolationevent() api, csp, constructor, experimental, http, reference, security,
securitypolicyviolationevent the
securitypolicyviolationevent constructor creates a new
securitypolicyviolationevent object instance.
... 3884
securitypolicyviolationevent.blockeduri api, csp, experimental, http, property, reference, security,
securitypolicyviolationevent the blockeduri read-only property of the
securitypolicyviolationevent interface is a usvstring representing the uri of the resource that was blocked because it violates a policy.
...And 11 more matches
JS_GetSecurityCallbacks
callback structure struct jssecuritycallbacks { jscspevalchecker content
securitypolicyallows; // added in spidermonkey 1.8.5 jssubsumesop subsumes; // added in spidermonkey 31 jscheckaccessop checkobjectaccess; // obsolete since jsapi 29 jsprincipalstranscoder principalstranscoder; // obsolete since jsapi 13 jsobjectprincipalsfinder findobjectprincipals; // obsolete since jsapi 13 }; name type description ...
... content
securitypolicyallows jscspevalchecker a pointer to the function which checks if a csp instance wants to disable eval() and friends.
nsIPrincipal
obsolete since gecko 1.8 csp nsicontent
securitypolicy a content security policy associated with this principal.
...
securitypolicy voidptr the domain security policy of the principal.
Index
153 jssecuritycallbacks.content
securitypolicyallows the jssecuritycallbacks.content
securitypolicyallows callback is called when a script attempts to access an object property.
Index
(see nsicontentpref below.) 439 nsicontent
securitypolicy interfaces, interfaces:scriptable, needscontent, xpcom, xpcom interface reference verifies ancestry as permitted by the policy.
nsIChannelPolicy
attributes attribute type description content
securitypolicy nsisupports a nsicontent
securitypolicy object to determine if the load should be allowed.
XPCOM Interface Reference
oardhelpernsiclipboardownernsicollectionnsicommandcontrollernsicommandlinensicommandlinehandlernsicommandlinerunnernsicomponentmanagernsicomponentregistrarnsicompositionstringsynthesizernsiconsolelistenernsiconsolemessagensiconsoleservicensicontainerboxobjectnsicontentframemessagemanagernsicontentprefnsicontentprefcallback2nsicontentprefobservernsicontentprefservicensicontentprefservice2nsicontent
securitypolicynsicontentsniffernsicontentviewnsicontentviewmanagernsicontentviewernsicontrollernsicontrollersnsiconverterinputstreamnsiconverteroutputstreamnsicookiensicookie2nsicookieacceptdialognsicookieconsentnsicookiemanagernsicookiemanager2nsicookiepermissionnsicookiepromptservicensicookieservicensicookiestoragensicrashreporternsicryptohmacnsicryptohashnsicurrentcharsetlistenernsicyclecollectorlistenernsid...
Web APIs
gstylable svgstyleelement svgswitchelement svgsymbolelement svgtrefelement svgtspanelement svgtests svgtextcontentelement svgtextelement svgtextpathelement svgtextpositioningelement svgtitleelement svgtransform svgtransformlist svgtransformable svgurireference svgunittypes svguseelement svgvkernelement svgviewelement svgzoomandpan screen screenorientation scriptprocessornode scrolltooptions
securitypolicyviolationevent selection sensor sensorerrorevent serviceworker serviceworkercontainer serviceworkerglobalscope serviceworkermessageevent serviceworkerregistration serviceworkerstate shadowroot sharedworker sharedworkerglobalscope slottable sourcebuffer sourcebufferlist speechgrammar speechgrammarlist speechrecognition speechrecognitionalternative speechrecognitionerror speech...