MCPcopy
hub / github.com/ampproject/amphtml / markUnresolved

Method markUnresolved

src/custom-element.js:389–393  ·  view source on GitHub ↗

* When the document is ready (meaning all external resources are loaded or * failed), we mark any stubbed elements as unresolved. If they haven't * been upgraded yet (or pending upgrade or deferredBuild elements), then * the extension failed to load.

()

Source from the content-addressed store, hash-verified

387 * the extension failed to load.
388 */
389 markUnresolved() {
390 if (!this.implClass_) {
391 this.classList.add('amp-unresolved', 'i-amphtml-unresolved');
392 }
393 }
394
395 /**
396 * Time delay imposed by baseElement upgradeCallback. If no

Callers 2

connectedCallbackMethod · 0.95
markUnresolvedElementsFunction · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected