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 --- browser/fxr/content/fxrui.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'browser/fxr') diff --git a/browser/fxr/content/fxrui.js b/browser/fxr/content/fxrui.js index dd0f55767a..641f3cd126 100644 --- a/browser/fxr/content/fxrui.js +++ b/browser/fxr/content/fxrui.js @@ -98,7 +98,7 @@ function setupBrowser() { "nsIWebProgressListener", "nsISupportsWeakReference", ]), - onLocationChange(aWebProgress, aRequest, aLocation, aFlags) { + onLocationChange() { // When URL changes, update the URL in the URL bar and update // whether the back/forward buttons are enabled. urlInput.value = browser.currentURI.spec; @@ -106,7 +106,7 @@ function setupBrowser() { backButton.disabled = !browser.canGoBack; forwardButton.disabled = !browser.canGoForward; }, - onStateChange(aWebProgress, aRequest, aStateFlags, aStatus) { + onStateChange(aWebProgress, aRequest, aStateFlags) { if (aStateFlags & Ci.nsIWebProgressListener.STATE_STOP) { // Network requests are complete. Disable (hide) the stop button // and enable (show) the refresh button @@ -153,7 +153,7 @@ function setupNavButtons() { "ePrefs", ]; - function navButtonHandler(e) { + function navButtonHandler() { if (!this.disabled) { switch (this.id) { case "eBack": -- cgit v1.2.3