Skip to content

Commit c82e294

Browse files
committed
docs(live-preview): notes for static file:// preview of non-project html
Records a verified Electron prototype that previews html files outside the project as static file:// pages in a hardened <webview> with reload on save, instead of the "Preview Unavailable" page. Includes the security findings (Electron file:// pages can read local files unless the guest session filters requests), the rolled back Electron main-process code, the verification steps and the full patch for this repo. Adds JSDoc pointers to the notes at the relevant functions. No behaviour change.
1 parent 30fb9b5 commit c82e294

3 files changed

Lines changed: 601 additions & 1 deletion

File tree

0 commit comments

Comments
 (0)