Commit 3b9f0146 authored by Benjamin VanderSloot's avatar Benjamin VanderSloot
Browse files

Bug 1873597 - Bug 1876275 - Improve URI-list matching algorithm for performance - a=pascalc

parent ca4fdc84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10961,7 +10961,7 @@ bool nsContentUtils::IsURIInList(nsIURI* aURI, const nsCString& aList) {
      if (startIndexOfNextLevel <= 0) {
        break;
      }
      host = "*"_ns + nsDependentCSubstring(host, startIndexOfNextLevel);
      host.ReplaceLiteral(0, startIndexOfNextLevel, "*");
    }
  }