diff options
author | Nico Weber <thakis@chromium.org> | 2020-07-06 10:57:16 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-06 17:03:26 +0200 |
commit | e9d18e35d615bb1d01d3c5fd32cc989f682b4cbc (patch) | |
tree | 222d03b8b0562ce7700c54d5a44c13b91590d9dc /Libraries/LibWeb | |
parent | d897940e02136b903e6e0fac09bd7c1ee174aa87 (diff) | |
download | serenity-e9d18e35d615bb1d01d3c5fd32cc989f682b4cbc.zip |
LibWeb: Move "Stop parsing!" behind PARSER_DEBUG
This makes SerenityOS's IRC client a lot less chatty.
Diffstat (limited to 'Libraries/LibWeb')
-rw-r--r-- | Libraries/LibWeb/Parser/HTMLDocumentParser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibWeb/Parser/HTMLDocumentParser.cpp b/Libraries/LibWeb/Parser/HTMLDocumentParser.cpp index e8509f5c45..5c276155d6 100644 --- a/Libraries/LibWeb/Parser/HTMLDocumentParser.cpp +++ b/Libraries/LibWeb/Parser/HTMLDocumentParser.cpp @@ -80,7 +80,9 @@ void HTMLDocumentParser::run(const URL& url) process_using_the_rules_for(m_insertion_mode, token); if (m_stop_parsing) { +#ifdef PARSER_DEBUG dbg() << "Stop parsing! :^)"; +#endif break; } } |