Index: LayoutTests/fast/frames/frameElement-widthheight.html |
diff --git a/LayoutTests/fast/frames/frameElement-widthheight.html b/LayoutTests/fast/frames/frameElement-widthheight.html |
index ebace26f12ea95672726a5237e5247c016e95e7e..5f823321976a80dac0ff2f2417e1e9644f3da4a7 100644 |
--- a/LayoutTests/fast/frames/frameElement-widthheight.html |
+++ b/LayoutTests/fast/frames/frameElement-widthheight.html |
@@ -1,7 +1,12 @@ |
<html> |
<head> |
<title>frameElement.width, frameElement.height</title> |
- |
+<script> |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+} |
+</script> |
<frameset id="frameset" border="1" cols="50%,25%,25%" style='border: solid 1px;'> |
<frame name="frame2" src="about:blank"> |
<frame name="frame1" src="javascript: |
@@ -13,9 +18,7 @@ |
top.frame1.document.write('<p>' + s + '</p>'); |
} |
- if (window.testRunner) |
- testRunner.dumpAsText(); |
- |
+ |
top.frame1.document.write('<p>Test for the presence of frameElement.width and frameElement.height <a href=\'https://bugs.webkit.org/show_bug.cgi?id=6402\'>(bug 6402)</a></p>'); |
try { |
@@ -40,6 +43,9 @@ |
if (e.description) |
log(e.description); |
} |
+ |
+ top.frame1.document.close(); |
+ testRunner.notifyDone(); |
"> |
<frame name="frame3" src="about:blank"> |
</frameset> |