Henning Vogt created SUREFIRE-1530:
--------------------------------------
Summary: Surefire html report does not style correctly in chrome
Key: SUREFIRE-1530
URL: https://issues.apache.org/jira/browse/SUREFIRE-1530
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.21.0
Reporter: Henning Vogt
Generating a surefire-report.html does not produce an html that can be
displayed correctly with chrome. IE11 works, but e.g. chrome displays this
errormessage:
{{Refused to apply inline style because it violates the following Content
Security Policy directive: "style-src 'self'". Either the 'unsafe-inline'
keyword, a hash ('sha256-kQThACQ+E3akfK9JEvBX7ueISL6ruT6sN9Ni6lZIRVM='), or a
nonce ('nonce-...') is required to enable inline
execution.}}{{surefire-report.html:1 Blocked script execution in
'http://mycompany.com:8081/jenkins/job/VR/job/vrservice/site/surefire-report.html'
because the document's frame is sandboxed and the 'allow-scripts' permission
is not set.}}
{{6Refused to apply inline style because it violates the following Content
Security Policy directive: "style-src 'self'". Either the 'unsafe-inline'
keyword, a hash ('sha256-a4tj1WXEmGqOxBANAF3uzawGDJwaj6X3GnmrjTUzhuc='), or a
nonce ('nonce-...') is required to enable inline execution.}}{{6Refused to
apply inline style because it violates the following Content Security Policy
directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash
('sha256-qRVIxZQ0xPYjv3U7P4/5y8byVpOp48F0bdyO/vM0kyY='), or a nonce
('nonce-...') is required to enable inline execution.}}{{7Refused to apply
inline style because it violates the following Content Security Policy
directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash
('sha256-0EZqoz+oBhx7gF4nvY2bSqoGyy4zLjNF+SDQXGp/ZrY='), or a nonce
('nonce-...') is required to enable inline execution.}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)