fix: enable navigator.setAppBadge/clearAppBadge (#27067)
This commit is contained in:
parent
8b74361b0c
commit
c5a41defbd
19 changed files with 481 additions and 41 deletions
|
@ -22,6 +22,13 @@ describe('chromium feature', () => {
|
|||
expect(() => {
|
||||
navigator.setAppBadge(42);
|
||||
}).to.not.throw();
|
||||
expect(() => {
|
||||
// setAppBadge with no argument should show dot
|
||||
navigator.setAppBadge();
|
||||
}).to.not.throw();
|
||||
expect(() => {
|
||||
navigator.clearAppBadge();
|
||||
}).to.not.throw();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue