Verify that Trusted Types policy violation issue is generated. | |
Inspector issue: { | |
issue : { | |
code : ContentSecurityPolicyIssue | |
details : { | |
contentSecurityPolicyIssueDetails : { | |
contentSecurityPolicyViolationType : kTrustedTypesPolicyViolation | |
isReportOnly : false | |
sourceCodeLocation : { | |
columnNumber : 36 | |
lineNumber : 4 | |
scriptId : <string> | |
url : https://devtools.test:8443/inspector-protocol/resources/content-security-policy-issue-trusted-types-policy.php | |
} | |
violatedDirective : trusted-types | |
} | |
} | |
} | |
} | |