Click the above button to start loading an image and then open an alert() box. For the test to pass there should be no crash when closing the alert box.