Changeset 112552 in webkit


Ignore:
Timestamp:
Mar 29, 2012 11:27:41 AM (12 years ago)
Author:
loislo@chromium.org
Message:

Web Inspector: chromium: DRT --no-timeout option doesn't work.
https://bugs.webkit.org/show_bug.cgi?id=82608

Initial value for m_timeout was initialized in constructor and was overwritten in DRT::main.
This was broken by r112354 and the sequence became opposite.

Reviewed by Yury Semikhatsky.

  • DumpRenderTree/chromium/TestShell.cpp:

(TestShell::TestShell):
(TestShell::initialize):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r112506 r112552  
     12012-03-29  Ilya Tikhonovsky  <loislo@chromium.org>
     2
     3        Web Inspector: chromium: DRT --no-timeout option doesn't work.
     4        https://bugs.webkit.org/show_bug.cgi?id=82608
     5
     6        Initial value for m_timeout was initialized in constructor and was overwritten in DRT::main.
     7        This was broken by r112354 and the sequence became opposite.
     8
     9        Reviewed by Yury Semikhatsky.
     10
     11        * DumpRenderTree/chromium/TestShell.cpp:
     12        (TestShell::TestShell):
     13        (TestShell::initialize):
     14
    1152012-03-29  Vineet Chaudhary  <rgf748@motorola.com>
    216
  • trunk/Tools/DumpRenderTree/chromium/TestShell.cpp

    r112354 r112552  
    132132    WebRuntimeFeatures::enableStyleScoped(true);
    133133    WebRuntimeFeatures::enableScriptedSpeech(true);
     134
     135    // 30 second is the same as the value in Mac DRT.
     136    // If we use a value smaller than the timeout value of
     137    // (new-)run-webkit-tests, (new-)run-webkit-tests misunderstands that a
     138    // timed-out DRT process was crashed.
     139    m_timeout = 30 * 1000;
    134140}
    135141
     
    154160    } else
    155161        WebCompositor::initialize(0);
    156 
    157     // 30 second is the same as the value in Mac DRT.
    158     // If we use a value smaller than the timeout value of
    159     // (new-)run-webkit-tests, (new-)run-webkit-tests misunderstands that a
    160     // timed-out DRT process was crashed.
    161     m_timeout = 30 * 1000;
    162162
    163163    createMainWindow();
Note: See TracChangeset for help on using the changeset viewer.