Title: [97150] trunk/Tools
- Revision
- 97150
- Author
- commit-qu...@webkit.org
- Date
- 2011-10-11 06:30:56 -0700 (Tue, 11 Oct 2011)
Log Message
[EFL] DRT: Return the right window count in LayoutTestController.
https://bugs.webkit.org/show_bug.cgi?id=69764
Patch by Raphael Kubo da Costa <k...@profusion.mobi> on 2011-10-11
Reviewed by Antonio Gomes.
Follow-up to r96943: now that we have DumpRenderTreeChrome and
DumpRenderTreeView in the tree, we can correctly count the number of
open windows in DRT.
* DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::windowCount):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (97149 => 97150)
--- trunk/Tools/ChangeLog 2011-10-11 13:11:33 UTC (rev 97149)
+++ trunk/Tools/ChangeLog 2011-10-11 13:30:56 UTC (rev 97150)
@@ -1,3 +1,17 @@
+2011-10-11 Raphael Kubo da Costa <k...@profusion.mobi>
+
+ [EFL] DRT: Return the right window count in LayoutTestController.
+ https://bugs.webkit.org/show_bug.cgi?id=69764
+
+ Reviewed by Antonio Gomes.
+
+ Follow-up to r96943: now that we have DumpRenderTreeChrome and
+ DumpRenderTreeView in the tree, we can correctly count the number of
+ open windows in DRT.
+
+ * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
+ (LayoutTestController::windowCount):
+
2011-10-11 Jer Noble <jer.no...@apple.com>
REGRESSION (r96770-r96777): fast/dom/Window/window-properties.html, fast/dom/prototype-inheritance-2.html, fast/js/global-constructors.html failing on SnowLeopard Intel Release (Tests)
Modified: trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp (97149 => 97150)
--- trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp 2011-10-11 13:11:33 UTC (rev 97149)
+++ trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp 2011-10-11 13:30:56 UTC (rev 97150)
@@ -290,7 +290,7 @@
int LayoutTestController::windowCount()
{
- return 1;
+ return browser->extraViews().size() + 1; // + 1 for the main view.
}
void LayoutTestController::setPrivateBrowsingEnabled(bool flag)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes