Title: [124599] trunk
Revision
124599
Author
[email protected]
Date
2012-08-03 05:16:30 -0700 (Fri, 03 Aug 2012)

Log Message

[EFL][DRT] fast/loader/stop-provisional-loads.html fails
https://bugs.webkit.org/show_bug.cgi?id=92219

Patch by Joone Hur <[email protected]> on 2012-08-03
Reviewed by Kenneth Rohde Christiansen.

This patch adds the ability to tell DRT to call ewk_frame_stop
inside of a didStartProvisionalLoadForFrame signal handler.
It allows to pass fast/loader/stop-provisional-loads.html.

* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::onFrameProvisionalLoad):

Modified Paths

Diff

Modified: trunk/LayoutTests/platform/efl/TestExpectations (124598 => 124599)


--- trunk/LayoutTests/platform/efl/TestExpectations	2012-08-03 12:08:33 UTC (rev 124598)
+++ trunk/LayoutTests/platform/efl/TestExpectations	2012-08-03 12:16:30 UTC (rev 124599)
@@ -372,7 +372,6 @@
 BUGWK87974 : http/tests/download = TEXT IMAGE IMAGE+TEXT
 
 // Needs custom policy delegate enhancement to log DOM node info - EFL port is missing DOM node abstraction
-BUGWK87972 : fast/loader/stop-provisional-loads.html = TEXT
 BUGWK87972 : fast/loader/policy-delegate-action-hit-test-zoomed.html = TEXT
 BUGWK87972 : fast/encoding/mailto-always-utf-8.html = TEXT
 BUGWK87972 : fast/forms/mailto/formenctype-attribute-button-html.html = TEXT

Modified: trunk/Tools/ChangeLog (124598 => 124599)


--- trunk/Tools/ChangeLog	2012-08-03 12:08:33 UTC (rev 124598)
+++ trunk/Tools/ChangeLog	2012-08-03 12:16:30 UTC (rev 124599)
@@ -1,3 +1,17 @@
+2012-08-03  Joone Hur  <[email protected]>
+
+        [EFL][DRT] fast/loader/stop-provisional-loads.html fails
+        https://bugs.webkit.org/show_bug.cgi?id=92219
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        This patch adds the ability to tell DRT to call ewk_frame_stop 
+        inside of a didStartProvisionalLoadForFrame signal handler.
+        It allows to pass fast/loader/stop-provisional-loads.html.
+
+        * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
+        (DumpRenderTreeChrome::onFrameProvisionalLoad):
+
 2012-08-03  Balazs Kelemen  <[email protected]>
 
         [WTR] process unresponsiveness is reported to the wrong test

Modified: trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp (124598 => 124599)


--- trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp	2012-08-03 12:08:33 UTC (rev 124598)
+++ trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp	2012-08-03 12:16:30 UTC (rev 124599)
@@ -682,6 +682,15 @@
         const String frameName(DumpRenderTreeSupportEfl::suitableDRTFrameName(frame));
         printf("%s - didStartProvisionalLoadForFrame\n", frameName.utf8().data());
     }
+
+    if (!topLoadingFrame && !done)
+        topLoadingFrame = frame;
+  
+    if (!done && gLayoutTestController->stopProvisionalFrameLoads()) { 
+        const String frameName(DumpRenderTreeSupportEfl::suitableDRTFrameName(frame));
+        printf("%s - stopping load in didStartProvisionalLoadForFrame callback\n", frameName.utf8().data());
+        ewk_frame_stop(frame);
+    }   
 }
 
 void DumpRenderTreeChrome::onFrameProvisionalLoadFailed(void*, Evas_Object* frame, void*)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to