This text should be green.

This text should also be green.

Style correctly allowed via a 'nonce-*' expression in 'style-src' should be applied to the page.

Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassShould fire securitypolicyviolation
Asserts run
Pass
assert_equals("style-src-elem", "style-src-elem")
    at Test.<anonymous> ( /content-security-policy/style-src/stylenonce-allowed.sub.html:15:13)
Passstylenonce-allowed
Asserts run
Pass
assert_equals("rgb(0, 128, 0)", "rgb(0, 128, 0)")
    at Test.<anonymous> ( /content-security-policy/style-src/stylenonce-allowed.sub.html:46:13)
Passstylenonce-allowed 1
Asserts run
Pass
assert_equals("rgb(0, 128, 0)", "rgb(0, 128, 0)")
    at Test.<anonymous> ( /content-security-policy/style-src/stylenonce-allowed.sub.html:50:13)