Bug 1864896: Autofix unused function arguments (browser/extensions/webcompat). r=webcompat-reviewers,twisniewski

Differential Revision: https://phabricator.services.mozilla.com/D202956
This commit is contained in:
Dave Townsend 2024-03-19 14:59:20 +00:00
parent 95ccf713ef
commit 0901ab454a
14 changed files with 59 additions and 59 deletions

View file

@ -14,7 +14,7 @@ const portToAddon = (function () {
function connect() { function connect() {
port = browser.runtime.connect({ name: "AboutCompatTab" }); port = browser.runtime.connect({ name: "AboutCompatTab" });
port.onMessage.addListener(onMessageFromAddon); port.onMessage.addListener(onMessageFromAddon);
port.onDisconnect.addListener(e => { port.onDisconnect.addListener(() => {
port = undefined; port = undefined;
}); });
} }

View file

@ -225,7 +225,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1574564", bug: "1574564",
config: { config: {
matches: ["*://*.ceskatelevize.cz/*"], matches: ["*://*.ceskatelevize.cz/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -302,7 +302,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1622063", bug: "1622063",
config: { config: {
matches: ["*://wp1-ext.usps.gov/*"], matches: ["*://wp1-ext.usps.gov/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -429,7 +429,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1719859", bug: "1719859",
config: { config: {
matches: ["*://*.saxoinvestor.fr/*"], matches: ["*://*.saxoinvestor.fr/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -546,7 +546,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1753461", bug: "1753461",
config: { config: {
matches: ["*://serieson.naver.com/*"], matches: ["*://serieson.naver.com/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"; return "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36";
}, },
}, },
@ -565,7 +565,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1771200", bug: "1771200",
config: { config: {
matches: ["*://*.animalplanet.com/video/*"], matches: ["*://*.animalplanet.com/video/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -584,7 +584,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1779059", bug: "1779059",
config: { config: {
matches: ["*://member-m.lazada.co.id/address/*"], matches: ["*://member-m.lazada.co.id/address/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -603,7 +603,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1778168", bug: "1778168",
config: { config: {
matches: ["*://watch.antennaplus.gr/*"], matches: ["*://watch.antennaplus.gr/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA({ return UAHelpers.getDeviceAppropriateChromeUA({
desktopOS: "nonLinux", desktopOS: "nonLinux",
}); });
@ -623,7 +623,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1776897", bug: "1776897",
config: { config: {
matches: ["*://www.edencast.fr/zoomcast*"], matches: ["*://www.edencast.fr/zoomcast*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -641,7 +641,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1784361", bug: "1784361",
config: { config: {
matches: ["*://*.coldwellbankerhomes.com/*"], matches: ["*://*.coldwellbankerhomes.com/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -678,7 +678,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1819702", bug: "1819702",
config: { config: {
matches: ["*://*.feelgoodcontacts.com/*"], matches: ["*://*.feelgoodcontacts.com/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -694,7 +694,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1823966", bug: "1823966",
config: { config: {
matches: ["*://*.elearning.dmv.ca.gov/*"], matches: ["*://*.elearning.dmv.ca.gov/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -710,7 +710,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://*.admissions.nid.edu/*"], matches: ["*://*.admissions.nid.edu/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -726,7 +726,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://*.bankmandiri.co.id/*"], matches: ["*://*.bankmandiri.co.id/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -742,7 +742,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://*.frankfred.com/*"], matches: ["*://*.frankfred.com/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -758,7 +758,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://mobile.onvue.com/*"], matches: ["*://mobile.onvue.com/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -774,7 +774,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://*.avizia.com/*"], matches: ["*://*.avizia.com/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -790,7 +790,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://www.yourtexasbenefits.com/*"], matches: ["*://www.yourtexasbenefits.com/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -806,7 +806,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://www.free4talk.com/*"], matches: ["*://www.free4talk.com/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -822,7 +822,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://watch.indee.tv/*"], matches: ["*://watch.indee.tv/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -838,7 +838,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://viewer-ebook.books.com.tw/*"], matches: ["*://viewer-ebook.books.com.tw/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -854,7 +854,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://jelly.jd.com/*"], matches: ["*://jelly.jd.com/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -870,7 +870,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://*.kt.com/*"], matches: ["*://*.kt.com/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -886,7 +886,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://*.oirsa.org/*"], matches: ["*://*.oirsa.org/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -902,7 +902,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1827678", bug: "1827678",
config: { config: {
matches: ["*://onp.cloud.waterloo.ca/*"], matches: ["*://onp.cloud.waterloo.ca/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -927,7 +927,7 @@ const AVAILABLE_UA_OVERRIDES = [
"*://*.yebocasino.co.za/*", // 88409 "*://*.yebocasino.co.za/*", // 88409
"*://*.yabbycasino.com/*", // 108025 "*://*.yabbycasino.com/*", // 108025
], ],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -943,7 +943,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1830821", bug: "1830821",
config: { config: {
matches: ["*://*.webcartop.jp/*"], matches: ["*://*.webcartop.jp/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -959,7 +959,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1830821", bug: "1830821",
config: { config: {
matches: ["*://enjoy.point.auone.jp/*"], matches: ["*://enjoy.point.auone.jp/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -976,7 +976,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1836109", bug: "1836109",
config: { config: {
matches: ["*://watch.tonton.com.my/*"], matches: ["*://watch.tonton.com.my/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -993,7 +993,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1836112", bug: "1836112",
config: { config: {
matches: ["*://www.capcut.cn/editor*"], matches: ["*://www.capcut.cn/editor*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -1078,7 +1078,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1836182", bug: "1836182",
config: { config: {
matches: ["*://*.flatsatshadowglen.com/*"], matches: ["*://*.flatsatshadowglen.com/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -1097,7 +1097,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1849018", bug: "1849018",
config: { config: {
matches: ["*://*.carefirst.com/myaccount*"], matches: ["*://*.carefirst.com/myaccount*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -1115,7 +1115,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1850455", bug: "1850455",
config: { config: {
matches: ["*://*.frontgate.com/*"], matches: ["*://*.frontgate.com/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -1134,7 +1134,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1855088", bug: "1855088",
config: { config: {
matches: ["*://hrmis2.eghrmis.gov.my/*"], matches: ["*://hrmis2.eghrmis.gov.my/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -1152,7 +1152,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1855102", bug: "1855102",
config: { config: {
matches: ["*://my.southerncross.co.nz/*"], matches: ["*://my.southerncross.co.nz/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -1197,7 +1197,7 @@ const AVAILABLE_UA_OVERRIDES = [
"*://magazine.kruidvat.be/*", "*://magazine.kruidvat.be/*",
"*://folder.kruidvat.nl/*", "*://folder.kruidvat.nl/*",
], ],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -1215,7 +1215,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1864999", bug: "1864999",
config: { config: {
matches: ["*://*.autotrader.ca/*"], matches: ["*://*.autotrader.ca/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -1234,7 +1234,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1865000", bug: "1865000",
config: { config: {
matches: ["*://*.bmo.com/main/personal/*/getting-started/*"], matches: ["*://*.bmo.com/main/personal/*/getting-started/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -1252,7 +1252,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1865004", bug: "1865004",
config: { config: {
matches: ["*://*.digimart.net/*"], matches: ["*://*.digimart.net/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },
@ -1270,7 +1270,7 @@ const AVAILABLE_UA_OVERRIDES = [
bug: "1865007", bug: "1865007",
config: { config: {
matches: ["*://*.circle.ms/*"], matches: ["*://*.circle.ms/*"],
uaTransformer: originalUA => { uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA(); return UAHelpers.getDeviceAppropriateChromeUA();
}, },
}, },

View file

@ -7,7 +7,7 @@
/* global AppConstants, ExtensionAPI, XPCOMUtils */ /* global AppConstants, ExtensionAPI, XPCOMUtils */
this.appConstants = class extends ExtensionAPI { this.appConstants = class extends ExtensionAPI {
getAPI(context) { getAPI() {
return { return {
appConstants: { appConstants: {
getReleaseBranch: () => { getReleaseBranch: () => {

View file

@ -7,7 +7,7 @@
/* global ExtensionAPI, Services, XPCOMUtils */ /* global ExtensionAPI, Services, XPCOMUtils */
this.systemManufacturer = class extends ExtensionAPI { this.systemManufacturer = class extends ExtensionAPI {
getAPI(context) { getAPI() {
return { return {
systemManufacturer: { systemManufacturer: {
getManufacturer() { getManufacturer() {

View file

@ -63,7 +63,7 @@ class Manager {
"@mozilla.org/url-classifier/channel-classifier-service;1" "@mozilla.org/url-classifier/channel-classifier-service;1"
].getService(Ci.nsIChannelClassifierService); ].getService(Ci.nsIChannelClassifierService);
this._classifierObserver = {}; this._classifierObserver = {};
this._classifierObserver.observe = (subject, topic, data) => { this._classifierObserver.observe = (subject, topic) => {
switch (topic) { switch (topic) {
case "http-on-stop-request": { case "http-on-stop-request": {
const { channelId } = subject.QueryInterface(Ci.nsIIdentChannel); const { channelId } = subject.QueryInterface(Ci.nsIIdentChannel);
@ -163,7 +163,7 @@ function updateDFPIStatus() {
} }
this.trackingProtection = class extends ExtensionAPI { this.trackingProtection = class extends ExtensionAPI {
onShutdown(isAppShutdown) { onShutdown() {
if (manager) { if (manager) {
manager.stop(); manager.stop();
} }

View file

@ -31,5 +31,5 @@ Object.defineProperty(navigator.wrappedJSObject, "plugins", {
get: exportFunction(function () { get: exportFunction(function () {
return pluginsArray; return pluginsArray;
}, window), }, window),
set: exportFunction(function (val) {}, window), set: exportFunction(function () {}, window),
}); });

View file

@ -23,5 +23,5 @@ Object.defineProperty(window.wrappedJSObject, "loggingEnabled", {
return false; return false;
}, window), }, window),
set: exportFunction(function (value = {}) {}, window), set: exportFunction(function () {}, window),
}); });

View file

@ -27,7 +27,7 @@ const replaceStringInRequest = (
carryover = replaced.slice(-carryoverLength); carryover = replaced.slice(-carryoverLength);
}; };
filter.onstop = event => { filter.onstop = () => {
if (carryover.length) { if (carryover.length) {
filter.write(encoder.encode(carryover)); filter.write(encoder.encode(carryover));
} }

View file

@ -765,7 +765,7 @@ class Shims {
}); });
} }
async _onMessageFromShim(payload, sender, sendResponse) { async _onMessageFromShim(payload, sender) {
const { tab, frameId } = sender; const { tab, frameId } = sender;
const { id, url } = tab; const { id, url } = tab;
const { shimId, message } = payload; const { shimId, message } = payload;

View file

@ -87,7 +87,7 @@ class UAOverrides {
const listeners = { onBeforeSendHeaders: listener }; const listeners = { onBeforeSendHeaders: listener };
if (blocks) { if (blocks) {
const blistener = details => { const blistener = () => {
return { cancel: true }; return { cancel: true };
}; };

View file

@ -32,7 +32,7 @@ if (!window.CM_DDX) {
invokeFunctionWhenAvailable: a => { invokeFunctionWhenAvailable: a => {
a(); a();
}, },
gup: d => "", gup: _d => "",
privacy: { privacy: {
isDoNotTrackEnabled: () => false, isDoNotTrackEnabled: () => false,
setDoNotTrack: () => {}, setDoNotTrack: () => {},

View file

@ -124,9 +124,9 @@ if (!window.google?.ima?.VERSION) {
setPpid(p) { setPpid(p) {
this.#p = p; this.#p = p;
} }
setSessionId(s) {} setSessionId(_s) {}
setVpaidAllowed(a) {} setVpaidAllowed(_a) {}
setVpaidMode(m) {} setVpaidMode(_m) {}
} }
ImaSdkSettings.CompanionBackfillMode = { ImaSdkSettings.CompanionBackfillMode = {
ALWAYS: "always", ALWAYS: "always",
@ -174,7 +174,7 @@ if (!window.google?.ima?.VERSION) {
getVersion() { getVersion() {
return VERSION; return VERSION;
} }
requestAds(r, c) { requestAds(_r, _c) {
// If autoplay is disabled and the page is trying to autoplay a tracking // If autoplay is disabled and the page is trying to autoplay a tracking
// ad, then IMA fails with an error, and the page is expected to request // ad, then IMA fails with an error, and the page is expected to request
// ads again later when the user clicks to play. // ads again later when the user clicks to play.
@ -222,7 +222,7 @@ if (!window.google?.ima?.VERSION) {
getVolume() { getVolume() {
return this.#volume; return this.#volume;
} }
init(w, h, m, e) {} init(_w, _h, _m, _e) {}
isCustomClickTrackingUsed() { isCustomClickTrackingUsed() {
return false; return false;
} }
@ -231,7 +231,7 @@ if (!window.google?.ima?.VERSION) {
} }
pause() {} pause() {}
requestNextAdBreak() {} requestNextAdBreak() {}
resize(w, h, m) {} resize(_w, _h, _m) {}
resume() {} resume() {}
setVolume(v) { setVolume(v) {
this.#volume = v; this.#volume = v;
@ -259,7 +259,7 @@ if (!window.google?.ima?.VERSION) {
}); });
} }
stop() {} stop() {}
updateAdsRenderingSettings(s) {} updateAdsRenderingSettings(_s) {}
} }
class AdsRenderingSettings {} class AdsRenderingSettings {}

View file

@ -46,7 +46,7 @@ if (!window.ramblerIdHelper) {
})(); })();
const ramblerIdHelper = { const ramblerIdHelper = {
getProfileInfo: (successCallback, errorCallback) => { getProfileInfo: (successCallback, _errorCallback) => {
successCallback({}); successCallback({});
}, },
openAuth: () => { openAuth: () => {

View file

@ -26,7 +26,7 @@ if (!window.WebTrends) {
return this; return this;
} }
DCSext = {}; DCSext = {};
init(obj) { init(_obj) {
return this; return this;
} }
track() { track() {