NEW275473
Blob URL's not opening file on latest iOS version 17.1 and 17.2
https://bugs.webkit.org/show_bug.cgi?id=275473
Summary Blob URL's not opening file on latest iOS version 17.1 and 17.2
Hanisha
Reported 2024-06-14 01:19:20 PDT
Created attachment 471673 [details] Error URL We are using Webkit to launch our UI and it has attachments(image/pdf). On download of attachments we get blob URL(blob:https://a.com/906fc2ec-6098-4942-b44b-bfcc94d298af) and on click it should open file. This is working fine in versions iOS 17.0 and below it. In version 17.1, 17.2 - we are getting this error - WebkitBlobResource error 1. There are no changes in our code and same flow is working fine on Android/Web. This has impacted attachment functionality on all latest iOS devices. Requesting any updates/fixes went with latest release which could break support of rendering blob URL in Webkit?
Attachments
Error URL (650.77 KB, image/png)
2024-06-14 01:19 PDT, Hanisha
no flags
17.6 Version behaviour (18.35 MB, video/mp4)
2024-06-21 01:32 PDT, Hanisha
no flags
Ahmad Saleem
Comment 1 2024-06-14 08:31:13 PDT
@Hanisha - latest released is iOS 17.5.1, can you try this and also can you share website or app name, from where we can reproduce this?
Mike Wyrzykowski
Comment 2 2024-06-14 18:07:31 PDT
I believe this was fixed in iOS 17.3
Radar WebKit Bug Importer
Comment 3 2024-06-21 01:20:15 PDT
Hanisha
Comment 4 2024-06-21 01:31:03 PDT
This is not fixed in latest iOS version as well. PFA recording. App Name - Expedia Reproduce Steps:- You can refer to recording as well to follow steps 1. Launch expedia app on iOS 2. You will see chatBot icon at bottom right on home page 3. On click of this , it will open chat screen in webview 4. You can upload any attachment on click of "+" icon. 5. Try downloading uploaded file and click on downloaded file to view 6. It will open file with Error - WebkitBlobResource error 1.
Hanisha
Comment 5 2024-06-21 01:32:02 PDT
Created attachment 471718 [details] 17.6 Version behaviour
Matthew Finkel
Comment 6 2024-07-05 14:27:04 PDT
Thanks for reporting this issue. The underlying cause appears to be the introduction of partitioning Blob URLs by top-level origin (e.g., https://cards.vap.expedia.com): https://webkit.org/blog/14787/webkit-features-in-safari-17-2/#privacy Therefore, this is expected behavior, but the breakage in your app is unfortunate and not desirable. We're investigating solutions.
Hanisha
Comment 7 2024-07-09 21:27:08 PDT
Thanks @Matthew Finkel for looking into it and providing details. Any further update on this?
Hanisha
Comment 8 2024-07-18 22:37:11 PDT
Hi Team, Any further update on this? Requesting ETA for resolution as it is blocking our users from downloading attachments.
jan
Comment 9 2024-11-10 09:54:51 PST
I'm currently porting Tampermonkey to the Safari WebExtension API and encountered this issue as well. In my case it helps to go back when the error page is shown and try again. The download then starts as expected. 🤷
Note You need to log in before you can comment on or make changes to this bug.