mirror of
https://github.com/servo/servo.git
synced 2025-10-15 07:50:20 +01:00
21 lines
716 B
Text
21 lines
716 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into reffy-reports
|
|
// (https://github.com/tidoust/reffy-reports)
|
|
// Source: Badging API (https://w3c.github.io/badging/)
|
|
|
|
// Methods only exposed on documents.
|
|
[SecureContext]
|
|
partial interface Navigator {
|
|
Promise<void> setClientBadge(optional [EnforceRange] unsigned long long contents);
|
|
Promise<void> clearClientBadge();
|
|
};
|
|
|
|
// Methods exposed on both documents and service workers.
|
|
[SecureContext]
|
|
interface mixin NavigatorBadge {
|
|
Promise<void> setAppBadge(optional [EnforceRange] unsigned long long contents);
|
|
Promise<void> clearAppBadge();
|
|
};
|
|
|
|
Navigator includes NavigatorBadge;
|
|
WorkerNavigator includes NavigatorBadge;
|