https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f773ece64eaf31324fb4f445df7f4b0522b5aba4 authored by Bobby Holley on 09 April 2018, 05:22:47 UTC
Add test for case insensitivity for content: attr() identifiers in html documents.
Tip revision: f773ece
budget-api.idl
// GENERATED CONTENT - DO NOT EDIT
// Content of this file was automatically extracted from the budget-api spec.
// See https://wicg.github.io/budget-api/

[Exposed=Window]
partial interface Navigator {
    [SameObject] readonly attribute BudgetService budget;
};

[Exposed=Worker]
partial interface WorkerNavigator {
    [SameObject] readonly attribute BudgetService budget;
};

[Exposed=(Window,Worker)]
interface BudgetService {
    Promise<double> getCost(OperationType operation);
    Promise<sequence<BudgetState>> getBudget();

    Promise<boolean> reserve(OperationType operation);
};

[Exposed=(Window,Worker)]
interface BudgetState {
  readonly attribute double budgetAt;
  readonly attribute DOMTimeStamp time;
};

enum OperationType {
  "silent-push"
};
back to top