Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1530

Surefire html report does not style correctly in chrome

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 2.21.0
    • None
    • None

    Description

      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.
       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-a4tj1WXEmGqOxBANAF3uzawGDJwaj6X3GnmrjTUzhuc='), or a nonce ('nonce-...') is required to enable inline execution.
      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-qRVIxZQ0xPYjv3U7P4/5y8byVpOp48F0bdyO/vM0kyY='), or a nonce ('nonce-...') is required to enable inline execution.
      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-0EZqoz+oBhx7gF4nvY2bSqoGyy4zLjNF+SDQXGp/ZrY='), or a nonce ('nonce-...') is required to enable inline execution.
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            vogthenn Henning Vogt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: