This website requires JavaScript.
Explore
Help
Sign in
dmaax
/
ladybird
Watch
1
Star
0
Fork
You've already forked ladybird
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
53ef0e2e88
ladybird
/
Tests
/
LibWeb
/
Text
/
expected
/
HTML
/
set-innerHTML-with-script.txt
2 lines
7 B
Text
Raw
Normal View
History
Unescape
Escape
LibWeb: Only wait for document to be ready for scripts if executing one 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
2024-01-13 23:59:38 -03:00
PASS
Reference in a new issue
Copy permalink