[Webkit-unassigned] [Bug 218187] New: Web Inspector WebGL canvas debugger is reading uninitialised drawing buffers intentionally

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 26 06:44:51 PDT 2020


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

            Bug ID: 218187
           Summary: Web Inspector WebGL canvas debugger is reading
                    uninitialised drawing buffers intentionally
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

Web Inspector WebGL canvas debugger is:
* reading uninitialised drawing buffers intentionally 
* displaying at best 3 buffers old content (at worst, seee above)
* is most likely corrupting the toDataURL / snapshot / printing cache bitmap

The problem the inspector hack is trying to solve is:
* need to capture snapshot of synchronously
* need to capture drawing buffer if drawing buffer has been drawn to
* need to capture display buffer if drawing buffer has not been draw to


Fix by:
* introducing a better function to read the canvas content
* implement display buffer read
* not pollute the HTMLCanvasElement "rendering results" image
* implement cairo toDataURL or route data through ImageBuffer

-- 
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/20201026/f7e11430/attachment.htm>


More information about the webkit-unassigned mailing list