Safari Browser not genrating pdfs, loading indefinitely

Bug Released
6 June, 2025 05:05:29
visitorrr
Topics: 1
Messages: 4
Hi! All browsers on Windows/Mac working fine for generating PDFs except Safari. Im generating the PDFs with your "view" shortcode.

In safari i get a console error in the dev tools pointing to your app.js file line 101

TypeError: Promise.withResolvers is not a function. (In 'Promise.withResolvers()', 'Promise.withResolvers' is undefined

Safari is the only Browser that shows this error. How to get my PDFs to load?
6 June, 2025 05:53:07
E2Pdf
Support
Topics: 7
Messages: 3493
Hello,

Could you please clarify the following:

- Are you experiencing the same error on our demo page? https://e2pdf.com/demo/wordpress

- Which version of Safari are you using?
We would really appreciate your feedback at WordPress.org!
6 June, 2025 07:40:06
visitorrr
Topics: 1
Messages: 4
With pleasure:

- Yes I do. The buttons view / download / print are working. The embedded iframe in iframe is loading loading loading. Same console error (but i don't know if it's related to be fair.)

- Version 17.1.2 (on Sonoma 14.1.2)
6 June, 2025 07:50:50
E2Pdf
Support
Topics: 7
Messages: 3493
It seems the issue is caused by an outdated version of Safari. Could we kindly ask you to redo the test on the same page: https://e2pdf.com/demo/wordpress

If it still doesn’t load, please try redoing the test in “Private Browsing” mode to avoid caching.


We would really appreciate your feedback at WordPress.org!
6 June, 2025 08:24:23
visitorrr
Topics: 1
Messages: 4
With Safari version 17.1.2 it is still not working. (All website data removed and new private window.) I can update and check again. Even though it would be nice to have browser support for older Safari versions.
6 June, 2025 08:27:14
E2Pdf
Support
Topics: 7
Messages: 3493
Yes, of course. We are currently trying to replicate the issue and will get back to you as soon as we have an update.
We would really appreciate your feedback at WordPress.org!
6 June, 2025 09:57:15
E2Pdf
Support
Topics: 7
Messages: 3493
We have released a hotfix for the RC version (1.29.10) that should resolve the issue. You can follow the update steps here: https://e2pdf.com/docs/install#rc-version.

P.S. Our demo page is also should working correctly, so you can verify the fix before updating: https://e2pdf.com/demo/wordpress.
We would really appreciate your feedback at WordPress.org!
6 June, 2025 21:27:32
visitorrr
Topics: 1
Messages: 4
Damn. Works like a charm. You folks are lit!