1
0
Fork 0
firefox/devtools/client/webconsole/test/browser/test-csp-violation-inline.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

21 lines
502 B
HTML

<html>
<head>
<title>CSP Inline Violations Test</title>
</head>
<body>
This Background should be neither Red nor Blue c:
</body>
<script>
"use strict";
window.violate = () =>{
const style = document.createElement("style");
style.innerHTML = "body { background-color: red; }";
document.head.appendChild(style);
};
</script>
<style>
background-color:blue;
</style>
</html>