RESOLVED FIXED Bug 80567
LayoutTestHelper could get torn down earlier (mostly to reset color profile)
https://bugs.webkit.org/show_bug.cgi?id=80567
Summary LayoutTestHelper could get torn down earlier (mostly to reset color profile)
Tim Horton
Reported 2012-03-07 21:20:59 PST
LayoutTestHelper currently gets torn down when run-webkit-tests finally quits. However, if you have run-webkit-tests launch a browser to the results and wait on that instance, it could be a while before it's torn down. Since LayoutTestHelper is designed mostly to deal with setting up things required for generating consistent results, etc. (i.e. changing the display color space), it seems like it only needs to be alive while the tests are running. It would be nice if it were killed as soon as the last test was finished, before the browser with results is launched, so that the user's display can go back to its normal color space as soon as possible.
Attachments
Patch (5.40 KB, patch)
2012-03-21 13:58 PDT, Dirk Pranke
rniwa: review+
Tim Horton
Comment 1 2012-03-20 20:23:43 PDT
*** Bug 81731 has been marked as a duplicate of this bug. ***
Dirk Pranke
Comment 2 2012-03-21 13:07:40 PDT
makes sense.
Dirk Pranke
Comment 3 2012-03-21 13:08:20 PDT
On a mildly related note, I'm not actually sure why we wait for the browser to exit on the mac port. The chromium port doesn't; is this desired behavior?
Tim Horton
Comment 4 2012-03-21 13:18:10 PDT
(In reply to comment #3) > On a mildly related note, I'm not actually sure why we wait for the browser to exit on the mac port. The chromium port doesn't; is this desired behavior? Not at all; I assumed it happened on Chromium too!
Dirk Pranke
Comment 5 2012-03-21 13:58:26 PDT
Dirk Pranke
Comment 6 2012-03-21 17:20:13 PDT
Filed bug 81845 and uploaded a patch to not block on safari at the end ...
Dirk Pranke
Comment 7 2012-03-23 14:10:06 PDT
Note You need to log in before you can comment on or make changes to this bug.