This test verifies that the load event doesn't fire until subresource content has loaded, even if you manually call document.close beforehand. See bug 13241.