A couple notes about the files scattered in this resources/ directory:

  • The nested directory structure is necessary here so that relative URL resolution can be tested; we need different sub-paths for each document.

  • The semi-duplicate window-to-open.htmls scattered throughout are present because Firefox, at least, does not fire Window load events for 404s, so we want to ensure that no matter which global is used, window's load event is hit and our tests can proceed.