summaryrefslogtreecommitdiffstats
path: root/browser/extensions/webcompat/shims/google-ima.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /browser/extensions/webcompat/shims/google-ima.js
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/extensions/webcompat/shims/google-ima.js')
-rw-r--r--browser/extensions/webcompat/shims/google-ima.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/browser/extensions/webcompat/shims/google-ima.js b/browser/extensions/webcompat/shims/google-ima.js
index 1f5e56239d..c9caef2182 100644
--- a/browser/extensions/webcompat/shims/google-ima.js
+++ b/browser/extensions/webcompat/shims/google-ima.js
@@ -124,9 +124,9 @@ if (!window.google?.ima?.VERSION) {
setPpid(p) {
this.#p = p;
}
- setSessionId(s) {}
- setVpaidAllowed(a) {}
- setVpaidMode(m) {}
+ setSessionId(_s) {}
+ setVpaidAllowed(_a) {}
+ setVpaidMode(_m) {}
}
ImaSdkSettings.CompanionBackfillMode = {
ALWAYS: "always",
@@ -174,7 +174,7 @@ if (!window.google?.ima?.VERSION) {
getVersion() {
return VERSION;
}
- requestAds(r, c) {
+ requestAds(_r, _c) {
// 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
// ads again later when the user clicks to play.
@@ -222,7 +222,7 @@ if (!window.google?.ima?.VERSION) {
getVolume() {
return this.#volume;
}
- init(w, h, m, e) {}
+ init(_w, _h, _m, _e) {}
isCustomClickTrackingUsed() {
return false;
}
@@ -231,7 +231,7 @@ if (!window.google?.ima?.VERSION) {
}
pause() {}
requestNextAdBreak() {}
- resize(w, h, m) {}
+ resize(_w, _h, _m) {}
resume() {}
setVolume(v) {
this.#volume = v;
@@ -259,7 +259,7 @@ if (!window.google?.ima?.VERSION) {
});
}
stop() {}
- updateAdsRenderingSettings(s) {}
+ updateAdsRenderingSettings(_s) {}
}
class AdsRenderingSettings {}