Bug 1558539 - Fix file-whitespace linting failure. CLOSED TREE
authorBrindusan Cristian <cbrindusan@mozilla.com>
Wed, 03 Jun 2020 02:54:44 +0300
changeset 597709 412ba3cc742c0ab84297ad9ca22c3dc8051f62e3
parent 597708 b3f2a9279984e2376a37d4737a21ea662a859d26
child 597710 35e029c1b626adc8f759dae563d4b1d2077a4709
push id13310
push userffxbld-merge
push dateMon, 29 Jun 2020 14:50:06 +0000
treeherdermozilla-beta@15a59a0afa5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1558539
milestone79.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1558539 - Fix file-whitespace linting failure. CLOSED TREE
netwerk/test/fuzz/TestURIFuzzing.cpp
--- a/netwerk/test/fuzz/TestURIFuzzing.cpp
+++ b/netwerk/test/fuzz/TestURIFuzzing.cpp
@@ -58,23 +58,23 @@ const char* charsets[] = {
 
 static int FuzzingRunURIParser(const uint8_t* data, size_t size) {
   char* buf = (char*)data;
 
   nsCOMPtr<nsIURI> uri;
   nsAutoCString spec = get_string(&buf, &size);
 
   nsresult rv = NS_MutateURI(NS_STANDARDURLMUTATOR_CONTRACTID)
-    .SetSpec(spec)
-    .Finalize(uri);
+                    .SetSpec(spec)
+                    .Finalize(uri);
 
   if (NS_FAILED(rv)) {
     return 0;
   }
-  
+
   uint8_t iters = get_numeric<uint8_t>(&buf, &size);
   for (int i = 0; i < iters; i++) {
     if (get_numeric<uint8_t>(&buf, &size) % 25 != 0) {
       NS_MutateURI mutator(uri);
       nsAutoCString acdata = get_string(&buf, &size);
 
       switch (get_numeric<uint8_t>(&buf, &size) % 12) {
         default:
@@ -117,17 +117,17 @@ static int FuzzingRunURIParser(const uin
                                 (sizeof(charsets) / sizeof(char*));
           const char* charset = charsets[index];
           auto encoding = mozilla::Encoding::ForLabelNoReplacement(
               mozilla::MakeStringSpan(charset));
           mutator.SetQueryWithEncoding(acdata, encoding);
           break;
         }
       }
-      
+
       nsresult rv = mutator.Finalize(uri);
       if (NS_FAILED(rv)) {
         return 0;
       }
     } else {
       nsAutoCString out;
 
       if (uri) {