From f08499b4cffb2f7b90861acb3992fdea0d83fe23 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Mon, 24 Apr 2023 08:37:09 -0400 Subject: [PATCH] WebContent: Add the 'thread' pledge for video playback This is required after 036eb82acab1d599fad69654a98e9fdf9aacb2cf. --- Userland/Services/WebContent/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Services/WebContent/main.cpp b/Userland/Services/WebContent/main.cpp index 081f24bbb4..d6c5b77ffe 100644 --- a/Userland/Services/WebContent/main.cpp +++ b/Userland/Services/WebContent/main.cpp @@ -25,7 +25,7 @@ ErrorOr 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()));