W3cubDocs

/DOM

Web Budget API

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Concepts and Usage

TBD

Interfaces

BudgetService
Provides a programmatic interface to the user agent’s budget service. It is available in both document and worker environments.
BudgetState
Provides the amount of the user agent's processing budget at a specific point in time.

Specifications

Specification Status Comment
Web Budget API Draft Initial definition.

Browser compatibilityUpdate compatibility data on GitHubUpdate compatibility data on GitHub

BudgetService

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 55 ? ? ? 42 ?
getBudget 55 ? ? ? 42 ?
getCost 55 ? ? ? 42 ?
reserve 55 ? ? ? 42 ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support 55 55 ? ? 42 ? 6.0
getBudget 55 55 ? ? 42 ? 6.0
getCost 55 55 ? ? 42 ? 6.0
reserve 55 55 ? ? 42 ? 6.0

BudgetState

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 60 ? ? ? No ?
budgetAt 60 ? ? ? No ?
time 60 ? ? ? No ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support No 60 ? ? No ? No
budgetAt No 60 ? ? No ? No
time No 60 ? ? No ? No

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Web_Budget_API