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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-leaks-on-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-leaks-on-multiple-send.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-leaks-on-multiple-send.html b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-leaks-on-multiple-send.html
new file mode 100644
index 0000000000000000000000000000000000000000..526713ad4bdefb367be2906b47ac4b3d2ee2ce6f
--- /dev/null
+++ b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-leaks-on-multiple-send.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<body>
+ <script src="/js-test-resources/js-test-pre.js"></script>
+ <script src="/js-test-resources/leak-check.js"></script>
+ <script>
+ var tolerance = {'numberOfLiveDocuments': 0};
+ doLeakTest('resources/multiple-send.html', tolerance);
+ </script>
+ <script src="/js-test-resources/js-test-post.js"></script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698