[Webkit-unassigned] [Bug 255645] New: Web Inspector: Failed to load resource: Frame load interrupted when download canvas to image on iOS 16.2
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 18 23:22:33 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=255645
Bug ID: 255645
Summary: Web Inspector: Failed to load resource: Frame load
interrupted when download canvas to image on iOS 16.2
Product: WebKit
Version: Safari 16
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kiwenlau at gmail.com
CC: inspector-bugzilla-changes at group.apple.com
Created attachment 465977
--> https://bugs.webkit.org/attachment.cgi?id=465977&action=review
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230419/871a7ab0/attachment-0001.htm>
More information about the webkit-unassigned
mailing list