diff options
Diffstat (limited to 'ext/js/comm/cross-frame-api.js')
| -rw-r--r-- | ext/js/comm/cross-frame-api.js | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/js/comm/cross-frame-api.js b/ext/js/comm/cross-frame-api.js index 4b4e9419..33a91c89 100644 --- a/ext/js/comm/cross-frame-api.js +++ b/ext/js/comm/cross-frame-api.js @@ -313,6 +313,20 @@ export class CrossFrameAPI {          this._frameId = frameId;      } +    /** +     * @type {?number} +     */ +    get tabId() { +        return this._tabId; +    } + +    /** +     * @type {?number} +     */ +    get frameId() { +        return this._frameId; +    } +      /** */      prepare() {          chrome.runtime.onConnect.addListener(this._onConnect.bind(this));  |