From 3c79233da802e9e28d62bfe60970dba7c064f2c5 Mon Sep 17 00:00:00 2001 From: Nils Date: Tue, 9 Nov 2021 17:36:40 +0000 Subject: [PATCH] Bug 1740294: Fix typo "then then" -> "then" r=mhentges Instances of the typo that have been imported from other repositories have been left unchanged. Differential Revision: https://phabricator.services.mozilla.com/D130561 --- accessible/generic/HyperTextAccessible.h | 6 +++--- browser/components/sessionstore/SessionStore.jsm | 3 +-- docs/setup/linux_build.rst | 2 +- docs/setup/macos_build.rst | 2 +- docs/setup/windows_build.rst | 2 +- dom/security/nsContentSecurityManager.cpp | 4 ++-- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/accessible/generic/HyperTextAccessible.h b/accessible/generic/HyperTextAccessible.h index d9af69bb592b..dfaa6475c1c0 100644 --- a/accessible/generic/HyperTextAccessible.h +++ b/accessible/generic/HyperTextAccessible.h @@ -113,9 +113,9 @@ class HyperTextAccessible : public AccessibleWrap, * if -1 just look directly for the node * if >=0 and aNode is text, this represents a char * offset if >=0 and aNode is not text, this represents a child node offset - * @param aIsEndOffset [in] if true, then then this offset is not inclusive. - * The character indicated by the offset returned is at [offset - 1]. This - * means if the passed-in offset is really in a descendant, then the offset + * @param aIsEndOffset [in] if true, then this offset is not inclusive. The + * character indicated by the offset returned is at [offset - 1]. This means + * if the passed-in offset is really in a descendant, then the offset * returned will come just after the relevant embedded object characer. If * false, then the offset is inclusive. The character indicated by the offset * returned is at [offset]. If the passed-in offset in inside a descendant, diff --git a/browser/components/sessionstore/SessionStore.jsm b/browser/components/sessionstore/SessionStore.jsm index cf9d69534e10..a6c89b57a510 100644 --- a/browser/components/sessionstore/SessionStore.jsm +++ b/browser/components/sessionstore/SessionStore.jsm @@ -2722,8 +2722,7 @@ var SessionStoreInternal = { if (TAB_STATE_FOR_BROWSER.get(browser) == TAB_STATE_NEEDS_RESTORE) { // If BROWSER_STATE is still available for the browser and it is // If __SS_restoreState is still on the browser and it is - // TAB_STATE_NEEDS_RESTORE, then then we haven't restored - // this tab yet. + // TAB_STATE_NEEDS_RESTORE, then we haven't restored this tab yet. // // It's possible that this tab was recently revived, and that // we've deferred showing the tab crashed page for it (if the diff --git a/docs/setup/linux_build.rst b/docs/setup/linux_build.rst index 5915d852efe8..49651454d39c 100644 --- a/docs/setup/linux_build.rst +++ b/docs/setup/linux_build.rst @@ -111,7 +111,7 @@ the interactive setup process. Choosing a build type ~~~~~~~~~~~~~~~~~~~~~ -If you aren't modifying the Firefox backend, then then select one of the +If you aren't modifying the Firefox backend, then select one of the :ref:`Artifact Mode ` options. If you are building Firefox for Android, you should also see the :ref:`GeckoView Contributor Guide`. diff --git a/docs/setup/macos_build.rst b/docs/setup/macos_build.rst index 27fece61d468..d632118ea4e2 100644 --- a/docs/setup/macos_build.rst +++ b/docs/setup/macos_build.rst @@ -91,7 +91,7 @@ the interactive setup process. Choosing a build type ~~~~~~~~~~~~~~~~~~~~~ -If you aren't modifying the Firefox backend, then then select one of the +If you aren't modifying the Firefox backend, then select one of the :ref:`Artifact Mode ` options. If you are building Firefox for Android, you should also see the :ref:`GeckoView Contributor Guide`. diff --git a/docs/setup/windows_build.rst b/docs/setup/windows_build.rst index cc5b43061016..a9a6c8251971 100644 --- a/docs/setup/windows_build.rst +++ b/docs/setup/windows_build.rst @@ -88,7 +88,7 @@ the interactive setup process. Choosing a build type ~~~~~~~~~~~~~~~~~~~~~ -If you aren't modifying the Firefox backend, then then select one of the +If you aren't modifying the Firefox backend, then select one of the :ref:`Artifact Mode ` options. If you are building Firefox for Android, you should also see the :ref:`GeckoView Contributor Guide`. diff --git a/dom/security/nsContentSecurityManager.cpp b/dom/security/nsContentSecurityManager.cpp index 532f2c4469ef..75ad2b0a1ef2 100644 --- a/dom/security/nsContentSecurityManager.cpp +++ b/dom/security/nsContentSecurityManager.cpp @@ -1385,8 +1385,8 @@ nsresult nsContentSecurityManager::CheckChannel(nsIChannel* aChannel) { } // Please note that DoCheckLoadURIChecks should only be enforced for // cross origin requests. If the flag SEC_REQUIRE_CORS_INHERITS_SEC_CONTEXT - // is set within the loadInfo, then then CheckLoadURIWithPrincipal is - // performed within nsCorsListenerProxy + // is set within the loadInfo, then CheckLoadURIWithPrincipal is performed + // within nsCorsListenerProxy rv = DoCheckLoadURIChecks(uri, loadInfo); NS_ENSURE_SUCCESS(rv, rv); // TODO: Bug 1371237