Bug 245070

Summary: [GTK][WPE] Stop using injected bundle messages for implementing resource loader API
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, bugs-noreply, cdumez, youennf
Priority: P2 Keywords: Gtk
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Carlos Garcia Campos
Reported 2022-09-12 04:55:51 PDT
At the beginning this was not exposed in WebKit2 APIS, so we had to use custom injected bundle messages to keeps exposing this.
Attachments
Carlos Garcia Campos
Comment 1 2022-09-12 04:59:55 PDT
I tried using API::ResourceLoadClient but it's not enough for what we have now. It missed the resources loaded from the disk cache (this sounds like bug because there's loadedFromCache in API::ResourceLoadInfo) and also the ones loaded from the memory cache, because this client receives messages from the network process, not the web process. So, can we just add a resource load client specific for GTK and WPE to stop using injected bundle messages?
Carlos Garcia Campos
Comment 2 2022-09-27 04:35:33 PDT
Alex, would you be ok with adding internal api just for GTK/WPE to implement web resources loader from the web process but without using injected bundle?
Carlos Garcia Campos
Comment 3 2022-10-17 00:41:18 PDT
Alex? Youenn? Chris?
Carlos Garcia Campos
Comment 4 2022-11-02 07:26:21 PDT
EWS
Comment 5 2022-11-07 01:13:56 PST
Committed 256388@main (051a04847864): <https://commits.webkit.org/256388@main> Reviewed commits have been landed. Closing PR #6036 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.