Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/resources/multiple-send.html

Issue 23005006: Fix XMLHttpRequest leak document when send() is called multiple times. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: check readyState == 4 to comply with change made in r156212 Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <script>
2 var xhr = new XMLHttpRequest();
3 xhr.open("GET", "./get.txt", true);
4 xhr.onreadystatechange = function () {
5 if (xhr.readyState != 4)
6 return;
7 xhr.open("GET", "./get.txt", true);
8 xhr.send(null);
9 };
10 xhr.send(null);
11 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698