https://wicg.github.io/budget-api/#budget-service-interface
Today we expose it on the Window global (so you can feature detect in documents), but not on the Worker global. The specification uses the [Exposed] annotation for this.
Simple feature detection test:
assert_true('BudgetService' in self);
Comment 1 by peter@chromium.org
, Dec 7 2016