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

Side by Side Diff: LayoutTests/fast/frames/lots-of-objects.html

Issue 18951003: Skip or delete a bunch of timing out tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete a few more tests Created 7 years, 5 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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or g/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <title>Lots of objects</title>
5 <script type="text/javascript">
6 var maxNumberOfFrames = 1000;
7
8 if (window.testRunner)
9 testRunner.dumpAsText();
10
11 var createdObjects = 0;
12 function count() {
13 createdObjects++;
14
15 if (createdObjects == maxNumberOfFrames) {
16 var str = "Created precisely " + maxNumberOfFrames + " objects.<br>PASS";
17 document.getElementById("status").innerHTML = str;
18 } else if (createdObjects > maxNumberOfFrames) {
19 var str = "Created " + createdObjects + " objects (max: " + maxNumberOfFra mes + ").<br>FAIL";
20 document.getElementById("status").innerHTML = str;
21 }
22 }
23
24 function createObjects(nbr) {
25 var str = "<div id=\"status\"></div>";
26 for (var i = 0; i < maxNumberOfFrames + 1; i++) {
27 str += "<object onLoad=\"count()\" data=\"data:text/html,object_" + i + "\ "></object>";
28 }
29 document.getElementsByTagName("body")[0].innerHTML = str;
30 }
31 </script>
32 </head>
33 <body onLoad="createObjects()">
34 </body>
35 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/frames/lots-of-iframes-expected.txt ('k') | LayoutTests/fast/frames/lots-of-objects-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698