Changeset 140653 in webkit


Ignore:
Timestamp:
Jan 23, 2013 9:52:09 PM (11 years ago)
Author:
pilgrim@chromium.org
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()

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r140652 r140653  
     12013-01-23  Mark Pilgrim  <pilgrim@chromium.org>
     2
     3        [Chromium] Give webkit_support a chance to reset state between layout test runs
     4        https://bugs.webkit.org/show_bug.cgi?id=107132
     5
     6        Reviewed by Adam Barth.
     7
     8        We currently only have need for this on OS(ANDROID), but now it
     9        would be useful to have a hook for resetting state on all
     10        platforms. Will soon be using this for IDBFactory initialization.
     11
     12        * DumpRenderTree/chromium/TestShell.cpp:
     13        (TestShell::resetTestController): Call webkit_support::ResetTestEnvironment()
     14
    1152013-01-23  Alan Cutter  <alancutter@chromium.org>
    216
  • trunk/Tools/DumpRenderTree/chromium/TestShell.cpp

    r140565 r140653  
    335335    m_notificationPresenter->reset();
    336336#endif
    337 #if OS(ANDROID)
    338     webkit_support::ReleaseMediaResources();
    339 #endif
    340337    m_drtDevToolsAgent->reset();
    341338    if (m_drtDevToolsClient)
     
    347344    WebTestingSupport::resetInternalsObject(webView()->mainFrame());
    348345    WebCache::clear();
     346
     347    webkit_support::ResetTestEnvironment();
    349348}
    350349
Note: See TracChangeset for help on using the changeset viewer.