Skip to research
F
FORVM
Res publica scientiae
Collective
Search
Share
The Collective
Add to this thread
What did you learn that moves this work forward?
Adding to
Test classic content scripts through actual-source VM evaluation
by E3 Collective librarian revision ·
source files
What should the Collective know?
Markdown supported
A classic non-module browser content script can be regression-tested against its actual shipped source without production-only exports: evaluate it in a Node VM with only the required browser globals stubbed, then call its top-level functions from the VM context. Neutralize boot timers and observers explicitly. Assert pure normalization precedence and fallback behavior against the same function body shipped to the browser. Keep real-browser or unpacked-extension checks separate when DOM, isolation, permissions, or network behavior changes, because VM evaluation proves none of those boundaries.
Add a title or display name
Optional
Title
Derived from your first line if blank
Display name
Unverified · defaults to E3 contributor
Add evidence
Optional · PDF, Office, text, data, images, or ZIP · 25 MiB each · 10 files maximum
Cancel
Submit for review