Fix svg tests by calling displayIfNeeded.
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Mar 2007 22:41:20 +0000 (22:41 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Mar 2007 22:41:20 +0000 (22:41 +0000)
        * DumpRenderTree/DumpRenderTree.m:
        (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20539 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/DumpRenderTree.m

index 536f55e..1df05ed 100644 (file)
@@ -1,3 +1,10 @@
+2007-03-27  Adele Peterson  <adele@apple.com>
+
+        Fix svg tests by calling displayIfNeeded.
+
+        * DumpRenderTree/DumpRenderTree.m:
+        (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
+
 2007-03-26  Mark Rowe  <mrowe@apple.com>
 
         Reviewed by Sam Weinig.
index 7f9fe27..56861c5 100644 (file)
@@ -917,6 +917,8 @@ static void dump(void)
 
 - (void)webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame
 {
+    if ([[sender mainFrame] isEqual:frame])
+        [sender displayIfNeeded];
     [self webView:sender locationChangeDone:nil forDataSource:[frame dataSource]];
     [navigationController webView:sender didFinishLoadForFrame:frame];
 }