LibWeb: Rename ServiceWorker::ServiceWorker to ServiceWorkerRecord

This is to resolve naming conflicts between the ServiceWorker JS exposed
object and the internal representation of a ServiceWorker which is going
to be stored cross process.
This commit is contained in:
Shannon Booth 2024-11-30 17:27:25 +13:00 committed by Andreas Kling
commit 2918405360
Notes: github-actions[bot] 2024-11-30 10:20:48 +00:00
5 changed files with 10 additions and 10 deletions

View file

@ -90,7 +90,7 @@ void Registration::remove(StorageAPI::StorageKey const& key, URL::URL const& sco
}
// https://w3c.github.io/ServiceWorker/#get-newest-worker
ServiceWorker* Registration::newest_worker() const
ServiceWorkerRecord* Registration::newest_worker() const
{
// FIXME: 1. Run the following steps atomically.