From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- caps/tests/mochitest/test_addonMayLoad.html | 2 +- caps/tests/mochitest/test_bug995943.xhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'caps/tests/mochitest') diff --git a/caps/tests/mochitest/test_addonMayLoad.html b/caps/tests/mochitest/test_addonMayLoad.html index 2d5e5e59f1..74dc8134b4 100644 --- a/caps/tests/mochitest/test_addonMayLoad.html +++ b/caps/tests/mochitest/test_addonMayLoad.html @@ -23,7 +23,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1180921 baseURL: `file:///{id}`, allowedOrigins: new MatchPatternSet([`*://${subdomain}.example.org/*`]), - localizeCallback(string) {}, + localizeCallback() {}, }); } diff --git a/caps/tests/mochitest/test_bug995943.xhtml b/caps/tests/mochitest/test_bug995943.xhtml index 0ba95f548d..fc7c0b022f 100644 --- a/caps/tests/mochitest/test_bug995943.xhtml +++ b/caps/tests/mochitest/test_bug995943.xhtml @@ -33,7 +33,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=995943 function checkLoadFileURI(domain, shouldLoad) { debug("Invoking checkLoadFileURI with domain: " + domain + ", shouldLoad: " + shouldLoad); - return new Promise(function(resolve, reject) { + return new Promise(function(resolve) { $('ifr').addEventListener('load', function l1() { debug("Invoked l1 for " + domain); $('ifr').removeEventListener('load', l1); -- cgit v1.2.3