Web Budget API
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
BudgetService
|
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 |