The bug is triggered when multiple HTML link elements are on a web page and some of the links have
download attribute to force the browser to download the document
and some a
target to force the browser to open the link in a new window.
Once the link with the
download attribute is clicked, all following
clicks on the other links with the
target will download instead of
open in a new window.
Step 1) can be skipped to get the same effect. The error happens as soon as a link with the
download attribute is clicked