Changeset 66860 in webkit


Ignore:
Timestamp:
Sep 6, 2010 8:05:41 PM (14 years ago)
Author:
tkent@chromium.org
Message:

2010-09-06 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

[DRT/Chromium] Do not generate pixel results for text/plain resources
https://bugs.webkit.org/show_bug.cgi?id=45253

  • platform/chromium/drt_expectations.txt: Remove slow-utf8-text.pl failure.

2010-09-06 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

[DRT/Chromium] Do not generate pixel results for text/plain resources
https://bugs.webkit.org/show_bug.cgi?id=45253

  • DumpRenderTree/chromium/TestShell.cpp: (TestShell::dump): Clear shouldGeneratePixelResults flag for text/plain.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r66851 r66860  
     12010-09-06  Kent Tamura  <tkent@chromium.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        [DRT/Chromium] Do not generate pixel results for text/plain resources
     6        https://bugs.webkit.org/show_bug.cgi?id=45253
     7
     8        * platform/chromium/drt_expectations.txt: Remove slow-utf8-text.pl failure.
     9
    1102010-09-06  Justin Schuh  <jschuh@chromium.org>
    211
  • trunk/LayoutTests/platform/chromium/drt_expectations.txt

    r66810 r66860  
    117117BUG_DRT WIN : fast/harness/show-modal-dialog.html = TEXT
    118118BUG_DRT WIN : fast/text/stripNullFromText.html = IMAGE+TEXT
    119 BUG_DRT WIN MAC LINUX : http/tests/incremental/slow-utf8-text.pl = MISSING
    120119BUG_DRT WIN : plugins/embed-attributes-setting.html = TEXT
    121120BUG_DRT WIN : plugins/embed-attributes-style.html = IMAGE
  • trunk/WebKitTools/ChangeLog

    r66859 r66860  
     12010-09-06  Kent Tamura  <tkent@chromium.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        [DRT/Chromium] Do not generate pixel results for text/plain resources
     6        https://bugs.webkit.org/show_bug.cgi?id=45253
     7
     8        * DumpRenderTree/chromium/TestShell.cpp:
     9        (TestShell::dump): Clear shouldGeneratePixelResults flag for text/plain.
     10
    1112010-09-06  Ojan Vafai  <ojan@chromium.org>
    212
  • trunk/WebKitTools/DumpRenderTree/chromium/TestShell.cpp

    r65988 r66860  
    494494        return;
    495495    bool shouldDumpAsText = m_layoutTestController->shouldDumpAsText();
     496    bool shouldGeneratePixelResults = m_layoutTestController->shouldGeneratePixelResults();
    496497    bool dumpedAnything = false;
    497498    if (m_params.dumpTree) {
     
    503504            // Plain text pages should be dumped as text
    504505            string mimeType = frame->dataSource()->response().mimeType().utf8();
    505             shouldDumpAsText = mimeType == "text/plain";
     506            if (mimeType == "text/plain") {
     507                shouldDumpAsText = true;
     508                shouldGeneratePixelResults = false;
     509            }
    506510        }
    507511        if (shouldDumpAsText) {
     
    521525        m_printer->handleTextFooter();
    522526
    523     if (m_params.dumpPixels && m_layoutTestController->shouldGeneratePixelResults()) {
     527    if (m_params.dumpPixels && shouldGeneratePixelResults) {
    524528        // Image output: we write the image data to the file given on the
    525529        // command line (for the dump pixels argument), and the MD5 sum to
Note: See TracChangeset for help on using the changeset viewer.