SFWA-ABI Harness

This harness validates HTML compliance and JS compliance separately for a SFWA (single-file web app) using a sfwa-abi-1 spec.

Files

Usage

python sfwa_harness.py --spec path/to/app.sfwa-abi.json --html path/to/app.html
python sfwa_harness.py --spec ... --html ... --mode html
python sfwa_harness.py --spec ... --html ... --mode js
python sfwa_harness.py --spec ... --html ... --mode all --json

What it checks

HTML-side

JS-side

Limitations