mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-14 01:04:38 +03:00
4135c3885c
HTML fragments are parsed with a temporary HTML document that never has its flag set to say that it is ready to have scripts executed. For these fragments, in the HTMLParser, these scripts are prepared, but execute_script is never called on them. This results in the HTMLParser waiting forever on the document to be ready to have scripts executed. To fix this, only wait for the document to be ready if we are definitely going to execute a script. This fixes a hang processing the HTML in the attached test, as seen on: https://github.com/SerenityOS/serenity Fixes: #22735 |
||
---|---|---|
.. | ||
Layout | ||
Ref | ||
Text | ||
WPT | ||
CMakeLists.txt | ||
rebaseline-libweb-test | ||
TestConfig.ini | ||
TestCSSIDSpeed.cpp | ||
TestCSSPixels.cpp | ||
TestHTMLTokenizer.cpp | ||
TestMicrosyntax.cpp | ||
TestMimeSniff.cpp | ||
TestNumbers.cpp | ||
tokenizer-test.html |