Test for discrepancy between a URL's parsed components as they appear in the DOM properties versus an HTTP GET request.
This page tests how a URL's properties compare in the DOM and an HTTP GET request, using the following method:
- Load test cases from urls-local.json
- For each test case, create an iframe in the same origin as the parent document.
- In the iframe, create an anchor element with the test case as href, e.g.:
In the iframe reate a script element with the test case as src, e.g.: