[webkit-changes] [WebKit/WebKit] 94804f: [WebGPU] requestAdapterInfo test expects (r) to be...

mwyrzykowski noreply at github.com
Fri Nov 3 16:02:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 94804f286a49540dadad3efd02be79111b29006c
      https://github.com/WebKit/WebKit/commit/94804f286a49540dadad3efd02be79111b29006c
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M LayoutTests/platform/mac/TestExpectations
    M Source/WebCore/Modules/WebGPU/GPUAdapterInfo.h

  Log Message:
  -----------
  [WebGPU] requestAdapterInfo test expects (r) to be removed from adapterInfo.vendor and  adapterInfo.device
https://bugs.webkit.org/show_bug.cgi?id=264168
<radar://117912370>

Reviewed by Tadeu Zagallo.

Strings returned by requestAdapterInfo should only contain letters and numbers.

Intel was returning "Intel(r)" and the "(" and ")" caused the test expectation to fail.

* LayoutTests/platform/mac/TestExpectations:
* Source/WebCore/Modules/WebGPU/GPUAdapterInfo.h:
(WebCore::GPUAdapterInfo::vendor const):
(WebCore::GPUAdapterInfo::architecture const):
(WebCore::GPUAdapterInfo::device const):
(WebCore::GPUAdapterInfo::description const):
(WebCore::GPUAdapterInfo::normalizedIdentifier):

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




More information about the webkit-changes mailing list