mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 23:09:08 +00:00
LibWeb: Add fetch group from the fetch spec
Add fetch group concept from the '2.4. Fetch groups' in the fetch specs to the environment settings object.
This commit is contained in:
parent
8d38a1326e
commit
9e223f6dae
Notes:
github-actions[bot]
2024-07-20 20:10:51 +00:00
Author: https://github.com/mobounya
Commit: 9e223f6dae
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/673
Reviewed-by: https://github.com/kalenikaliaksandr
Reviewed-by: https://github.com/kennethmyhra ✅
2 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <LibWeb/Bindings/MainThreadVM.h>
|
||||
#include <LibWeb/DOM/Document.h>
|
||||
#include <LibWeb/Fetch/Infrastructure/FetchRecord.h>
|
||||
#include <LibWeb/HTML/PromiseRejectionEvent.h>
|
||||
#include <LibWeb/HTML/Scripting/Environments.h>
|
||||
#include <LibWeb/HTML/Scripting/ExceptionReporter.h>
|
||||
|
@ -54,6 +55,7 @@ void EnvironmentSettingsObject::visit_edges(Cell::Visitor& visitor)
|
|||
visitor.visit(m_module_map);
|
||||
visitor.ignore(m_outstanding_rejected_promises_weak_set);
|
||||
m_realm_execution_context->visit_edges(visitor);
|
||||
visitor.visit(m_fetch_group);
|
||||
}
|
||||
|
||||
JS::ExecutionContext& EnvironmentSettingsObject::realm_execution_context()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue