Changeset 133069 in webkit


Ignore:
Timestamp:
Oct 31, 2012 1:35:04 PM (11 years ago)
Author:
fischman@chromium.org
Message:

[chromium] DRT and WTR should clear the cache between tests
https://bugs.webkit.org/show_bug.cgi?id=93195

Reviewed by Tony Chang.

Tools:

This change makes chromium DRT match the GTK+, Qt, and EFL ports.

  • DumpRenderTree/chromium/TestShell.cpp:

(TestShell::resetTestController): added a WebCache::clear() call to achieve the goal of the bug.

LayoutTests:

  • media/video-poster-blocked-by-willsendrequest.html: updated list of still-busted ports.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r133068 r133069  
     12012-10-31  Ami Fischman  <fischman@chromium.org>
     2
     3        [chromium] DRT and WTR should clear the cache between tests
     4        https://bugs.webkit.org/show_bug.cgi?id=93195
     5
     6        Reviewed by Tony Chang.
     7
     8        * media/video-poster-blocked-by-willsendrequest.html: updated list of still-busted ports.
     9
    1102012-10-31  Stephen White  <senorblanco@chromium.org>
    211
  • trunk/LayoutTests/media/video-poster-blocked-by-willsendrequest.html

    r124717 r133069  
    3838                testExpected("video.clientHeight", 150);
    3939
    40                 // FIXME: the getTime() below works around a bug in DRT where caches aren't cleared between tests; chromium: 93195, mac: 82976, gtk: 79760.
     40                // FIXME: the getTime() below works around a bug (82976) in mac DRT where caches aren't cleared between tests.
    4141                video.poster = "content/abe.png?" + (new Date().getTime());
    4242
  • trunk/Tools/ChangeLog

    r133064 r133069  
     12012-10-31  Ami Fischman  <fischman@chromium.org>
     2
     3        [chromium] DRT and WTR should clear the cache between tests
     4        https://bugs.webkit.org/show_bug.cgi?id=93195
     5
     6        Reviewed by Tony Chang.
     7
     8        This change makes chromium DRT match the GTK+, Qt, and EFL ports.
     9
     10        * DumpRenderTree/chromium/TestShell.cpp:
     11        (TestShell::resetTestController): added a WebCache::clear() call to achieve the goal of the bug.
     12
    1132012-10-31  Dirk Pranke  <dpranke@chromium.org>
    214
  • trunk/Tools/DumpRenderTree/chromium/TestShell.cpp

    r132364 r133069  
    3636#include "DRTTestRunner.h"
    3737#include "MockWebPrerenderingSupport.h"
     38#include "WebCache.h"
    3839#include "WebDataSource.h"
    3940#include "WebDocument.h"
     
    319320    webView()->mainFrame()->clearOpener();
    320321    WebTestingSupport::resetInternalsObject(webView()->mainFrame());
     322    WebCache::clear();
    321323}
    322324
Note: See TracChangeset for help on using the changeset viewer.