1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-13 11:10:59 +00:00
serenity/Userland/Applications/Browser
Sam Atkins 95aa6562db Browser+WebContent: Initialize WebContentConsoleClient earlier
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.
2021-09-06 18:20:26 +02:00
..
BookmarksBarWidget.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
BookmarksBarWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Browser.h Browser: Remove single-process mode :^) 2021-08-24 16:37:28 +02:00
BrowserWindow.cpp Browser: Move show_console_window() to Tab 2021-09-06 18:20:26 +02:00
BrowserWindow.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
BrowserWindow.h Browser: Add "Inspect Element" to context menu :^) 2021-08-23 15:59:29 +02:00
CMakeLists.txt Browser: Delete unused BrowserConsoleClient.{h,cpp} 2021-09-06 18:20:26 +02:00
ConsoleWidget.cpp Browser: Convert JS ConsoleWidget to new API 2021-09-06 18:20:26 +02:00
ConsoleWidget.h Browser: Convert JS ConsoleWidget to new API 2021-09-06 18:20:26 +02:00
CookieJar.cpp AK+Everywhere: Remove StringView::find_{first,last}_of(char) methods 2021-07-02 21:54:21 +02:00
CookieJar.h Everywhere: Replace Vector<T*> with nonnull entries with Vector<T&> 2021-06-08 19:14:24 +02:00
DownloadWidget.cpp Browser: Use LibConfig instead of Core::ConfigFile 2021-08-26 00:54:28 +02:00
DownloadWidget.h Browser: Add download finished graphics to download widget 2021-06-13 20:55:58 +02:00
EditBookmark.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
History.cpp Browser: Add title to go back/forward context menu 2021-05-29 12:03:41 +01:00
History.h Browser: Add title to go back/forward context menu 2021-05-29 12:03:41 +01:00
InspectorWidget.cpp Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
InspectorWidget.h Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
main.cpp Browser: Use LibConfig instead of Core::ConfigFile 2021-08-26 00:54:28 +02:00
Tab.cpp Browser+WebContent: Initialize WebContentConsoleClient earlier 2021-09-06 18:20:26 +02:00
Tab.gml Browser: Tweak vertical spacing in per-tab UI layout 2021-08-02 10:13:35 +02:00
Tab.h Browser: Move show_console_window() to Tab 2021-09-06 18:20:26 +02:00
WindowActions.cpp LibGfx: Use "try_" prefix for static factory functions 2021-07-21 18:02:15 +02:00
WindowActions.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00