MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / establishConnection

Method establishConnection

src/content-scripts/encryptFrame.js:49–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 }
48
49 establishConnection() {
50 this.port = EventHandler.connect(`eFrame-${this.id}`, this);
51 // attach extension unload handler
52 this.port.onUninstall.addListener(this.closeFrame.bind(this, false));
53 }
54
55 registerEventListener() {
56 // attach event handlers

Callers 3

attachToMethod · 0.95

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected