Skip to content

docs(live-preview): notes for static file:// preview of non-project html - #3176

Merged
abose merged 1 commit into
mainfrom
ai
Sep 5, 2026
Merged

docs(live-preview): notes for static file:// preview of non-project html#3176
abose merged 1 commit into
mainfrom
ai

Conversation

@abose

@abose abose commented Sep 5, 2026

Copy link
Copy Markdown
Member

Records a verified Electron prototype that previews html files outside the project as static file:// pages in a hardened 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.

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.
@sonarqubecloud

sonarqubecloud Bot commented Sep 5, 2026

Copy link
Copy Markdown

@abose
abose merged commit c82e294 into main Sep 5, 2026
16 of 21 checks passed
@abose
abose deleted the ai branch September 5, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant