Regressed Page is automatically closed when triggers file download

Published: | Categories: DOM


Firefox 54 has introduced a regression where the current browser tab is unexpectedly closed if the method is used to download a file such as a PDF document or ZIP archive. Mozilla developers are working on the solution. Web developers are encouraged to specify the HTML5 download attribute on the <a> element to create a download link.