mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Add service worker client to ServiceWorkerContainer
This commit is contained in:
parent
ade4fc1779
commit
0ece40c466
Notes:
github-actions[bot]
2024-09-07 09:39:51 +00:00
Author: https://github.com/ADKaster
Commit: 0ece40c466
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1293
Reviewed-by: https://github.com/awesomekling
2 changed files with 13 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue