Clicking on an <a> element with a download attribute must not throw an exception