Video is not started even if play button has been pressed.
[framework/web/webkit-efl.git] / LayoutTests / fast / events / gc-freeze-with-attribute-listeners.html
1 <body>
2 <p>Should say PASS:</p>
3 <div id=test style="display:none"></div>
4 <script>
5 function gc()
6 {
7     if (window.GCController)
8         return GCController.collect();
9
10     for (var i = 0; i < 10000; i++) { // > force garbage collection (FF requires about 9K allocations before a collect)
11         var s = new String("");
12     }
13 }
14
15 function getString(i)
16 {
17     return '<div>' + 
18         '<a href=""  onclick="return false;"> </a>' +
19         '</div>';
20 }
21
22 if (window.testRunner)
23     testRunner.dumpAsText();
24
25 var string = "";
26 for (i = 0; i < 10000; ++i)
27     string += getString(i);
28
29 document.getElementById("test").innerHTML = string;
30
31 gc();
32
33 </script>
34 <p>PASS</p>
35 </body>