ladybird/Userland/Libraries/LibWeb/Tests
Luke Wilde 54454952e0 LibWeb: Capture <script> element's node document on execution
Step 1 of the spec is to capture the <script> element's node document
into a local variable.

When I originally implemented this, I thought this was not necessary.
However, I realised that the script that runs can adopt the current
script element into a different document, meaning step 5.4 and 6 then
operate on the incorrect document.

Covered by this WPT: 7b0ebaccc6/html/semantics/scripting-1/the-script-element/moving-between-documents-during-evaluation.html
2021-12-21 13:50:00 -08:00
..
DOM
Encoding
HTML LibWeb: Capture <script> element's node document on execution 2021-12-21 13:50:00 -08:00
Pages
Window
libweb_tester.d.ts