diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-09-04 12:18:22 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-06 18:20:26 +0200 |
commit | 95aa6562db6683435a3d572b371f34f804c96544 (patch) | |
tree | 1e41fccfc531324dc0780c8686a2617aca0bc637 /Documentation/WHPX_Feature.png | |
parent | 703bd4c9da6a5dac204c202fa9cddb6c38a2fc62 (diff) | |
download | serenity-95aa6562db6683435a3d572b371f34f804c96544.zip |
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.
Diffstat (limited to 'Documentation/WHPX_Feature.png')
0 files changed, 0 insertions, 0 deletions