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

Function getRootNode

test/unit/test-viewer.js:91–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89 documentElement: {style: {}},
90 title: 'Awesome doc',
91 getRootNode() {
92 return windowApi.document;
93 },
94 querySelector() {
95 return parseUrlDeprecated('http://www.example.com/');
96 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected