MCPcopy Index your code
hub / github.com/ampproject/amphtml / test-intersection-observer-polyfill.js

File test-intersection-observer-polyfill.js

test/unit/test-intersection-observer-polyfill.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {layoutRectLtwh} from '#core/dom/layout/rect';
2
3import {AmpDocService} from '#service/ampdoc-impl';
4import {installHiddenObserverForDoc} from '#service/hidden-observer-impl';

Callers

nothing calls this directly

Calls 12

layoutRectLtwhFunction · 0.90
intersectionRatioFunction · 0.90
beforeEachFunction · 0.85
funcFunction · 0.85
afterEachFunction · 0.85
expectFunction · 0.85
getIframeFunction · 0.70
insertFunction · 0.70
itFunction · 0.50
destroyMethod · 0.45

Tested by

no test coverage detected