Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 829dab6. rdar://problem/100386989
Fix crash in theme painting on macOS if GPU is not available https://bugs.webkit.org/show_bug.cgi?id=247327 rdar://100386989 Reviewed by Geoffrey Garen. This is a fix for a theme painting crash when Metal is unavailable and we're falling back to OpenGL. The fallback is using CVMS, which is performing JIT'ing, but only JSC is allowed access to the JIT region in the WebContent process. This change blocks access to CVMS in the sandbox. I have been able to disable Metal and force software GL in the debugger, and have confirmed that we do not crash with this change. * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::gpuMachServices): * Source/WebKit/WebProcess/com.apple.WebProcess.sb.in: Canonical link: https://commits.webkit.org/256539@main Canonical link: https://commits.webkit.org/256138.45@safari-7615.1.12-branch
- Loading branch information