W3cubDocs

/DOM

BudgetState

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

The BudgetState interface of the the Web Budget API provides the amount of the user agent's processing budget at a specific point in time.

Properties

BudgetState.budgetAt
Returns the anticipated processing budget at a specific time.
BudgetState.time
Returns a timestamp at which the budgetAt value is valid.

Methods

None.

Specifications

Specification Status Comment
Web Budget API
The definition of 'BudgetState' in that specification.
Draft Initial definition.

Browser Compatibility Update compatibility data on GitHub

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/BudgetState