From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- browser/components/preferences/dialogs/addEngine.js | 2 +- browser/components/preferences/dialogs/blocklists.js | 14 +++++++------- .../components/preferences/dialogs/clearSiteData.js | 2 +- browser/components/preferences/dialogs/colors.xhtml | 10 ++++++++-- browser/components/preferences/dialogs/connection.js | 10 ++++++++++ .../components/preferences/dialogs/connection.xhtml | 14 +++++++++++++- browser/components/preferences/dialogs/containers.js | 4 ++-- .../components/preferences/dialogs/dohExceptions.js | 1 - browser/components/preferences/dialogs/fonts.xhtml | 4 +++- .../preferences/dialogs/translationExceptions.js | 20 ++++++++++---------- .../components/preferences/dialogs/translations.js | 20 ++++++++++---------- 11 files changed, 65 insertions(+), 36 deletions(-) (limited to 'browser/components/preferences/dialogs') diff --git a/browser/components/preferences/dialogs/addEngine.js b/browser/components/preferences/dialogs/addEngine.js index 1faf8622b3..6b9d8f663b 100644 --- a/browser/components/preferences/dialogs/addEngine.js +++ b/browser/components/preferences/dialogs/addEngine.js @@ -26,7 +26,7 @@ let gAddEngineDialog = { document.addEventListener("dialogaccept", this.onAddEngine.bind(this)); }, - async onAddEngine(event) { + async onAddEngine() { let url = document .getElementById("engineUrl") .value.replace(/%s/, "{searchTerms}"); diff --git a/browser/components/preferences/dialogs/blocklists.js b/browser/components/preferences/dialogs/blocklists.js index c28ee09f96..89e21c476f 100644 --- a/browser/components/preferences/dialogs/blocklists.js +++ b/browser/components/preferences/dialogs/blocklists.js @@ -26,28 +26,28 @@ var gBlocklistManager = { return ""; }, - isSeparator(index) { + isSeparator() { return false; }, isSorted() { return false; }, - isContainer(index) { + isContainer() { return false; }, - setTree(tree) {}, - getImageSrc(row, column) {}, + setTree() {}, + getImageSrc() {}, getCellValue(row, column) { if (column.id == "selectionCol") { return gBlocklistManager._blockLists[row].selected; } return undefined; }, - cycleHeader(column) {}, - getRowProperties(row) { + cycleHeader() {}, + getRowProperties() { return ""; }, - getColumnProperties(column) { + getColumnProperties() { return ""; }, getCellProperties(row, column) { diff --git a/browser/components/preferences/dialogs/clearSiteData.js b/browser/components/preferences/dialogs/clearSiteData.js index 061534b52a..664ad114fa 100644 --- a/browser/components/preferences/dialogs/clearSiteData.js +++ b/browser/components/preferences/dialogs/clearSiteData.js @@ -58,7 +58,7 @@ var gClearSiteDataDialog = { ); }, - onCheckboxCommand(event) { + onCheckboxCommand() { this._dialog.setAttribute( "buttondisabledaccept", !(this._clearSiteDataCheckbox.checked || this._clearCacheCheckbox.checked) diff --git a/browser/components/preferences/dialogs/colors.xhtml b/browser/components/preferences/dialogs/colors.xhtml index 1720cf3498..3181dd5c6d 100644 --- a/browser/components/preferences/dialogs/colors.xhtml +++ b/browser/components/preferences/dialogs/colors.xhtml @@ -41,7 +41,11 @@ - +