Skip to content

Commit

Permalink
Editorial: Align with Web IDL specification (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
autokagami authored Oct 9, 2020
1 parent 2d9e0bb commit 556ca72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,15 +197,15 @@ <h2>
// Methods only exposed on documents.
[SecureContext]
partial interface Navigator {
Promise&lt;void&gt; setClientBadge(optional [EnforceRange] unsigned long long contents);
Promise&lt;void&gt; clearClientBadge();
Promise&lt;undefined&gt; setClientBadge(optional [EnforceRange] unsigned long long contents);
Promise&lt;undefined&gt; clearClientBadge();
};

// Methods exposed on both documents and service workers.
[SecureContext]
interface mixin NavigatorBadge {
Promise&lt;void&gt; setAppBadge(optional [EnforceRange] unsigned long long contents);
Promise&lt;void&gt; clearAppBadge();
Promise&lt;undefined&gt; setAppBadge(optional [EnforceRange] unsigned long long contents);
Promise&lt;undefined&gt; clearAppBadge();
};

Navigator includes NavigatorBadge;
Expand Down

0 comments on commit 556ca72

Please sign in to comment.