Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e6ba22533cb979a0b27981edb5640f68fc5cd545
      
https://github.com/WebKit/WebKit/commit/e6ba22533cb979a0b27981edb5640f68fc5cd545
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteBufferProxy.cpp

  Log Message:
  -----------
  [WebGPU] RemoteBufferProxy::mapAsync does not call completion handler when 
the call fails
https://bugs.webkit.org/show_bug.cgi?id=250738
<radar://104356354>

Reviewed by Myles C. Maxfield.

GPUBuffer.mapAsync returns Promise<undefined>, so we can't return a
GPUError, but we still need to call the completion handler.

Discovered running the conformance test suite.

* Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteBufferProxy.cpp:
(WebKit::WebGPU::RemoteBufferProxy::mapAsync):
Call the completion handler.

Canonical link: https://commits.webkit.org/259047@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to