I'm not sure what I'm doing wrong here, I think there should be more documentation or better error descriptions for this Web Share API.
I'm trying to share the following file
{
  lastModified: 1622843015507
  lastModifiedDate: Fri Jun 04 2021 16:43:35 GMT-0500 (Eastern Standard Time) {}
  name: "60b1d17b7f2cd71c8307fae2"
  size: 37835
  type: "image/png"
  webkitRelativePath: ""
}
using
await navigator.share({
    text: 'TEST',
    files: [file],
  });
I've made sure that the type is a permitted type, but I keep getting DOMException: Permission denied. I really don’t understand what should I be looking for.