Title: [141729] trunk/Tools
Revision
141729
Author
wei...@apple.com
Date
2013-02-03 19:09:17 -0800 (Sun, 03 Feb 2013)

Log Message

Fix failing test.

* TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp:
(TestWebKitAPI::didFinishLoadForFrame):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (141728 => 141729)


--- trunk/Tools/ChangeLog	2013-02-04 02:55:10 UTC (rev 141728)
+++ trunk/Tools/ChangeLog	2013-02-04 03:09:17 UTC (rev 141729)
@@ -1,3 +1,10 @@
+2013-02-03  Sam Weinig  <s...@webkit.org>
+
+        Fix failing test.
+
+        * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp:
+        (TestWebKitAPI::didFinishLoadForFrame):
+
 2013-02-03  Timothy Loh  <tim...@chromium.com>
 
         Make ChangeLogEntry detect annotations by prepare-ChangeLog (Added/Removed/Copied from/Renamed from) as clean.

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp (141728 => 141729)


--- trunk/Tools/TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp	2013-02-04 02:55:10 UTC (rev 141728)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp	2013-02-04 03:09:17 UTC (rev 141729)
@@ -38,7 +38,7 @@
 static void didFinishLoadForFrame(WKPageRef, WKFrameRef frame, WKTypeRef, const void*)
 {
     // Only mark finished when the main frame loads
-    if (WKFrameGetParentFrame(frame))
+    if (!WKFrameIsMainFrame(frame))
         return;
 
     finished = true;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to