* @param {!Object} validationResult * @param {string} filename to use in rendering error messages. * @param {string} inputContents * @return {string}
(validationResult, filename, inputContents)
| 134 | * @return {string} |
| 135 | */ |
| 136 | function renderInlineResult(validationResult, filename, inputContents) { |
| 137 | asserts.assertExists(wasmModule, `WebAssembly is uninitialized`); |
| 138 | return wasmModule.renderInlineResult( |
| 139 | validationResult[PB_BASE64], |
| 140 | filename, |
| 141 | inputContents, |
| 142 | ); |
| 143 | } |
| 144 | |
| 145 | /** |
| 146 | * Checks if the given URL is an AMP cache URL |
nothing calls this directly
no outgoing calls
no test coverage detected