SecurityPolicyViolationEvent: sourceFile property
注意:此功能在 Web Workers 中可用。
sourceFile 是 SecurityPolicyViolationEvent 接口的一个只读属性,它是一个字符串,表示发生 内容安全策略 (CSP) 违规的脚本的 URL。
注意:此功能在 Web Workers 中可用。
sourceFile 是 SecurityPolicyViolationEvent 接口的一个只读属性,它是一个字符串,表示发生 内容安全策略 (CSP) 违规的脚本的 URL。