feat: Enhance Electron test harness with preload script and CSP configuration

This commit is contained in:
2026-04-19 03:05:29 +10:00
parent dcc17946ef
commit 6f506c59a4
5 changed files with 98 additions and 31 deletions

View File

@@ -2,6 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' blob: file:; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self' https:; font-src 'self' data:;" />
<title>@paarrot/plugin-manager — Electron Test</title>
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }