MCPcopy Create free account
hub / github.com/ampproject/amphtml / test-visibility.js

File test-visibility.js

test/unit/core/document/test-visibility.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {
2 addDocumentVisibilityChangeListener,
3 getDocumentVisibilityState,
4 isDocumentHidden,

Callers

nothing calls this directly

Calls 8

isDocumentHiddenFunction · 0.90
beforeEachFunction · 0.85
expectFunction · 0.85
overridePropertyForDocFunction · 0.85
itFunction · 0.50

Tested by

no test coverage detected