Avoid sending a zero-length XML document in contentType tests.
Make sure to supply a port in a few more places.
Clean up some document.open tests a bit.
fixup! Avoid sending a zero-length XML document in contentType tests.
fixup! Clean up some document.open tests a bit.
Revert changes to tst for document.open + setTimeout, since they may be wrong.
Merge pull request #1059 from w3c/jgraham/test_cleanup

Clean up some broken tests.