[webkit-changes] [WebKit/WebKit] ea5904: webgl/webgl-metal-disabled.html and webgl/webgl-vi...

Kimmo Kinnunen noreply at github.com
Wed Feb 22 01:50:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ea59040a79b363bf516f610a5868025dfdc4e800
      https://github.com/WebKit/WebKit/commit/ea59040a79b363bf516f610a5868025dfdc4e800
  Author: Kimmo Kinnunen <kkinnunen at apple.com>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    A LayoutTests/platform/mac-bigsur/TestExpectations

  Log Message:
  -----------
  webgl/webgl-metal-disabled.html and webgl/webgl-via-metal-flag-off.html trigger GPU process crash
https://bugs.webkit.org/show_bug.cgi?id=252659
rdar://102072583

Reviewed by Antti Koivisto.

Disable the tests that test running Cocoa WebGL without Metal.
Enable the tests only on BigSur, as that is the only platform that
ships devices that use WebGL with ANGLE/OpenGL.

The reason for the crash is:

    if (( "${TARGET_MAC_OS_X_VERSION_MAJOR}" >= 130000 ))
        then
            plistbuddy Add :com.apple.private.gpu-restricted bool YES
        fi

E.g. the new OSes have an entitlement disabling the GPU access needed
for the OpenGL and this is applied to all processes.

* LayoutTests/TestExpectations:
* LayoutTests/platform/mac-bigsur/TestExpectations: Added.

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




More information about the webkit-changes mailing list