mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 07:44:57 +00:00
LibWeb: Implement immediate execution in HTMLScriptElement preparation
In some cases, Dr. HTML says we should execute the script right away even if other scripts are running.
This commit is contained in:
parent
ecd25ce6c7
commit
7bb69bb9bf
2 changed files with 16 additions and 2 deletions
|
@ -48,6 +48,7 @@ public:
|
|||
private:
|
||||
void script_became_ready();
|
||||
void when_the_script_is_ready(Function<void()>);
|
||||
void execute_script();
|
||||
|
||||
WeakPtr<Document> m_parser_document;
|
||||
WeakPtr<Document> m_preparation_time_document;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue