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.
This commit is contained in:
Maciej
2024-07-07 21:57:01 +02:00
committed by Tim Ledbetter
parent 98e1ae49f5
commit d890be6e0f
5 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1 @@
println("PASS");