Title: [113018] trunk
Revision
113018
Author
[email protected]
Date
2012-04-03 05:56:49 -0700 (Tue, 03 Apr 2012)

Log Message

[EFL] LayoutTestController needs implementation of setDefersLoading
https://bugs.webkit.org/show_bug.cgi?id=82890

Patch by Christophe Dumez <[email protected]> on 2012-04-03
Reviewed by Philippe Normand.

Source/WebKit/efl:

Implement setDefersLoading() in EFL's LayoutTestController so that the
corresponding test case can be removed from the skip list.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::setDefersLoading):
* WebCoreSupport/DumpRenderTreeSupportEfl.h:

Tools:

Implement setDefersLoading() in EFL's LayoutTestController so that the
corresponding test case can be removed from the skip list.

* DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::setDefersLoading):

LayoutTests:

Unskip loader/navigation-while-deferring-loads test in EFL now that
its LayoutTestController implements setDefersLoading().

* platform/efl/Skipped:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (113017 => 113018)


--- trunk/LayoutTests/ChangeLog	2012-04-03 12:16:45 UTC (rev 113017)
+++ trunk/LayoutTests/ChangeLog	2012-04-03 12:56:49 UTC (rev 113018)
@@ -1,3 +1,15 @@
+2012-04-03  Christophe Dumez  <[email protected]>
+
+        [EFL] LayoutTestController needs implementation of setDefersLoading
+        https://bugs.webkit.org/show_bug.cgi?id=82890
+
+        Reviewed by Philippe Normand.
+
+        Unskip loader/navigation-while-deferring-loads test in EFL now that
+        its LayoutTestController implements setDefersLoading().
+
+        * platform/efl/Skipped:
+
 2012-04-03  Alexander Pavlov  <[email protected]>
 
         [Chromium] Unreviewed, suppress compositing/reflections/nested-reflection-transformed2.html on Win Debug.

Modified: trunk/LayoutTests/platform/efl/Skipped (113017 => 113018)


--- trunk/LayoutTests/platform/efl/Skipped	2012-04-03 12:16:45 UTC (rev 113017)
+++ trunk/LayoutTests/platform/efl/Skipped	2012-04-03 12:56:49 UTC (rev 113018)
@@ -587,9 +587,6 @@
 # EFL's LayoutTestController does not implement setDomainRelaxationForbiddenForURLScheme
 http/tests/security/setDomainRelaxationForbiddenForURLScheme.html
 
-# EFL's LayoutTestController does not implement setDefersLoading
-loader/navigation-while-deferring-loads.html
-
 # EFL's LayoutTestController does not implement overridePreference
 compositing/webgl/webgl-background-color.html
 compositing/webgl/webgl-no-alpha.html

Modified: trunk/Source/WebKit/efl/ChangeLog (113017 => 113018)


--- trunk/Source/WebKit/efl/ChangeLog	2012-04-03 12:16:45 UTC (rev 113017)
+++ trunk/Source/WebKit/efl/ChangeLog	2012-04-03 12:56:49 UTC (rev 113018)
@@ -1,3 +1,17 @@
+2012-04-03  Christophe Dumez  <[email protected]>
+
+        [EFL] LayoutTestController needs implementation of setDefersLoading
+        https://bugs.webkit.org/show_bug.cgi?id=82890
+
+        Reviewed by Philippe Normand.
+
+        Implement setDefersLoading() in EFL's LayoutTestController so that the
+        corresponding test case can be removed from the skip list.
+
+        * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
+        (DumpRenderTreeSupportEfl::setDefersLoading):
+        * WebCoreSupport/DumpRenderTreeSupportEfl.h:
+
 2012-04-03  Alexander Shalamov  <[email protected]>
 
         [EFL] LayoutTestController needs implementation of pageSizeAndMarginsInPixels

Modified: trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp (113017 => 113018)


--- trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp	2012-04-03 12:16:45 UTC (rev 113017)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp	2012-04-03 12:56:49 UTC (rev 113018)
@@ -338,6 +338,16 @@
     inputElement->setAutofilled(autofilled);
 }
 
+void DumpRenderTreeSupportEfl::setDefersLoading(Evas_Object* ewkView, bool defers)
+{
+    WebCore::Page* page = EWKPrivate::corePage(ewkView);
+
+    if (!page)
+        return;
+
+    page->setDefersLoading(defers);
+}
+
 bool DumpRenderTreeSupportEfl::findString(const Evas_Object* ewkView, const char* text, WebCore::FindOptions options)
 {
     WebCore::Page* page = EWKPrivate::corePage(ewkView);

Modified: trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h (113017 => 113018)


--- trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h	2012-04-03 12:16:45 UTC (rev 113017)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h	2012-04-03 12:56:49 UTC (rev 113018)
@@ -66,6 +66,7 @@
     static void suspendAnimations(Evas_Object* ewkFrame);
     static void setValueForUser(JSContextRef, JSValueRef nodeObject, JSStringRef value);
     static void setAutofilled(JSContextRef, JSValueRef nodeObject, bool autofilled);
+    static void setDefersLoading(Evas_Object* ewkView, bool defers);
 
     static bool findString(const Evas_Object* ewkView, const char* text, WebCore::FindOptions);
     static void setSmartInsertDeleteEnabled(Evas_Object* ewkView, bool enabled);

Modified: trunk/Tools/ChangeLog (113017 => 113018)


--- trunk/Tools/ChangeLog	2012-04-03 12:16:45 UTC (rev 113017)
+++ trunk/Tools/ChangeLog	2012-04-03 12:56:49 UTC (rev 113018)
@@ -1,5 +1,18 @@
 2012-04-03  Christophe Dumez  <[email protected]>
 
+        [EFL] LayoutTestController needs implementation of setDefersLoading
+        https://bugs.webkit.org/show_bug.cgi?id=82890
+
+        Reviewed by Philippe Normand.
+
+        Implement setDefersLoading() in EFL's LayoutTestController so that the
+        corresponding test case can be removed from the skip list.
+
+        * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
+        (LayoutTestController::setDefersLoading):
+
+2012-04-03  Christophe Dumez  <[email protected]>
+
         [EFL] LayoutTestController needs implementation of goBack
         https://bugs.webkit.org/show_bug.cgi?id=81914
 

Modified: trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp (113017 => 113018)


--- trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp	2012-04-03 12:16:45 UTC (rev 113017)
+++ trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp	2012-04-03 12:56:49 UTC (rev 113018)
@@ -611,10 +611,9 @@
     ewk_frame_back(browser->mainFrame());
 }
 
-void LayoutTestController::setDefersLoading(bool)
+void LayoutTestController::setDefersLoading(bool defers)
 {
-    // FIXME: implement to enable loader/navigation-while-deferring-loads.html
-    notImplemented();
+    DumpRenderTreeSupportEfl::setDefersLoading(browser->mainView(), defers);
 }
 
 void LayoutTestController::setAppCacheMaximumSize(unsigned long long size)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to