-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: cucumber-testresult-plugin
Problems
== Inline Script Block
Line: 29
----
<script type="text/javascript">
function showFailures() {
var elms = document.getElementsByClassName("hidden");
for(var i = 0; i < elms.length; i++) {
elms[i].style.display = "";
}
elm = document.getElementById("showLink");
elm.style.display = "none";
}
</script>
----
== Inline Event Handler
Line: 77
----
<a id="showLink" name="editFailuresLink"
href="#showFailuresLink"
onclick="javascript:showFailures()">
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers