Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Block "setMediaOverridesForTesting" media IPC endpoints when not test…
…ing and instead reset values https://bugs.webkit.org/show_bug.cgi?id=268731 rdar://122218365 Reviewed by Youenn Fablet. The fix in https://commits.webkit.org/272448.445@safari-7618-branch was insufficient as the setMediaOverridesForTesting IPC endpoints is also used to reset the flags to their default. So rather than disabling the IPC endpoints altogether we restrict its use to only reset the default values (which are all unset). * Source/WebKit/GPUProcess/GPUConnectionToWebProcess.cpp: (WebKit::GPUConnectionToWebProcess::setMediaOverridesForTesting): * Source/WebKit/GPUProcess/GPUConnectionToWebProcess.messages.in: Originally-landed-as: 272448.473@safari-7618-branch (00b3f3c). rdar://124557967 Canonical link: https://commits.webkit.org/276185@main
- Loading branch information