badging

edit

WPT coverage of the tests of badging at the revision 5602b0f210e3. The tests link to their results in the browsers on wpt.fyi. The tentative tests (experimental features) and the reftests are listed separately from the stable tests.

GroupPassingTestsDisabledPass rate
Stable35060%
Tentative000–
Reftests000–
All35060%

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

TestResultSubtestsKindDescription
badge-error.https.any.jsFail2 / 4TEST BUGexpects 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.jsPass12 / 12
idlharness.https.any.jsPass44 / 44
non-fully-active.https.htmlPass1 / 1
setAppBadge_cross_origin.sub.https.htmlFail0 / 6TEST BUGcalls postMessage() on the iframe element instead of its contentWindow: every subtest throws a TypeError