summaryrefslogtreecommitdiffstats
path: root/mobile/android/components/extensions/ext-tabs.js
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/components/extensions/ext-tabs.js')
-rw-r--r--mobile/android/components/extensions/ext-tabs.js15
1 files changed, 7 insertions, 8 deletions
diff --git a/mobile/android/components/extensions/ext-tabs.js b/mobile/android/components/extensions/ext-tabs.js
index 88d3d9e83a..66c7417379 100644
--- a/mobile/android/components/extensions/ext-tabs.js
+++ b/mobile/android/components/extensions/ext-tabs.js
@@ -28,7 +28,7 @@ const tabListener = {
}
},
- onLocationChange(browser, webProgress, request, locationURI, flags) {
+ onLocationChange(browser, webProgress, request) {
if (webProgress.isTopLevel) {
const { tab } = browser.ownerGlobal;
@@ -103,7 +103,7 @@ this.tabs = class extends ExtensionAPIPersistent {
}
PERSISTENT_EVENTS = {
- onActivated({ fire, context }, params) {
+ onActivated({ fire, context }) {
const listener = (eventName, event) => {
const { windowId, tabId, isPrivate } = event;
if (isPrivate && !context.privateBrowsingAllowed) {
@@ -140,7 +140,7 @@ this.tabs = class extends ExtensionAPIPersistent {
});
},
}),
- onUpdated({ fire }, params) {
+ onUpdated({ fire }) {
const { tabManager } = this.extension;
const restricted = ["url", "favIconUrl", "title"];
@@ -328,7 +328,7 @@ this.tabs = class extends ExtensionAPIPersistent {
onAttached: new EventManager({
context,
name: "tabs.onAttached",
- register: fire => {
+ register: () => {
return () => {};
},
}).api(),
@@ -336,7 +336,7 @@ this.tabs = class extends ExtensionAPIPersistent {
onDetached: new EventManager({
context,
name: "tabs.onDetached",
- register: fire => {
+ register: () => {
return () => {};
},
}).api(),
@@ -351,7 +351,7 @@ this.tabs = class extends ExtensionAPIPersistent {
onReplaced: new EventManager({
context,
name: "tabs.onReplaced",
- register: fire => {
+ register: () => {
return () => {};
},
}).api(),
@@ -359,7 +359,7 @@ this.tabs = class extends ExtensionAPIPersistent {
onMoved: new EventManager({
context,
name: "tabs.onMoved",
- register: fire => {
+ register: () => {
return () => {};
},
}).api(),
@@ -378,7 +378,6 @@ this.tabs = class extends ExtensionAPIPersistent {
index,
openInReaderMode,
pinned,
- title,
url,
} = {}) {
if (active === null) {