mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 09:18:05 +03:00
95aa6562db
With this patch, we now initialize the `WebContentConsoleClient` as soon as the Page has loaded, instead of waiting for the Console Window to be shown. This finally lets us see log messages that happened before the window was opened! :^) However, it is not perfect. Waiting until the page has loaded means we lose any messages that happen *during* page load. Ideally we would initialize the WCCC when the page *starts* loading instead, but it requires that the page has a document and interpreter assigned and accessible. As far as I can tell with my limited knowledge, this is not the case until the page has completed loading. |
||
---|---|---|
.. | ||
ClientConnection.cpp | ||
ClientConnection.h | ||
CMakeLists.txt | ||
ConsoleGlobalObject.cpp | ||
ConsoleGlobalObject.h | ||
Documentation.txt | ||
Forward.h | ||
main.cpp | ||
PageHost.cpp | ||
PageHost.h | ||
WebContentClient.ipc | ||
WebContentConsoleClient.cpp | ||
WebContentConsoleClient.h | ||
WebContentServer.ipc |