[Webkit-unassigned] [Bug 166758] New: using sWidth and/or sHeight not matching video source in drawImage crashes safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 6 05:34:35 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=166758

            Bug ID: 166758
           Summary: using sWidth and/or sHeight not matching video source
                    in drawImage crashes safari
    Classification: Unclassified
           Product: WebKit
           Version: Safari 10
          Hardware: iPhone / iPad
                OS: iOS 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nicolas.bregenzer at gmail.com
                CC: dino at apple.com

if you use the drawImage method with a video as a source and change the source dimensions (skewed or scaled proportionally) safari crashes after a couple of seconds, current workaround is to change the dimension of the canvas and reposition/crop the canvas itself

https://developer.mozilla.org/de/docs/Web/API/CanvasRenderingContext2D/drawImage
void ctx.drawImage(image, sx, sy, sWidth, sHeight, dx, dy, dWidth, dHeight);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170106/121aa61a/attachment.html>


More information about the webkit-unassigned mailing list