Title: [140653] trunk/Tools
- Revision
- 140653
- Author
- [email protected]
- Date
- 2013-01-23 21:52:09 -0800 (Wed, 23 Jan 2013)
Log Message
[Chromium] Give webkit_support a chance to reset state between layout test runs
https://bugs.webkit.org/show_bug.cgi?id=107132
Reviewed by Adam Barth.
We currently only have need for this on OS(ANDROID), but now it
would be useful to have a hook for resetting state on all
platforms. Will soon be using this for IDBFactory initialization.
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::resetTestController): Call webkit_support::ResetTestEnvironment()
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (140652 => 140653)
--- trunk/Tools/ChangeLog 2013-01-24 05:49:31 UTC (rev 140652)
+++ trunk/Tools/ChangeLog 2013-01-24 05:52:09 UTC (rev 140653)
@@ -1,3 +1,17 @@
+2013-01-23 Mark Pilgrim <[email protected]>
+
+ [Chromium] Give webkit_support a chance to reset state between layout test runs
+ https://bugs.webkit.org/show_bug.cgi?id=107132
+
+ Reviewed by Adam Barth.
+
+ We currently only have need for this on OS(ANDROID), but now it
+ would be useful to have a hook for resetting state on all
+ platforms. Will soon be using this for IDBFactory initialization.
+
+ * DumpRenderTree/chromium/TestShell.cpp:
+ (TestShell::resetTestController): Call webkit_support::ResetTestEnvironment()
+
2013-01-23 Alan Cutter <[email protected]>
QueueStatusServer crashes in production on next-patch
Modified: trunk/Tools/DumpRenderTree/chromium/TestShell.cpp (140652 => 140653)
--- trunk/Tools/DumpRenderTree/chromium/TestShell.cpp 2013-01-24 05:49:31 UTC (rev 140652)
+++ trunk/Tools/DumpRenderTree/chromium/TestShell.cpp 2013-01-24 05:52:09 UTC (rev 140653)
@@ -334,9 +334,6 @@
#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();
@@ -346,6 +343,8 @@
webView()->mainFrame()->clearOpener();
WebTestingSupport::resetInternalsObject(webView()->mainFrame());
WebCache::clear();
+
+ webkit_support::ResetTestEnvironment();
}
void TestShell::loadURL(const WebURL& url)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes