MCPcopy Create free account
hub / github.com/Justineo/github-hovercard / FakeEvent

Class FakeEvent

extensions/edge/contentScriptsAPIBridge.js:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 }
17};
18class FakeEvent {
19 addListener(callback) { }
20 addRules(rules, callback) { }
21 getRules(ruleIdentifiers, callback) { }
22 hasListener(callback) { return false; }
23 hasListeners() { return false; }
24 removeRules(ruleIdentifiers, callback) { }
25 removeListener(callback) { }
26}
27class EdgeBridgeHelper {
28 constructor() {
29 this.fakeEvent = new FakeEvent();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected