summaryrefslogtreecommitdiff
path: root/ext/bg/js/api.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2019-09-05 20:21:07 -0700
committerAlex Yatskov <alex@foosoft.net>2019-09-05 20:21:07 -0700
commitcfc6363a01ee00e89866c54709006d6f55d093de (patch)
treea03b1f79ba220e93c248ad8284fb01dc95b676a9 /ext/bg/js/api.js
parent5347da528bd07166b4686f45440d80a77f4888a3 (diff)
parentc53263158b22f4be8e54696c4675f360f1813de8 (diff)
Merge branch 'master' into testing
Diffstat (limited to 'ext/bg/js/api.js')
-rw-r--r--ext/bg/js/api.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/bg/js/api.js b/ext/bg/js/api.js
index 4b2bacd7..b8ef4362 100644
--- a/ext/bg/js/api.js
+++ b/ext/bg/js/api.js
@@ -205,3 +205,8 @@ function apiForward(action, params, sender) {
chrome.tabs.sendMessage(tabId, {action, params}, (response) => resolve(response));
});
}
+
+function apiFrameInformationGet(sender) {
+ const frameId = sender.frameId;
+ return Promise.resolve({frameId});
+}