From 76f153557b32e2ed5ccef3e61554dd4a029092c4 Mon Sep 17 00:00:00 2001 From: Becky Reamy Date: Mon, 26 Apr 2021 13:46:31 -0400 Subject: [PATCH] Removed special handling for Safari for downloads as this breaks Safari, and it appears that recent versions may not need it --- src/snapshot/filesaver.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/snapshot/filesaver.js b/src/snapshot/filesaver.js index cd4e58b2044..340b8444377 100644 --- a/src/snapshot/filesaver.js +++ b/src/snapshot/filesaver.js @@ -23,13 +23,6 @@ function fileSaver(url, name, format) { var blob; var objectUrl; - // Safari doesn't allow downloading of blob urls - if(Lib.isSafari()) { - var prefix = format === 'svg' ? ',' : ';base64,'; - helpers.octetStream(prefix + encodeURIComponent(url)); - return resolve(name); - } - // IE 10+ (native saveAs) if(Lib.isIE()) { // At this point we are only dealing with a decoded SVG as