[Webkit-unassigned] [Bug 259676] New: safari throw error "Unable to get image data from canvas. Requested size was 640 x 480"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 31 22:38:17 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=259676
Bug ID: 259676
Summary: safari throw error "Unable to get image data from
canvas. Requested size was 640 x 480"
Product: WebKit
Version: Safari 16
Hardware: iPhone / iPad
OS: iOS 16
Status: NEW
Severity: Normal
Priority: P2
Component: Canvas
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fishel.feng at zoom.us
CC: dino at apple.com
Created attachment 467162
--> https://bugs.webkit.org/attachment.cgi?id=467162&action=review
the core code
In Ipad safari, Just draw a video frame to canvas and call getImageData, sometimes will throw the error occasionally. I found some same issue but no reply.
https://discussions.apple.com/thread/254087950
https://developer.apple.com/forums/thread/711639
In my test case, if I have opened the browser for a long time, the probability of occurrence will become higher. Reload the page is not works, but restart it can be recovered.
It will be easier to trigger with devtools on, but it can be confirmed that even if devtools is never opened, the problem still occurs.
It seems that some of memory for canvas cannot be released. But I have no idea.
I can reproduce the issue in IpadOS15/safari15 and ipados16/safari16. I tried using OffscreenCanvas, it didn't work.
--
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/20230801/ba0154c3/attachment-0001.htm>
More information about the webkit-unassigned
mailing list