[Webkit-unassigned] [Bug 225175] New: [GPU Process] Don't assert the validity of the dataURL mimeType inside GPU Process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 28 17:17:43 PDT 2021


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

            Bug ID: 225175
           Summary: [GPU Process] Don't assert the validity of the dataURL
                    mimeType inside GPU Process
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: dino at apple.com

We disabled image decoding inside GPUProcess in r272888. MIMETypeRegistry::isSupportedImageMIMETypeForEncoding() will return false for any mimeType if it is called inside GPUProcess. So ImageBufferCGBackend::toCFData() should not assert the validity of the mimeType in this case.

Note: If for any reason the mimeType is altered while sending the message RemoteRenderingBackend.GetDataURLForImageBuffer to GPU Process, ImageBufferCGBackend::toCFData() will fail peacefully if the "system" frameworks do not support the mimeType.

-- 
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/20210429/ac8268d7/attachment.htm>


More information about the webkit-unassigned mailing list