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

Method constructor

testing/helpers/service.js:237–240  ·  view source on GitHub ↗
(win, opt_rootNode)

Source from the content-addressed store, hash-verified

235
236export class BrowserController {
237 constructor(win, opt_rootNode) {
238 this.win_ = win;
239 this.rootNode_ = opt_rootNode || this.win_.document;
240 }
241
242 wait(duration) {
243 return new Promise((resolve) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected