We no longer need to simulate loading events because document.close() will generate them all.