author Andrew McCreight <>
Fri, 17 Feb 2017 11:22:45 -0800
changeset 378639 29545b8aada77f12112e9362d3065342bcbf2d34
permissions -rw-r--r--
Bug 1336811 - Clear mWaitingForOnStopRequest in CloseRequest. r=smaug a=jcristau Otherwise, if a tab is closed when we have a request pending, we'll end up leaking the page forever, due to CC optimizations. MozReview-Commit-ID: E5NC0jxWCur

Test page for
  <meta charset="utf-8">
  <title>Test page for Bug 1336811</title>
<body onload="onload();">
<p><span id="samplepage">sample page</span></p>
<script type="application/javascript">
  function onload() {
   var request = new XMLHttpRequest;"GET", "about:blank");
   request.onreadystatechange = function() { = request;
   } = request;
   request.send(); = request;