[webkit-changes] [WebKit/WebKit] 4fbba7: [WebGPU] CTS test never completes - https://gpuweb...

mwyrzykowski noreply at github.com
Mon Dec 4 22:56:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4fbba703681a09a7d1965bf412436b18dbb8ea9f
      https://github.com/WebKit/WebKit/commit/4fbba703681a09a7d1965bf412436b18dbb8ea9f
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M Source/WebCore/Modules/WebGPU/GPUBuffer.cpp

  Log Message:
  -----------
  [WebGPU] CTS test never completes - https://gpuweb.github.io/cts/standalone/?q=webgpu:api,validation,buffer,mapping:mapAsync,state,mappingPending:*
https://bugs.webkit.org/show_bug.cgi?id=265808
<radar://119144386>

Reviewed by Dan Glastonbury.

GPUBuffer.mapAsync should always either reject or resolve
its Promise, otherwise an async await call will never return.

* Source/WebCore/Modules/WebGPU/GPUBuffer.cpp:
(WebCore::GPUBuffer::mapAsync):

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




More information about the webkit-changes mailing list