A handful of diverges, a few in which Chrome seems to not follow the spec. A
number of less specific error checks (not matching exact error message, just the
type).
Code changes:
- XHR re-open no longer fires abort/loadend on a request in fligh
- XHR response_type == document is ignored in a Worker (it has no document)
- WebSocket close() while connecting goes into the CLOSING state + queues a
close event
- Request method keeps original case for patch and propfind (only the big 6
should be normalized)
- formdata event gets it own copy of the FormData object
- Fetch redirect = 'manual' keeps the url (unlike opaque)
Will rely on an external driver (in demo) to run our page tests in Chrome and
catch unintentional divergence.
Initially this involves:
1 - Flagging every test with a marker (`<meta name=lp-mode content=test>`) so
that the external runner knows this is a test file to be run, and not
some support file.
2 - Extracting the TestHTTPServer and TestWSServer so that they can be run from
a new (very simple) build step (`zig build test-server`) so that the
test files and test endpoints (e.g. `/redirect_cross_echo_headers`) are
accessible
3 - Starting to tweak testing.js so that it runs better in Chrome. Namely
removing some of the attribution (for module scripts) which depend on our
non-compliant document.currentScript behavior.
4 - Flagging a few tests and fixing them, as proof of concept.