diff --git a/frontend/index.html b/frontend/index.html index 5ffd4f6..e0cb08b 100755 --- a/frontend/index.html +++ b/frontend/index.html @@ -16,11 +16,11 @@ content="default-src 'self'; img-src 'self' https: data: asset: http://asset.localhost blob:; media-src 'self' https: blob: asset: http://asset.localhost; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com data:; script-src 'self' 'wasm-unsafe-eval' https://esm.sh; connect-src 'self' https: ipc: http://ipc.localhost blob:; worker-src 'self';" /> YT Player - - + + diff --git a/frontend/shell-consistency.test.js b/frontend/shell-consistency.test.js index d44f109..bbdfbff 100644 --- a/frontend/shell-consistency.test.js +++ b/frontend/shell-consistency.test.js @@ -76,6 +76,7 @@ test('only core scripts and styles remain eager; native fallback and active layo assert.ok(html.indexOf('id="ytp-assets"')')); assert.ok(html.indexOf('src="lazy.js"')([^<]+)<\/script>/)[1]).groups,groups); for(const name of ['playlist','settings','service-mode','lyrics-editor'])assert.ok(groups['feature:'+name].eager); });