This tests the effect of a valid style-hash value, with one valid style and several invalid ones. It passes if the valid style is applied and a CSP violation is generated.
Harness status: OK
Found 1 tests
Result | Test Name | Message | ||||
---|---|---|---|---|---|---|
Pass | Expecting alerts: ["PASS: The 'p' element's text is green, which means the style was correctly applied.", "violated-directive=style-src-elem"] | Asserts run
|