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

Side by Side Diff: webkit/data/layout_tests/chrome/fast/dom/xmlhttprequest-gc.html

Issue 55025: Remove tests that have been upstreamed. Update test_expectations list... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 <html>
2
3 <script>
4 function state_change() {
5 document.write(this.foo+'<br>');
6 }
7 function run_test() {
8 var xhr = new XMLHttpRequest();
9 xhr.foo = 'bar';
10 xhr.onreadystatechange = state_change;
11 xhr.open("GET", "xmlhttprequest-gc.html", true);
12 xhr.send(null);
13
14 xhr = null;
15 if (window.GCController) {
16 window.GCController.collect();
17 } else {
18 // allocate 4000 objects to trigger GC
19 for (var i = 0; i < 4000; i++)
20 new Object();
21 }
22 }
23
24 </script>
25 <body onload='run_test()'>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698