Changeset 213270 in webkit


Ignore:
Timestamp:
Mar 1, 2017 11:20:12 PM (7 years ago)
Author:
pvollan@apple.com
Message:

[Win] DRT should not dispatch messages after test is done.
https://bugs.webkit.org/show_bug.cgi?id=169026

Reviewed by Brent Fulgham.

Exiting the message loop with PostQuitMessage will leave room for
a few messages to be dispatched after the test is done.

  • DumpRenderTree/win/DumpRenderTree.cpp:

(dump):
(runTest):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r213267 r213270  
     12017-03-01  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [Win] DRT should not dispatch messages after test is done.
     4        https://bugs.webkit.org/show_bug.cgi?id=169026
     5
     6        Reviewed by Brent Fulgham.
     7
     8        Exiting the message loop with PostQuitMessage will leave room for
     9        a few messages to be dispatched after the test is done.
     10
     11        * DumpRenderTree/win/DumpRenderTree.cpp:
     12        (dump):
     13        (runTest):
     14
    1152017-03-01  Myles C. Maxfield  <mmaxfield@apple.com>
    216
  • trunk/Tools/DumpRenderTree/win/DumpRenderTree.cpp

    r212945 r213270  
    744744fail:
    745745    // This will exit from our message loop.
    746     ::PostQuitMessage(0);
    747746    done = true;
    748747}
     
    12121211    frame->loadRequest(request.get());
    12131212
    1214     while (true) {
     1213    while (!done) {
    12151214#if USE(CF)
    12161215        CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, true);
Note: See TracChangeset for help on using the changeset viewer.