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

Method constructor

third_party/subscriptions-project/swg.js:15252–15255  ·  view source on GitHub ↗
(window)

Source from the content-addressed store, hash-verified

15250 */
15251class PostMessageService {
15252 constructor(window) {
15253 /** @private @const {!Window} */
15254 this.window_ = window;
15255 }
15256
15257 /**
15258 * Passthrough to Window#postMessage. See Window#postMessage DOM API

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected