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

Unified Diff: LayoutTests/fast/frames/frameElement-widthheight.html

Issue 221673003: Defer iframe JavaScript URL evaluation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698