⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 121118 in webkit


Ignore:
Timestamp:
Jun 24, 2012, 9:29:27 AM (14 years ago)
Author:
abarth@webkit.org
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):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r121109 r121118  
     12012-06-24  Adam Barth  <abarth@webkit.org>
     2
     3        [Chromium] Release media resources after each LayoutTest on Android
     4        https://bugs.webkit.org/show_bug.cgi?id=89720
     5
     6        Reviewed by Eric Carlson.
     7
     8        The LayoutTests can hang when run on Android because we sometimes run
     9        out of media resources. This patch causes us to release our media
     10        resources after each test in order to avoid running out of this
     11        resource. In production, there are other mechanisms that manage this
     12        resource.
     13
     14        * DumpRenderTree/chromium/TestShell.cpp:
     15        (TestShell::resetTestController):
     16
    1172012-06-23  Zan Dobersek  <zandobersek@gmail.com>
    218
  • trunk/Tools/DumpRenderTree/chromium/TestShell.cpp

    r120360 r121118  
    304304    m_notificationPresenter->reset();
    305305#endif
     306#if OS(ANDROID)
     307    webkit_support::ReleaseMediaResources();
     308#endif
    306309    m_drtDevToolsAgent->reset();
    307310    if (m_drtDevToolsClient)
Note: See TracChangeset for help on using the changeset viewer.