← Back to release summary

Pause Worklets and Dedicated Workers Execution on document freeze

Category
Performance
Type
New or changed feature
Status
In developer trial (Behind a flag) (Chrome 76)
Intent stage
Start prototyping

WPT details: https://wpt.fyi/results/lifecycle/worker-dispay-none.tentative.html?label=master&product=chrome%5Bexperimental%5D&product=edge&product=firefox%5Bexperimental%5D&product=safari%5Bexperimental%5D&aligned

Summary

Dedicated workers and worklets continue to execute even though documents may be frozen due to the page lifecycle.

Motivation

All threads in a frozen document should be frozen.

Standards & signals

Ecosystem

Docs: https://github.com/WICG/page-lifecycle/pull/35

Explainers: https://github.com/WICG/page-lifecycle/pull/35

View on chromestatus.com