diff --git a/embed.html b/embed.html index eefea746..14464d7c 100644 --- a/embed.html +++ b/embed.html @@ -2,6 +2,17 @@ + + bitvid | Embed diff --git a/index.html b/index.html index 7672fb65..b392f603 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,25 @@ + + bitvid | Decentralized Video Sharing diff --git a/tests/csp-policy.test.mjs b/tests/csp-policy.test.mjs new file mode 100644 index 00000000..6f3e1bea --- /dev/null +++ b/tests/csp-policy.test.mjs @@ -0,0 +1,103 @@ +// Regression test for the Content-Security-Policy on the HTML entry points. +// +// SCN-csp-script-src-locks-inline-hash: +// Given index.html / embed.html ship a CSP whose security depends on a strict +// script-src (no 'unsafe-inline'), +// When the inline bootstrap