Backed out changeset 224d8c57a469 (bug 1405571) for crashes and broken websites. r=backout a=backout
authorSebastian Hengst <archaeopteryx@coole-files.de>
Sat, 14 Oct 2017 23:49:00 +0200
changeset 386240 32fdad6bf6f0417d9b094a13e0670ddb76a085b8
parent 386239 20d57b9c4183973af4af5e078dff2aec0b74f928
child 386241 f3da88fdee4ab79a2212f8d2d1efd37fb5009b58
push id32682
push userarchaeopteryx@coole-files.de
push dateSat, 14 Oct 2017 21:51:14 +0000
treeherdermozilla-central@f3da88fdee4a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout, backout
bugs1405571
milestone58.0a1
backs out224d8c57a4693138c8823ac108659bb1fe5b308e
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
Backed out changeset 224d8c57a469 (bug 1405571) for crashes and broken websites. r=backout a=backout MozReview-Commit-ID: FZe9hj8nX5w
dom/xhr/XMLHttpRequestMainThread.cpp
--- a/dom/xhr/XMLHttpRequestMainThread.cpp
+++ b/dom/xhr/XMLHttpRequestMainThread.cpp
@@ -568,21 +568,16 @@ XMLHttpRequestMainThread::AppendToRespon
     AsBytes(MakeSpan(aSrcBuffer, aSrcBufferLen)),
     MakeSpan(helper.EndOfExistingData(), destBufferLen.value()),
     aLast);
   MOZ_ASSERT(result == kInputEmpty);
   MOZ_ASSERT(read == aSrcBufferLen);
   MOZ_ASSERT(written <= destBufferLen.value());
   Unused << hadErrors;
   helper.AddLength(written);
-
-  if (aLast) {
-    mDecoder = nullptr;
-  }
-
   return NS_OK;
 }
 
 NS_IMETHODIMP
 XMLHttpRequestMainThread::GetResponseText(nsAString& aResponseText)
 {
   ErrorResult rv;
   DOMString str;