| Differences between
and this patch
- Tools/ChangeLog +14 lines
Lines 1-3 Tools/ChangeLog_sec1
1
2013-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 NOBODY (OOPS!).
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
1
2013-01-23  Mark Pilgrim  <pilgrim@chromium.org>
15
2013-01-23  Mark Pilgrim  <pilgrim@chromium.org>
2
16
3
        [Chromium] Remove unused header files in chromium/public/platform/
17
        [Chromium] Remove unused header files in chromium/public/platform/
- Tools/DumpRenderTree/chromium/TestShell.cpp -3 / +2 lines
Lines 334-342 void TestShell::resetTestController() Tools/DumpRenderTree/chromium/TestShell.cpp_sec1
334
#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
334
#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
335
    m_notificationPresenter->reset();
335
    m_notificationPresenter->reset();
336
#endif
336
#endif
337
#if OS(ANDROID)
338
    webkit_support::ReleaseMediaResources();
339
#endif
340
    m_drtDevToolsAgent->reset();
337
    m_drtDevToolsAgent->reset();
341
    if (m_drtDevToolsClient)
338
    if (m_drtDevToolsClient)
342
        m_drtDevToolsClient->reset();
339
        m_drtDevToolsClient->reset();
Lines 346-351 void TestShell::resetTestController() Tools/DumpRenderTree/chromium/TestShell.cpp_sec2
346
    webView()->mainFrame()->clearOpener();
343
    webView()->mainFrame()->clearOpener();
347
    WebTestingSupport::resetInternalsObject(webView()->mainFrame());
344
    WebTestingSupport::resetInternalsObject(webView()->mainFrame());
348
    WebCache::clear();
345
    WebCache::clear();
346
347
    webkit_support::ResetTestEnvironment();
349
}
348
}
350
349
351
void TestShell::loadURL(const WebURL& url)
350
void TestShell::loadURL(const WebURL& url)

Return to Bug 107132