HTML Download Attribute using data URI

Clicking an anchor tag <a> using a download attribute and data uri as the href doesn't trigger a download in a webextension bundled html page. Rather it opens a new tab and navigates to the data uri.

This is the not the same behaviour users experience on the web nor the same behaviour as a Safari App Extension bundled html page.

Is this intentional? Is this a shortcoming of the WebExtension API? Is there any way around this?

Any guidance would be appreciated.

This is still an issue. How can we allow users to download arbitrary files from an extension page/popup??

HTML Download Attribute using data URI
 
 
Q