Change fast/e* files to use pre and post js files in LayoutTests/resources.
[WebKit-https.git] / LayoutTests / fast / events / event-listener-map-rehash-crash.html
1 <html>
2 <head>
3 <script src="../../resources/js-test-pre.js"></script>
4 <script>
5     function stub() {}
6
7     document.addEventListener("DOMContentLoaded", function()
8     {
9         for (var i = 0; i < 50; ++i)
10             document.addEventListener("boom" + i, stub, false);
11     }, false);
12
13     document.addEventListener("DOMContentLoaded", stub);
14 </script>
15 </head>
16 <body>
17 <script>
18     description("Ensures that rehashing of events map doesn't leave us with a dangling event list reference.");
19     testPassed("Did not crash.");
20 </script>
21 <script src="../../resources/js-test-post.js"></script>
22 </body>
23 </html>