summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/badging.idl
blob: f34dfa7e04af9caedd85eecaed8acf68e65d1546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Badging API (https://w3c.github.io/badging/)

[SecureContext]
partial interface Navigator {
  Promise<undefined> setClientBadge(optional [EnforceRange] unsigned long long contents);
  Promise<undefined> clearClientBadge();
};

[SecureContext]
interface mixin NavigatorBadge {
  Promise<undefined> setAppBadge(optional [EnforceRange] unsigned long long contents);
  Promise<undefined> clearAppBadge();
};

Navigator includes NavigatorBadge;
WorkerNavigator includes NavigatorBadge;