Title: [97963] trunk/LayoutTests
Revision
97963
Author
o...@webkit.org
Date
2011-10-20 04:36:04 -0700 (Thu, 20 Oct 2011)

Log Message

fast/frames/frame-element-name.html fails intermittently after r97881
https://bugs.webkit.org/show_bug.cgi?id=70487

Reviewed by Zoltán Herczeg.

r97881 made js/resources/js-test-pre.js (used in fast/frames/resource/frame-element-name.html)
slower with loading css dynamically. We have to wait for loading all frames to get correct results.

* fast/frames/frame-element-name.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (97962 => 97963)


--- trunk/LayoutTests/ChangeLog	2011-10-20 11:24:36 UTC (rev 97962)
+++ trunk/LayoutTests/ChangeLog	2011-10-20 11:36:04 UTC (rev 97963)
@@ -1,3 +1,15 @@
+2011-10-20  Csaba Osztrogonác  <o...@webkit.org>
+
+        fast/frames/frame-element-name.html fails intermittently after r97881
+        https://bugs.webkit.org/show_bug.cgi?id=70487
+
+        Reviewed by Zoltán Herczeg.
+
+        r97881 made js/resources/js-test-pre.js (used in fast/frames/resource/frame-element-name.html)
+        slower with loading css dynamically. We have to wait for loading all frames to get correct results.
+
+        * fast/frames/frame-element-name.html:
+
 2011-10-19  Pavel Feldman  <pfeld...@google.com>
 
         Web Inspector: get rid of manual view hierarchy management.

Modified: trunk/LayoutTests/fast/frames/frame-element-name.html (97962 => 97963)


--- trunk/LayoutTests/fast/frames/frame-element-name.html	2011-10-20 11:24:36 UTC (rev 97962)
+++ trunk/LayoutTests/fast/frames/frame-element-name.html	2011-10-20 11:36:04 UTC (rev 97963)
@@ -1,11 +1,20 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
+if (window.layoutTestController) {
     layoutTestController.dumpChildFramesAsText();
+    layoutTestController.waitUntilDone();
+}
+
+function framesLoaded()
+{
+    if (window.layoutTestController)
+        layoutTestController.notifyDone();
+}
+
 </script>
 </head>
- <frameset border="1" cols="150,150,150,150,150,*" style='border: solid 1px;'>
+ <frameset border="1" cols="150,150,150,150,150,*" style='border: solid 1px;' _onload_="framesLoaded()">
   <frame marginwidth="1" src="" name="left">
   <frame src=""
   <frame src="" name="_blank">
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to