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

Side by Side Diff: LayoutTests/fast/frames/lots-of-iframes.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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/frames/lots-of-iframes-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 iframes</title>
5 <script type="text/javascript">
6 var maxNumberOfFrames = 1000;
7
8 if (window.testRunner)
9 testRunner.dumpAsText();
10
11 function createIFrames() {
12 var str = "<div id=\"status\"></div>";
13 for (var i = 0; i < maxNumberOfFrames + 1; i++) {
14 str += "<iframe id=\"i" + i + "\" src=\"data:text/html,iframe_" + i + "\"> </iframe>";
15 }
16 document.getElementsByTagName("body")[0].innerHTML = str;
17
18 var results = "";
19
20 var f = document.getElementById("i" + (maxNumberOfFrames - 1));
21 if (f && f.contentWindow) {
22 results += "Sucessfully created " + maxNumberOfFrames + " frames.<br>";
23 } else {
24 results += "Failed to create " + maxNumberOfFrames + " frames.<br>";
25 }
26
27 var g = document.getElementById("i" + maxNumberOfFrames);
28 if (g && g.contentWindow) {
29 results += "Failed to block creation of frame number " + (maxNumberOfFrame s + 1) + ".";
30 } else {
31 results += "Successfully blocked creation of frame number " + (maxNumberOf Frames + 1) + ".";
32 }
33
34 document.getElementById("status").innerHTML = results;
35 }
36 </script>
37 </head>
38 <body onLoad="createIFrames()">
39 </body>
40 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/frames/lots-of-iframes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698