Changeset 57807 in webkit


Ignore:
Timestamp:
Apr 19, 2010 2:05:53 AM (14 years ago)
Author:
tkent@chromium.org
Message:

2010-04-19 Kent Tamura <tkent@chromium.org>

Reviewed by Shinichiro Hamaji.

[DRT/Chromium] Fix a test initialization problem
https://bugs.webkit.org/show_bug.cgi?id=37791

  • DumpRenderTree/chromium/DumpRenderTree.cpp: (runTest): Call resetTestController() before runFileTest(). Some controllers initialize their fields in reset() and not in their constructors.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r57806 r57807  
     12010-04-19  Kent Tamura  <tkent@chromium.org>
     2
     3        Reviewed by Shinichiro Hamaji.
     4
     5        [DRT/Chromium] Fix a test initialization problem
     6        https://bugs.webkit.org/show_bug.cgi?id=37791
     7
     8        * DumpRenderTree/chromium/DumpRenderTree.cpp:
     9        (runTest): Call resetTestController() before runFileTest(). Some
     10          controllers initialize their fields in reset() and not in their
     11          constructors.
     12
    1132010-04-19  Kent Tamura  <tkent@chromium.org>
    214
  • trunk/WebKitTools/DumpRenderTree/chromium/DumpRenderTree.cpp

    r56963 r57807  
    5656    }
    5757    params.testUrl = webkit_support::CreateURLForPathOrURL(pathOrURL);
     58    shell.resetTestController();
    5859    shell.runFileTest(params);
    59     shell.resetTestController();
    6060}
    6161
Note: See TracChangeset for help on using the changeset viewer.