DOM

settings_applicationsEventTarget  >   settings_applicationsNode  >   settings_applicationsElement

DOM

Editing
  • bug_report

Eventsecuritypolicyviolation

insert_drive_fileSecurityPolicyViolationEventinterfaceopen_in_new
SecurityPolicyViolationEvent interface는 Element에서 securitypolicyviolation 이벤트 타입으로 구현된다.

Element의 securitypolicyviolation는 SecurityPolicyViolationEvent interface의 이벤트 타입이고 이벤트 리스너에서 사용된다.

기본 개요

정책과 버블(bubble)을 위반하는 요소에서 발생한다.

설명

일반적으로 Window, Document에서 처리한다.

구문

형식
window.addEventListener("securitypolicyviolation", function() { });

명세

typesecuritypolicyviolation
bubblesyes
cancelableno
targetElement
handleronsecuritypolicyviolation

버전 명세

Content Security Policy Level 3
#handler-onsecuritypolicyviolation

지원 웹브라우저