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

Function manageWin

3p/environment.js:31–38  ·  view source on GitHub ↗
(win)

Source from the content-addressed store, hash-verified

29 * @param {!Window} win
30 */
31export function manageWin(win) {
32 try {
33 manageWin_(win);
34 } catch (e) {
35 // We use a try block, because the ad integrations often swallow errors.
36 console./*OK*/ error(e.message, e.stack);
37 }
38}
39
40/**
41 * @param {!Window} win

Callers 5

draw3pFunction · 0.90
instrumentDocWriteFunction · 0.85
instrumentSrcdocFunction · 0.85
instrumentIframeWindowFunction · 0.85

Calls 2

manageWin_Function · 0.85
errorMethod · 0.45

Tested by

no test coverage detected