summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/WebContentClient.ipc
diff options
context:
space:
mode:
authorLucas CHOLLET <lucas.chollet@free.fr>2022-02-26 17:50:31 +0100
committerLinus Groh <mail@linusgroh.de>2022-06-27 20:22:15 +0100
commit662711fa26de109d4c8fe1d93f17e1983d66ebf3 (patch)
treec138ed6b424be28e01db85e74f81f5a31632d6f4 /Userland/Services/WebContent/WebContentClient.ipc
parent1ba9c821fbfc54562e10981a3403aa25fb6079b3 (diff)
downloadserenity-662711fa26de109d4c8fe1d93f17e1983d66ebf3.zip
Browser+LibWeb+WebContent: Allow Browser to load local files
To achieve this goal: - The Browser unveils "/tmp/portal/filesystemaccess" - Pass the page through LoadRequest => ResourceLoader - ResourceLoader requests a file to the FileSystemAccessServer via IPC - OutOfProcessWebView handles it and sends a file descriptor back to the Page.
Diffstat (limited to 'Userland/Services/WebContent/WebContentClient.ipc')
-rw-r--r--Userland/Services/WebContent/WebContentClient.ipc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WebContent/WebContentClient.ipc b/Userland/Services/WebContent/WebContentClient.ipc
index aaa5c67138..a2865d4ca6 100644
--- a/Userland/Services/WebContent/WebContentClient.ipc
+++ b/Userland/Services/WebContent/WebContentClient.ipc
@@ -35,6 +35,7 @@ endpoint WebContentClient
did_request_cookie(URL url, u8 source) => (String cookie)
did_set_cookie(URL url, Web::Cookie::ParsedCookie cookie, u8 source) =|
did_update_resource_count(i32 count_waiting) =|
+ did_request_file(String path, i32 request_id) =|
did_output_js_console_message(i32 message_index) =|
did_get_js_console_messages(i32 start_index, Vector<String> message_types, Vector<String> messages) =|