Background work API
- Category
- Miscellaneous
- Type
- New or changed feature
- Status
- Proposed (Chrome Proposed)
- Intent stage
- None
Summary
Enables web applications to declare an intent to perform critical, uninterrupted tasks when a page is backgrounded. It provides developers with a structured way to request temporary exemption from aggressive background throttling for essential operations like completing large photo uploads, processing data, or syncing complex application state. This enables reliable background execution without requiring developers to resort to resource-intensive workarounds to prevent the browser from pausing or discarding the tab.
Motivation
Browsers aggressively throttle timers, pause JavaScript via page freezing, and discard tabs on hidden pages to optimize device resources. While this behavior protects battery and memory, it silently disrupts legitimate, user-initiated background tasks such as large media uploads or persistent enterprise console connections. Web developers currently resort to inefficient workarounds—like playing silent audio or maintaining dummy WebRTC connections—to keep tabs alive. These hacks are opaque to users and consume more battery than a native mechanism. A dedicated background permission provides an explicit, user-controlled signal that allows critical application logic and workers to continue running reliably without forcing developers to game browser heuristics.
Standards & signals
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://g-issues.chromium.org/issues/537726566
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=background-work-api
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Background%20work%20API
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Background%20work%20API
- Baseline status: https://webstatus.dev/?q=Background%20work%20API
Explainers: https://github.com/explainers-by-googlers/background-work-api