idle-detection

edit

WPT coverage of the tests of idle-detection 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
Stable710070%
Tentative12050%
Reftests000–
All812067%

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: 1
  • TEST RUNNER: 3

Stable tests

TestResultSubtestsKindDescription
idle-detection-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.htmlPass4 / 4
idle-detection-allowed-by-permissions-policy-attribute.https.sub.htmlPass4 / 4
idle-detection-allowed-by-permissions-policy.https.sub.htmlPass6 / 6
idle-detection-default-permissions-policy.https.sub.htmlPass3 / 3
idle-detection-detached-frame.https.htmlPass1 / 1
idle-detection-disabled-by-permissions-policy.https.sub.htmlFail4 / 6TEST BUGexpects a SecurityError (Chromium); the specification rejects start() with a NotAllowedError when the document is not allowed to use the idle-detection feature
idlharness-worker.https.window.jsPass22 / 22
idlharness.https.window.jsPass21 / 21
interceptor.https.htmlFail0 / 10TEST RUNNERneeds the Chromium MojoJS mock of the idle detection service (/resources/chromium/mock-idle-detection.js, expect(addMonitor)); the idle state of the library is set by the host with IdleStateProvider, which the unit tests cover
page-visibility.https.htmlFail0 / 1TEST RUNNERneeds the Chromium MojoJS mock of the idle detection service (/resources/chromium/mock-idle-detection.js, expect(addMonitor)); the idle state of the library is set by the host with IdleStateProvider, which the unit tests cover

Tentative tests

TestResultSubtestsKindDescription
basics.tentative.https.window.jsPass12 / 12
idle-permission.tentative.https.window.jsFail2 / 3TEST RUNNERthe runner dismisses the permission prompts, and the library answers a dismissed prompt with denied, so IdleDetector.requestPermission() resolves with denied instead of prompt