mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 15:32:22 +00:00
LibWeb: Flesh out prepare_script and execute_script
This fills in a bunch of the FIXMEs that was in prepare_script. execute_script is almost finished, it's just missing the module side. As an aside, let's not assert when inserting a script element with innerHTML.
This commit is contained in:
parent
dbbc378fb2
commit
3f5532d43e
Notes:
sideshowbarker
2024-07-18 22:46:47 +09:00
Author: https://github.com/Lubrsi
Commit: 3f5532d43e
Pull-request: https://github.com/SerenityOS/serenity/pull/5150
Reviewed-by: https://github.com/linusg
8 changed files with 188 additions and 40 deletions
|
@ -30,6 +30,7 @@ interface Document : Node {
|
|||
readonly attribute Element? documentElement;
|
||||
attribute HTMLElement? body;
|
||||
readonly attribute HTMLHeadElement? head;
|
||||
readonly attribute HTMLScriptElement? currentScript;
|
||||
|
||||
readonly attribute DOMString readyState;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue