mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb/ServiceWorker: Immediately finish job if resources didn't change
This commit is contained in:
parent
63f17a4f12
commit
9bc022c229
Notes:
github-actions[bot]
2025-04-21 21:27:59 +00:00
Author: https://github.com/shannonbooth
Commit: 9bc022c229
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4279
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 16 additions and 2 deletions
|
@ -41,6 +41,7 @@ public:
|
|||
StorageAPI::StorageKey const& storage_key() const { return m_storage_key; }
|
||||
URL::URL const& scope_url() const { return m_scope_url; }
|
||||
Bindings::ServiceWorkerUpdateViaCache update_via_cache() const { return m_update_via_cache_mode; }
|
||||
void set_update_via_cache(Bindings::ServiceWorkerUpdateViaCache update_visa_cache_mode) { m_update_via_cache_mode = update_visa_cache_mode; }
|
||||
|
||||
void set_last_update_check_time(MonotonicTime time) { m_last_update_check_time = time; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue