Chromium Code Reviews

Side by Side Diff: LayoutTests/fast/events/overflow-viewport-renderer-deleted.html

Issue 959643002: Remove the overflowchanged event with a runtime flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
(Empty)
1 <script>
2 function gc()
3 {
4 if (window.GCController)
5 return GCController.collect();
6
7 for (var i = 0; i < 10000; i++) {
8 var s = new String("");
9 }
10 }
11
12 onload = function()
13 {
14 if (window.testRunner)
15 testRunner.dumpAsText();
16
17 document.getElementById('container').addEventListener('overflowchanged', function() { }, false);
18 document.body.offsetTop;
19 document.removeChild(document.firstChild);
20 gc();
21 }
22 </script>
23 <body>
24 Test passes if it does not crash.
25 <div id="container" style="height: 200%;"></div>
26 </body>
OLDNEW

Powered by Google App Engine