[webkit-changes] [WebKit/WebKit] e6ba22: [WebGPU] RemoteBufferProxy::mapAsync does not call...
mwyrzykowski
noreply at github.com
Wed Jan 18 12:52:47 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e6ba22533cb979a0b27981edb5640f68fc5cd545
https://github.com/WebKit/WebKit/commit/e6ba22533cb979a0b27981edb5640f68fc5cd545
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
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
More information about the webkit-changes
mailing list