[epiphany/pgriffis/web-extension-beastify: 3/5] WebExtensions: Set tabs.TAB_ID_NONE
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/pgriffis/web-extension-beastify: 3/5] WebExtensions: Set tabs.TAB_ID_NONE
- Date: Sun, 22 May 2022 23:10:43 +0000 (UTC)
commit 8ad131ec505b1991414a2b3ea788ad65812b9ba0
Author: Patrick Griffis <pgriffis igalia com>
Date: Sun May 22 13:41:54 2022 -0500
WebExtensions: Set tabs.TAB_ID_NONE
Its unused but an expected API.
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 3420889f8..4c1e221e0 100644
--- a/embed/web-process-extension/resources/js/webextensions.js
+++ b/embed/web-process-extension/resources/js/webextensions.js
@@ -47,6 +47,7 @@ window.browser.tabs = {
addListener: function (cb) { tabs_listeners.push({callback: cb}); }
},
sendMessage: function (...args) { return ephy_message ('tabs.sendMessage', args, null); },
+ TAB_ID_NONE: -1,
};
window.browser.notifications = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]