Title: [121118] trunk/Tools
- Revision
- 121118
- Author
- [email protected]
- Date
- 2012-06-24 09:29:27 -0700 (Sun, 24 Jun 2012)
Log Message
[Chromium] Release media resources after each LayoutTest on Android
https://bugs.webkit.org/show_bug.cgi?id=89720
Reviewed by Eric Carlson.
The LayoutTests can hang when run on Android because we sometimes run
out of media resources. This patch causes us to release our media
resources after each test in order to avoid running out of this
resource. In production, there are other mechanisms that manage this
resource.
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::resetTestController):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (121117 => 121118)
--- trunk/Tools/ChangeLog 2012-06-24 15:06:53 UTC (rev 121117)
+++ trunk/Tools/ChangeLog 2012-06-24 16:29:27 UTC (rev 121118)
@@ -1,3 +1,19 @@
+2012-06-24 Adam Barth <[email protected]>
+
+ [Chromium] Release media resources after each LayoutTest on Android
+ https://bugs.webkit.org/show_bug.cgi?id=89720
+
+ Reviewed by Eric Carlson.
+
+ The LayoutTests can hang when run on Android because we sometimes run
+ out of media resources. This patch causes us to release our media
+ resources after each test in order to avoid running out of this
+ resource. In production, there are other mechanisms that manage this
+ resource.
+
+ * DumpRenderTree/chromium/TestShell.cpp:
+ (TestShell::resetTestController):
+
2012-06-23 Zan Dobersek <[email protected]>
[Gtk] REGRESSION(r120918): Causes flaky DND tests
Modified: trunk/Tools/DumpRenderTree/chromium/TestShell.cpp (121117 => 121118)
--- trunk/Tools/DumpRenderTree/chromium/TestShell.cpp 2012-06-24 15:06:53 UTC (rev 121117)
+++ trunk/Tools/DumpRenderTree/chromium/TestShell.cpp 2012-06-24 16:29:27 UTC (rev 121118)
@@ -303,6 +303,9 @@
#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
m_notificationPresenter->reset();
#endif
+#if OS(ANDROID)
+ webkit_support::ReleaseMediaResources();
+#endif
m_drtDevToolsAgent->reset();
if (m_drtDevToolsClient)
m_drtDevToolsClient->reset();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes