[epiphany/pgriffis/web-extension/tabs: 6/7] WebExtensions: Implement tabs.getCurrent()
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/pgriffis/web-extension/tabs: 6/7] WebExtensions: Implement tabs.getCurrent()
- Date: Thu, 2 Jun 2022 23:00:11 +0000 (UTC)
commit 5c709aa7ac7e29dea20b612f61cc79687e7d46e6
Author: Patrick Griffis <pgriffis igalia com>
Date: Thu Jun 2 17:38:02 2022 -0500
WebExtensions: Implement tabs.getCurrent()
embed/web-process-extension/resources/js/webextensions.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/embed/web-process-extension/resources/js/webextensions.js
b/embed/web-process-extension/resources/js/webextensions.js
index 952993ad6..ca9016851 100644
--- a/embed/web-process-extension/resources/js/webextensions.js
+++ b/embed/web-process-extension/resources/js/webextensions.js
@@ -22,6 +22,7 @@ window.browser.tabs = {
executeScript: function (...args) { return ephy_message ('tabs.executeScript', args); },
query: function (...args) { return ephy_message ('tabs.query', args); },
get: function (...args) { return ephy_message ('tabs.get', args); },
+ getCurrent: function (...args) { return undefined; /* Until we support Option Pages this is correct. */
},
insertCSS: function (...args) { return ephy_message ('tabs.insertCSS', args); },
remove: function (...args) { return ephy_message ('tabs.remove', args); },
removeCSS: function (...args) { return ephy_message ('tabs.removeCSS', args); },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]