summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/badging.idl
blob: 8b401e057ade5ce17ced40139a270b27779296b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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]
interface mixin NavigatorBadge {
  Promise<undefined> setAppBadge(
    optional [EnforceRange] unsigned long long contents
  );
  Promise<undefined> clearAppBadge();
};

Navigator includes NavigatorBadge;
WorkerNavigator includes NavigatorBadge;