Bug #1254

In Safari, downloading 'Save File' link doesn't do anything

Added by Brecht De Man over 9 years ago. Updated over 9 years ago.

Status:In ProgressStart date:2015-05-29
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

At the end of the test, clicking 'Save file' opens the XML file or (in older versions of Safari?) an illegible and useless blob of text. Right-clicking and downloading (or 'downloading as') doesn't work - the file simply doesn't appear where you allegedly downloaded it. The only way I find it works is by opening in a new tab (or in-place probably), then saving as 'page source' (not 'web archive') and then typing a file name with the .xml extension.
Works fine in Chrome: clicking automatically downloads the file.

History

#1 Updated by Nicholas Jillings over 9 years ago

  • Status changed from New to In Progress

Safari does not support the HTML5 download attribute on <a> hyperlinking tags. Therefore it cannot behave the same way chrome does. See http://www.w3schools.com/tags/att_a_download.asp for more details.

Chrome has the default behaviour that when it detects a non HTML file it will assume it is for download, Safari does not make this assumption either which is doubly annoying.

Also available in: Atom PDF