Files
serenity/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.cpp
Maciej 6673dcc960 LibWeb: Prepare script when src is set the first time
From https://html.spec.whatwg.org/multipage/scripting.html#script-processing-model:
When a script element el that is not parser-inserted experiences one
of the events listed in the following list, the user agent must
immediately prepare the script element el:
- [...]
- The script element is connected and has a src attribute set where
  previously the element had no such attribute.

(cherry picked from commit d890be6e0f7db08ab39ba546cb3421b50b687cda)
2024-07-13 21:52:51 -04:00

30 KiB