MCPcopy Create free account
hub / github.com/ampproject/amphtml / handler

Function handler

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

Source from the content-addressed store, hash-verified

51
52 it('should resolve non-vendor visibilitychange event', () => {
53 function handler() {}
54 overridePropertyForDoc('onvisibilitychange', null);
55
56 addDocumentVisibilityChangeListener(doc, handler);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected