Title: [96147] trunk/Tools
Revision
96147
Author
[email protected]
Date
2011-09-27 13:24:15 -0700 (Tue, 27 Sep 2011)

Log Message

[Chromium] Fixed layout mode tests break subsequent tests
https://bugs.webkit.org/show_bug.cgi?id=68923

Reviewed by Adam Barth.

Reset fixed layout mode between tests, so that tests that run after
platform/chromium/fast/repaint/fixed-layout-360x240.html still have the
regular 800x600 non-fixed layout.

* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::resetTestController):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (96146 => 96147)


--- trunk/Tools/ChangeLog	2011-09-27 20:16:37 UTC (rev 96146)
+++ trunk/Tools/ChangeLog	2011-09-27 20:24:15 UTC (rev 96147)
@@ -1,3 +1,17 @@
+2011-09-27  Mihai Parparita  <[email protected]>
+
+        [Chromium] Fixed layout mode tests break subsequent tests
+        https://bugs.webkit.org/show_bug.cgi?id=68923
+        
+        Reviewed by Adam Barth.        
+
+        Reset fixed layout mode between tests, so that tests that run after
+        platform/chromium/fast/repaint/fixed-layout-360x240.html still have the
+        regular 800x600 non-fixed layout.
+
+        * DumpRenderTree/chromium/TestShell.cpp:
+        (TestShell::resetTestController):
+
 2011-09-27  David Levin  <[email protected]>
 
         watchlist: Add the filename pattern for definitions.

Modified: trunk/Tools/DumpRenderTree/chromium/TestShell.cpp (96146 => 96147)


--- trunk/Tools/DumpRenderTree/chromium/TestShell.cpp	2011-09-27 20:16:37 UTC (rev 96146)
+++ trunk/Tools/DumpRenderTree/chromium/TestShell.cpp	2011-09-27 20:24:15 UTC (rev 96147)
@@ -269,6 +269,8 @@
     if (m_drtDevToolsClient)
         m_drtDevToolsClient->reset();
     webView()->scalePage(1, WebPoint(0, 0));
+    webView()->enableFixedLayoutMode(false);
+    webView()->setFixedLayoutSize(WebSize(0, 0));
     webView()->mainFrame()->clearOpener();
     WebTestingSupport::resetInternalsObject(webView()->mainFrame());
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to