badging
editWPT coverage of the tests of badging at the revision c8fa86fb13d4. The tests link to their results in the browsers on wpt.fyi. The tentative tests (experimental features), the reftests and the crash tests are listed separately from the stable tests.
| Group | Passing | Tests | Disabled | Pass rate |
|---|---|---|---|---|
| Stable | 3 | 5 | 0 | 60% |
| Tentative | 0 | 0 | 0 | – |
| Reftests | 0 | 0 | 0 | – |
| Crash tests | 0 | 0 | 0 | – |
| All | 3 | 5 | 0 | 60% |
Failure reasons
The tests that do not pass (failing or disabled), by kind of reason. A test with several reasons counts once per kind.
- TEST BUG: 2
Stable tests
| Test | Result | Subtests | Kind | Description |
|---|---|---|---|---|
badge-error.https.any.js | Fail | 2 / 4 | TEST BUG | expects setAppBadge([]) to reject with a TypeError, but an empty array converts to the number 0 (ToNumber(''), https://webidl.spec.whatwg.org/#es-unsigned-long-long), which clears the badge |
badge-success.https.any.js | Pass | 12 / 12 | ||
idlharness.https.any.js | Pass | 44 / 44 | ||
non-fully-active.https.html | Pass | 1 / 1 | ||
setAppBadge_cross_origin.sub.https.html | Fail | 0 / 6 | TEST BUG | calls postMessage() on the iframe element instead of its contentWindow: every subtest throws a TypeError |