LibWeb: Add service worker client to ServiceWorkerContainer

This commit is contained in:
Andrew Kaster 2024-09-05 14:34:48 -06:00 committed by Andreas Kling
commit 0ece40c466
Notes: github-actions[bot] 2024-09-07 09:39:51 +00:00
2 changed files with 13 additions and 1 deletions

View file

@ -22,7 +22,7 @@ class ServiceWorkerContainer : public DOM::EventTarget {
public:
[[nodiscard]] static JS::NonnullGCPtr<ServiceWorkerContainer> create(JS::Realm& realm);
virtual ~ServiceWorkerContainer() override = default;
virtual ~ServiceWorkerContainer() override;
#undef __ENUMERATE
#define __ENUMERATE(attribute_name, event_name) \
@ -35,6 +35,9 @@ private:
explicit ServiceWorkerContainer(JS::Realm&);
virtual void initialize(JS::Realm&) override;
virtual void visit_edges(Cell::Visitor&) override;
JS::NonnullGCPtr<EnvironmentSettingsObject> m_service_worker_client;
};
}