istanbul-middleware icon indicating copy to clipboard operation
istanbul-middleware copied to clipboard

add a header to ensure chrome44+ will display all fillbar correctly

Open RoCat opened this issue 9 years ago • 0 comments

chrome44+ and latest chromium builds add a security check to inline scripting that prevent in that project to display all fillbars with a warning in the console when using the route "/coverage".

I add a header Content-Security-Policy to allow unsafe-inline, seems to solve that problem and all fillbars are now correctly displayed.

the bug seems not to appear on downloaded html report, only online reports (localhost:XXX/coverage"

RoCat avatar Oct 19 '15 15:10 RoCat