mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 20:16:02 +00:00
LibWeb: Adjust implementation of Document::create_event
With this change, it no longer calls TODO() and crashes WebContent
This commit is contained in:
parent
857c3501df
commit
96caf3aed1
Notes:
sideshowbarker
2024-07-17 10:25:19 +09:00
Author: https://github.com/stelar7
Commit: 96caf3aed1
Pull-request: https://github.com/SerenityOS/serenity/pull/14211
Issue: https://github.com/SerenityOS/serenity/issues/14206
2 changed files with 28 additions and 11 deletions
|
@ -186,7 +186,7 @@ public:
|
|||
NonnullRefPtr<Text> create_text_node(String const& data);
|
||||
NonnullRefPtr<Comment> create_comment(String const& data);
|
||||
NonnullRefPtr<Range> create_range();
|
||||
NonnullRefPtr<Event> create_event(String const& interface);
|
||||
ExceptionOr<NonnullRefPtr<Event>> create_event(String const& interface);
|
||||
|
||||
void set_pending_parsing_blocking_script(Badge<HTML::HTMLScriptElement>, HTML::HTMLScriptElement*);
|
||||
HTML::HTMLScriptElement* pending_parsing_blocking_script() { return m_pending_parsing_blocking_script; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue