[webkit-changes] [WebKit/WebKit] 48a537: [WebGPU] Disable getContext("webgpu") when WebGPU ...

Myles C. Maxfield noreply at github.com
Tue May 9 14:34:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 48a5372923cb172599e0c6370697929a62a51b05
      https://github.com/WebKit/WebKit/commit/48a5372923cb172599e0c6370697929a62a51b05
  Author: Myles C. Maxfield <mmaxfield at apple.com>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M Source/WebCore/page/Navigator.cpp

  Log Message:
  -----------
  [WebGPU] Disable getContext("webgpu") when WebGPU is disabled
https://bugs.webkit.org/show_bug.cgi?id=256533
rdar://109106604

Reviewed by Mike Wyrzykowski, Dan Glastonbury and Tadeu Zagallo.

navigator.gpu is disabled, but getContext("webgpu") isn't.

* Source/WebCore/page/Navigator.cpp:
(WebCore::Navigator::gpu):

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




More information about the webkit-changes mailing list