Safari 14 stuck when displaying PDF file on Mac OS Big Sur
I am testing our web application on Mac OS Big Sur because of some bug reports I've been receiving from users on Mac OS Big Sur.
In our web application we receive PDF data from an api, convert it to a blob url using JavaScript "window.URL.createObjectURL(data)" and display it using "<object type='application/pdf' data='<blob
url'>". Since the Mac OS Big Sur update this mechanism stopped working.
I've tested it on Mac OS Catalina Safari 14 (works), Mac OS Big Sur 11.0, 11.0.1 and 11.1 Safari 14 (doesn't work). Other browsers (Chrome and Firefox) work fine on Big Sur. Other OS's work as expected.
Could this be a bug in Mac OS Big Sur or Safari or am I doing something wrong?
Can you reproduce this problem? Remember, it hangs when converting PDF data to a blob url and using this url as the data attribute of the object element. When using a direct url (due to architecture limitations we're not able to take this route) to the pdf file everything seems to be working as expected.
Also, I tried circumventing the problem by parsing the navigator.userAgent but it returns MacOS 10.15.6 on 11.0.1.
Mac mini 2018 or later