mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-09 04:32:51 +00:00
LibWeb: Propagate Realm instead of VM more through Fetch
This makes Fetch rely less on using main_thread_vm().current_realm(), which relies on the dummy execution context if no JavaScript is currently running.
This commit is contained in:
parent
f7ff1fd985
commit
9acc542059
Notes:
sideshowbarker
2024-07-17 12:02:22 +09:00
Author: https://github.com/Lubrsi
Commit: 9acc542059
Pull-request: https://github.com/SerenityOS/serenity/pull/17669
Reviewed-by: https://github.com/davidot
Reviewed-by: https://github.com/linusg ✅
19 changed files with 62 additions and 49 deletions
|
@ -36,7 +36,7 @@ public:
|
|||
void report_timing(JS::Object const&) const;
|
||||
void process_next_manual_redirect() const;
|
||||
[[nodiscard]] JS::NonnullGCPtr<FetchTimingInfo> extract_full_timing_info() const;
|
||||
void abort(JS::VM&, Optional<JS::Value>);
|
||||
void abort(JS::Realm&, Optional<JS::Value>);
|
||||
void terminate();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue