mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-16 15:21:56 +00:00
LibWeb: Move ServiceWorker classes to ServiceWorker namespace
These are defined by the ServiceWorker spec, not the HTML one.
This commit is contained in:
parent
2918405360
commit
4417f63ca0
Notes:
github-actions[bot]
2024-11-30 10:20:43 +00:00
Author: https://github.com/shannonbooth
Commit: 4417f63ca0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2653
19 changed files with 44 additions and 37 deletions
|
@ -47,10 +47,10 @@ GC::Ref<MediaCapabilitiesAPI::MediaCapabilities> WorkerNavigator::media_capabili
|
|||
return *m_media_capabilities;
|
||||
}
|
||||
|
||||
GC::Ref<ServiceWorkerContainer> WorkerNavigator::service_worker()
|
||||
GC::Ref<ServiceWorker::ServiceWorkerContainer> WorkerNavigator::service_worker()
|
||||
{
|
||||
if (!m_service_worker_container)
|
||||
m_service_worker_container = realm().create<ServiceWorkerContainer>(realm());
|
||||
m_service_worker_container = realm().create<ServiceWorker::ServiceWorkerContainer>(realm());
|
||||
return *m_service_worker_container;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue