1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:57:45 +00:00

WebContent: Add the 'thread' pledge for video playback

This is required after 036eb82aca.
This commit is contained in:
Timothy Flynn 2023-04-24 08:37:09 -04:00 committed by Andreas Kling
parent 8fe846eb7f
commit f08499b4cf

View file

@ -25,7 +25,7 @@
ErrorOr<int> serenity_main(Main::Arguments)
{
Core::EventLoop event_loop;
TRY(Core::System::pledge("stdio recvfd sendfd accept unix rpath"));
TRY(Core::System::pledge("stdio recvfd sendfd accept unix rpath thread"));
// This must be first; we can't check if /tmp/webdriver exists once we've unveiled other paths.
auto webdriver_socket_path = DeprecatedString::formatted("{}/webdriver", TRY(Core::StandardPaths::runtime_directory()));