Title: [125418] trunk/Tools
Revision
125418
Author
[email protected]
Date
2012-08-13 07:19:51 -0700 (Mon, 13 Aug 2012)

Log Message

[WK2] [WTR] InjectedBundlePage::didFailLoadForResource invokes wrong callback
https://bugs.webkit.org/show_bug.cgi?id=93825

Patch by Mikhail Pozdnyakov <[email protected]> on 2012-08-13
Reviewed by Antonio Gomes.

Corrected from didFinishLoadForResource() invoke to didFailLoadForResource() invoke.

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::didFailLoadForResource):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (125417 => 125418)


--- trunk/Tools/ChangeLog	2012-08-13 13:43:41 UTC (rev 125417)
+++ trunk/Tools/ChangeLog	2012-08-13 14:19:51 UTC (rev 125418)
@@ -1,3 +1,15 @@
+2012-08-13  Mikhail Pozdnyakov  <[email protected]>
+
+        [WK2] [WTR] InjectedBundlePage::didFailLoadForResource invokes wrong callback
+        https://bugs.webkit.org/show_bug.cgi?id=93825
+
+        Reviewed by Antonio Gomes.
+
+        Corrected from didFinishLoadForResource() invoke to didFailLoadForResource() invoke. 
+
+        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
+        (WTR::InjectedBundlePage::didFailLoadForResource):
+
 2012-08-13  Kwang Yul Seo  <[email protected]>
 
         [Qt] Add gprof.prf to build WebKit with gprof enabled

Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp (125417 => 125418)


--- trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp	2012-08-13 13:43:41 UTC (rev 125417)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp	2012-08-13 14:19:51 UTC (rev 125418)
@@ -580,7 +580,7 @@
 
 void InjectedBundlePage::didFailLoadForResource(WKBundlePageRef page, WKBundleFrameRef frame, uint64_t identifier, WKErrorRef error, const void* clientInfo)
 {
-    static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->didFinishLoadForResource(page, frame, identifier, error);
+    static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->didFailLoadForResource(page, frame, identifier, error);
 }
 
 void InjectedBundlePage::didStartProvisionalLoadForFrame(WKBundleFrameRef frame)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to