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

Function native

test/unit/polyfills/test-intersection-observer.js:130–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128 it('Unsupported root:document: should return native when non-document root requested', () => {
129 const {win} = env;
130 const native = function () {};
131 win.IntersectionObserver = native;
132 install(win);
133 expect(new win.IntersectionObserver(() => {})).instanceOf(native);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected