|
@@ -9,6 +9,7 @@
|
|
|
|
|
|
#include <LibJS/Forward.h>
|
|
#include <LibJS/Forward.h>
|
|
#include <LibURL/URL.h>
|
|
#include <LibURL/URL.h>
|
|
|
|
+#include <LibWeb/Forward.h>
|
|
#include <LibWeb/HTML/EventLoop/EventLoop.h>
|
|
#include <LibWeb/HTML/EventLoop/EventLoop.h>
|
|
#include <LibWeb/HTML/Origin.h>
|
|
#include <LibWeb/HTML/Origin.h>
|
|
#include <LibWeb/HTML/Scripting/ModuleMap.h>
|
|
#include <LibWeb/HTML/Scripting/ModuleMap.h>
|
|
@@ -89,6 +90,7 @@ public:
|
|
JS::Realm& realm();
|
|
JS::Realm& realm();
|
|
JS::Object& global_object();
|
|
JS::Object& global_object();
|
|
EventLoop& responsible_event_loop();
|
|
EventLoop& responsible_event_loop();
|
|
|
|
+ Vector<JS::NonnullGCPtr<Fetch::Infrastructure::FetchRecord>>& fetch_group() { return m_fetch_group; }
|
|
|
|
|
|
RunScriptDecision can_run_script();
|
|
RunScriptDecision can_run_script();
|
|
void prepare_to_run_script();
|
|
void prepare_to_run_script();
|
|
@@ -135,6 +137,10 @@ private:
|
|
|
|
|
|
// https://html.spec.whatwg.org/multipage/webappapis.html#about-to-be-notified-rejected-promises-list
|
|
// https://html.spec.whatwg.org/multipage/webappapis.html#about-to-be-notified-rejected-promises-list
|
|
Vector<JS::Handle<JS::Promise>> m_about_to_be_notified_rejected_promises_list;
|
|
Vector<JS::Handle<JS::Promise>> m_about_to_be_notified_rejected_promises_list;
|
|
|
|
+
|
|
|
|
+ // https://fetch.spec.whatwg.org/#concept-fetch-record
|
|
|
|
+ // A fetch group holds an ordered list of fetch records
|
|
|
|
+ Vector<JS::NonnullGCPtr<Fetch::Infrastructure::FetchRecord>> m_fetch_group;
|
|
};
|
|
};
|
|
|
|
|
|
EnvironmentSettingsObject& incumbent_settings_object();
|
|
EnvironmentSettingsObject& incumbent_settings_object();
|