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

Method constructor

test/unit/test-performance.js:816–820  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

814 // A fake implementation of PerformanceObserver.
815 class PerformanceObserverImpl {
816 constructor(callback) {
817 this.options = {};
818 this.callback_ = callback;
819 this.isObserving = false;
820 }
821
822 observe(options) {
823 this.options = options;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected