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

Function getIncomingDoc

validator/js/webui/webui.js:42–47  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

40// Get query param that may contain an encoded document to be validated. Decode
41// and return.
42function getIncomingDoc(params) {
43 if (!params || !params[DOC_INPUT_ATTR]) {
44 return null;
45 }
46 return atou(params[DOC_INPUT_ATTR]);
47}

Callers

nothing calls this directly

Calls 1

atouFunction · 0.85

Tested by

no test coverage detected