| 136 | } |
| 137 | var bridgeLog = new EdgeBridgeDebugLog(); |
| 138 | class EdgeChromeAppBridge { |
| 139 | getDetails() { |
| 140 | return bridgeLog.DoActionAndLog(() => { |
| 141 | return EdgeChromeRuntimeBridge.prototype.getManifest(); |
| 142 | }, "app.getManifest", undefined, "runtime.getManifest"); |
| 143 | } |
| 144 | get isInstalled() { return bridgeLog.DoActionAndLog(() => { throw "app.isInstalled is not available in Edge"; }, "app.isInstalled"); } |
| 145 | getIsInstalled() { return bridgeLog.DoActionAndLog(() => { throw "app.getIsInstalled is not available in the Edge"; }, "app.getIsInstalled"); } |
| 146 | installState() { return bridgeLog.DoActionAndLog(() => { throw "app.installState is not available in Edge"; }, "app.installState"); } |
| 147 | runningState() { return bridgeLog.DoActionAndLog(() => { throw "app.runningState is not available in Edge"; }, "app.runningState"); } |
| 148 | } |
| 149 | class EdgeBrowserActionBridge { |
| 150 | get onClicked() { return bridgeLog.DoActionAndLog(() => { return myBrowser.browserAction.onClicked; }, "browserAction.onClicked"); } |
| 151 | disable(tabId) { |
nothing calls this directly
no outgoing calls
no test coverage detected