gecko-dev/toolkit/system
Makoto Kato d5e022a38e Bug 1275849 - Part 2. Merge ProxyUtils for Windows and macOS. r=necko-reviewers,valentin
Actually, both diff is the following.

```diff
@@ -22,14 +19,17 @@
 static void NormalizeAddr(const nsACString& aAddr, nsCString& aNormalized) {
   nsTArray<nsCString> addr;
   ParseString(aAddr, '.', addr);
-  aNormalized =
-      StringJoin("."_ns, IntegerRange(4), [&addr](nsACString& dst, size_t i) {
-        if (i < addr.Length()) {
-          dst.Append(addr[i]);
-        } else {
-          dst.Append('0');
-        }
-      });
+  aNormalized = "";
+  for (uint32_t i = 0; i < 4; ++i) {
+    if (i != 0) {
+      aNormalized.AppendLiteral(".");
+    }
+    if (i < addr.Length()) {
+      aNormalized.Append(addr[i]);
+    } else {
+      aNormalized.AppendLiteral("0");
+    }
+  }
 }
```

So we should share this on Windows and macOS.

Also, since gtest is same, we should merge it.

Differential Revision: https://phabricator.services.mozilla.com/D161232
2022-11-08 09:19:09 +00:00
..
androidproxy
commonproxy Bug 1275849 - Part 2. Merge ProxyUtils for Windows and macOS. r=necko-reviewers,valentin 2022-11-08 09:19:09 +00:00
gnome Bug 1714919 - fix mime handler spawning with glib >= 2.64 badly interacting with OpenBSD sandboxing r=stransky 2022-09-15 13:36:43 +00:00
osxproxy Bug 1275849 - Part 2. Merge ProxyUtils for Windows and macOS. r=necko-reviewers,valentin 2022-11-08 09:19:09 +00:00
unixproxy Bug 1797896 - Proxy environment variables can be uppercase on linux now r=valentin 2022-11-03 09:48:27 +00:00
windowsDHCPClient Bug 1766561 - Use proper formatting directives in various places. r=gfx-reviewers,nika,necko-reviewers,mhowell,rkraesig,bytesized,kershaw 2022-05-03 20:49:09 +00:00
windowsPackageManager Bug 1795958: don't block windows package manager operations on successful completion of async operations. r=rkraesig 2022-10-20 16:05:59 +00:00
windowsproxy Bug 1275849 - Part 2. Merge ProxyUtils for Windows and macOS. r=necko-reviewers,valentin 2022-11-08 09:19:09 +00:00