fix: disable remote layer APIs in MAS build #20965
Description of Change
This PR disables following private macOS APIs used in Chromium:
Chromium has 2 ways of rendering on macOS: one is using official
This PR forces using
More information can be found at https://bugs.chromium.org/p/chromium/issues/detail?id=312462.
All related code using this class are disabled. It would affect accessibility when remote layer API is used, but we should be fine since remote layer API is disabled too.
Chromium overrides these private classes to implement custom frame. All related code are disabled so custom frame would not work.
Since in Electron we only support standard frame and simple frameless window, we are not affected.
Chromium uses it to guess mime type from extension names, the iOS version of Chromium does not use it. The fallback detection should be enough for us.
Notes: Fix Electron apps getting rejected to Mac App Store.
The text was updated successfully, but these errors were encountered: