WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
255645
Web Inspector: Failed to load resource: Frame load interrupted when download canvas to image on iOS 16.2
https://bugs.webkit.org/show_bug.cgi?id=255645
Summary
Web Inspector: Failed to load resource: Frame load interrupted when download ...
kiwenlau
Reported
2023-04-18 23:22:33 PDT
Created
attachment 465977
[details]
test code I tried to download canvas to image: const canvas = document.getElementById('canvas'); const ctx = canvas.getContext('2d'); ctx.fillStyle = 'green'; ctx.fillRect(10, 10, 150, 100); canvas.toBlob(function (blob) { const link = document.createElement('a'); link.download = 'example.png'; link.href = URL.createObjectURL(blob); link.click(); URL.revokeObjectURL(link.href); }, 'image/png'); Everything is ok for following device and safari version: - macOS Ventura 13.0.1 Safari 16.1 - iPhone 14 Plus iOS 16.3 - iPhone 14(Simulator) iOS 16.4 However, on iPhone 13(Simulator)iOS 16.2, the image can be downloaded, but the web inspector gets following error: Failed to load resource: Frame load interrupted
Attachments
test code
(3.71 KB, application/zip)
2023-04-18 23:22 PDT
,
kiwenlau
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2023-04-23 14:42:14 PDT
Please correct me if I misunderstood the report, but sounds like this is already fixed in iOS 16.3 and newer. We cannot retroactively fix this in 16.2.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug