Skip to content

Concepts

These pages explain why NativeHTMLKit behaves the way it does. They contain no step-by-step instructions; for those see the tutorials and how-to guides (PowerShell).

Page Read it when you want to understand…
Architecture which component owns windows, rendering and language APIs
Process and lifecycle model why your script runs twice, what ready and shutdown mean, how quitting is negotiated
Threading and callbacks where your callbacks run, what may block, how to do background work safely
Documents and stale handles windows vs documents, why an old handle suddenly raises a stale error
Security model what is trusted, what is escaped, what the host refuses
Why native? the trade-offs compared with Electron or an embedded browser

All statements describe the released packages: Core 1.0.3, Python SDK 0.1.2 and PowerShell SDK 0.1.2.