mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibJS+LibWeb: Do not return error from VM::create
This never returns an error to propogate, also allowing ErrorOr to be removed from creating the main thread VM.
This commit is contained in:
committed by
Andreas Kling
parent
084cceab5c
commit
8263a9863f
Notes:
github-actions[bot]
2025-04-25 14:45:48 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/8263a9863f6 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4453
@@ -32,7 +32,7 @@ struct WebEngineCustomJobCallbackData final : public JS::JobCallback::CustomData
|
||||
|
||||
HTML::Script* active_script();
|
||||
|
||||
ErrorOr<void> initialize_main_thread_vm(HTML::EventLoop::Type);
|
||||
void initialize_main_thread_vm(HTML::EventLoop::Type);
|
||||
JS::VM& main_thread_vm();
|
||||
|
||||
void queue_mutation_observer_microtask(DOM::Document const&);
|
||||
|
||||
Reference in New Issue
Block a user