diff --git a/__tests__/config_validation.test.mjs b/__tests__/config_validation.test.mjs index c45c059..db0356a 100644 --- a/__tests__/config_validation.test.mjs +++ b/__tests__/config_validation.test.mjs @@ -44,8 +44,8 @@ describe('Config: build integrity', () => { if (codeOnly.includes('textContent')) { throw new Error( - 'content.js uses inline script injection (textContent). ' + - 'Sites like Pornhub block inline scripts via CSP. Use script.src instead.' + 'content.js uses inline script injection (textContent). ' + + 'Some sites block inline scripts via CSP. Use script.src instead.' ); } if (!codeOnly.includes('script.src') || !codeOnly.includes('chrome.runtime.getURL')) { diff --git a/__tests__/hls_qa.test.mjs b/__tests__/hls_qa.test.mjs index ff98290..b6c1152 100644 --- a/__tests__/hls_qa.test.mjs +++ b/__tests__/hls_qa.test.mjs @@ -940,8 +940,8 @@ describe('HLS QA: Configuration and resource management', () => { it('should vendor HLS bundle locally (not use CDN — avoids CSP blocks)', () => { // Viewer loads hls.js from extension origin via chrome.runtime.getURL('hls.min.js') - // instead of a CDN — sites like Pornhub restrict script-src to 'self', blocking - // cross-origin