Add browser-based regression test runner
Add JS/WASM compilation rules for running html5lib conformance tests
in the browser:
- lib/js/htmlrw_js_tests.ml: Browser-compatible test runner that can
run tree-construction and encoding detection tests
- lib/js/dune: Updated with test runner executable for js and wasm modes
- test-regression.html: Interactive test page that loads test data files
and runs the full regression suite with progress and filtering
The test runner exposes a JavaScript API (html5rwTests) that can:
- Run individual test files
- Run all tests from a file list
- Quick parse test for simple validation
Build with: opam exec -- dune build lib/js/htmlrw-tests.js
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>